Bridge Claude with local Ollama LLMs for private AI-to-AI collaboration — no API keys, fully local
npx -y ask-ollama-mcp{
"OLLAMA_HOST": "http://localhost:11434",
"GMCPT_TIMEOUT_MS": "300000",
"GMCPT_LOG_LEVEL": "warn"
}Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
{
"mcpServers": {
"io-github-lykhoyda-ask-ollama": {
"command": "npx",
"args": [
"-y",
"ask-ollama-mcp"
],
"env": {
"OLLAMA_HOST": "http://localhost:11434",
"GMCPT_TIMEOUT_MS": "300000",
"GMCPT_LOG_LEVEL": "warn"
}
}
}
}~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonNo remote HTTP endpoint is advertised. Use the package or stdio setup shown in Install.
ask-ollama is an MCP server for Bridge Claude with local Ollama LLMs for private AI-to-AI collaboration — no API keys, fully local. It supports STDIO transport.
Use the generated config in Install. This server runs with npx -y ask-ollama-mcp; add any required environment variables before starting your client.
Choose the Claude Desktop tab in Install and copy the config for npx -y ask-ollama-mcp. Add required environment variables before starting Claude Desktop.
Choose the Claude Code tab in Install and copy the config for npx -y ask-ollama-mcp. Add required environment variables before starting Claude Code.
Choose the Codex tab in Install and copy the config for npx -y ask-ollama-mcp. Add required environment variables before starting Codex.
Choose the Cursor or VS Code tab in Install and copy the config for npx -y ask-ollama-mcp. Add required environment variables before starting Cursor or VS Code.
ask-ollama uses STDIO transport. Use the package or command config in Install.
ask-ollama inventory is listed when the MCP endpoint exposes tools, resources, or prompts. Some servers require auth first.
ask-ollama does not advertise a verified auth requirement. If discovery fails, it may still need provider login, an API key, a bearer token, or a session header.
| Package | Registry | Version | Inputs |
|---|---|---|---|
ask-ollama-mcpstdio | npm | 0.3.1 | Env: OLLAMA_HOST Env: GMCPT_TIMEOUT_MS Env: GMCPT_LOG_LEVEL |