
Ask Ollama
Let Claude Code call local Ollama models for a second opinion, drafting, or offline inference without cloud API keys.
Overview
ask-ollama is a Build-phase MCP server that lets your agent query local Ollama models for private AI-to-AI collaboration without cloud API keys.
What is this MCP server?
- Stdio MCP bridge to Ollama at configurable OLLAMA_HOST (default http://localhost:11434)
- No third-party API keys—runs entirely against your local Ollama install
- Configurable GMCPT_TIMEOUT_MS (default 300000 ms) and GMCPT_LOG_LEVEL
- npm package ask-ollama-mcp v0.3.5 for Claude Desktop / Claude Code MCP config
- Version 0.3.5
- Default OLLAMA_HOST http://localhost:11434
- Default timeout 300000 ms (5 minutes)
Community signal: 10 GitHub stars.
What problem does it solve?
You want a second LLM in the loop for drafting or review but refuse to ship sensitive code or ideas to a remote API.
Who is it for?
Indie developers running Ollama on a laptop or homelab who want MCP-native local model calls from Claude Code or Claude Desktop.
Skip if: Teams that need managed cloud models, multi-user routing, or Ollama features this thin bridge does not expose.
What do I get? / Deliverables
After registration, your agent can invoke Ollama-backed tools so local models answer alongside Claude with stays-on-machine privacy.
- MCP tools that forward agent prompts to Ollama
- Configurable local host and timeout for long runs
Recommended MCP Servers
Journey fit
How it compares
Local LLM MCP bridge, not a hosted chat API or a prompt-engineering skill.
Common Questions / FAQ
Who is ask-ollama for?
Builders using Claude with MCP who already run Ollama and want extra local model turns without API billing or data leaving the machine.
When should I use ask-ollama?
Use it during Build when you want offline or privacy-sensitive delegation—drafts, classifications, or alternate phrasing—from a local model.
How do I add ask-ollama to my agent?
Install the npm package ask-ollama-mcp, start Ollama, set OLLAMA_HOST if not default, and add a stdio MCP server entry in Claude Code or Claude Desktop config.