Home / Ollama docs MCP / Setup guides / Claude Code
How to add the Ollama docs MCP server to Claude Code
Server URL: https://docs.ollama.com/mcp
Sign-in: No sign-in. Paste the URL and it connects.
Our hands-on result: Partial 5 of 6 tasks passed, tested Oct 17, 2026 with MCP TypeScript SDK (reference client).
Claude Code setup
claude mcp add --transport http ollama-docs https://docs.ollama.com/mcp- Run the command, then run claude mcp get ollama-docs to confirm it connected.
We ran the hands-on test in a reference client, not in Claude Code. This config follows Claude Code's documented format for remote (Streamable HTTP) servers. If it fails for you, tell us and we will retest.
Same server, other clients
- Ollama docs MCP in Claude
- Ollama docs MCP in Cursor
- Ollama docs MCP in VS Code
- Ollama docs MCP in ChatGPT
Full Ollama docs test report | Compare all tested connectors | Connector Weather