← Back to browse

ask-ollama

Indexed by io.github.Lykhoyda

About

Bridge Claude with local Ollama LLMs for private AI-to-AI collaboration — no API keys, fully local

Use this server

Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.

Transportstdio (runs a local command)
Env varsOLLAMA_HOST GMCPT_TIMEOUT_MS GMCPT_LOG_LEVEL
Claude Code
claude mcp add --env OLLAMA_HOST= --env GMCPT_TIMEOUT_MS= --env GMCPT_LOG_LEVEL= ask-ollama -- npx @ask-llm/ollama-mcp
Cursor

Add to Cursor

If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.

VS Code
code --add-mcp '{"name":"ask-ollama","command":"npx","args":["@ask-llm/ollama-mcp"],"env":{"OLLAMA_HOST":"","GMCPT_TIMEOUT_MS":"","GMCPT_LOG_LEVEL":""}}'
JSON
{
  "mcpServers": {
    "ask-ollama": {
      "command": "npx",
      "args": [
        "@ask-llm/ollama-mcp"
      ],
      "env": {
        "OLLAMA_HOST": "",
        "GMCPT_TIMEOUT_MS": "",
        "GMCPT_LOG_LEVEL": ""
      }
    }
  }
}

Environment variables are listed by name only — fill in your own values. Entries never carry secrets.