Skip to content
Grok

ask ollama for Grok

io.github.lykhoyda/ask-ollama

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

client:Grok transport:stdio runtime:npm

Install ask ollama in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "ask-ollama": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ask-llm/ollama-mcp"
      ],
      "env": {
        "OLLAMA_HOST": "<OLLAMA_HOST>",
        "GMCPT_TIMEOUT_MS": "<GMCPT_TIMEOUT_MS>",
        "GMCPT_LOG_LEVEL": "<GMCPT_LOG_LEVEL>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

ask ollama in other clients