Ollama MCP
Verified · npm:ollama-mcpMCP server by rawveg · updated · ★ 175 · 561 downloads a week
MCP server for Ollama - exposes all Ollama SDK functionality through MCP tools Ollama MCP is published by npm:ollama-mcp from its verified domain in the official MCP Registry.
Last commit 69 days ago
AGPL-3.0: copyleft, check the terms before using it in a product
Clear description, published package or server URL, 175 stars, original repository
No risky patterns in the files we checked
Install Ollama MCP
Built from the published package, never by AIclaude mcp add ollama-mcp -- npx -y ollama-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"ollama-mcp": {
"command": "npx",
"args": [
"-y",
"ollama-mcp"
]
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"ollama-mcp": {
"command": "npx",
"args": [
"-y",
"ollama-mcp"
]
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"ollama-mcp": {
"command": "npx",
"args": [
"-y",
"ollama-mcp"
]
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add ollama-mcp -- npx -y ollama-mcp{
"mcpServers": {
"ollama-mcp": {
"command": "npx",
"args": [
"-y",
"ollama-mcp"
]
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add ollama-mcp npx -y ollama-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the ollama-mcp block.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Ollama MCP
All alternatives →Start Claude Code and Codex agents the person can watch, wait for them and read their answers.
Publish and discover MCP servers via the official MCP Registry. Powered by HAPI MCP server.
Provide your AI coding tools with token-efficient access to up-to-date technical documentation for…
Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
Give your AI agents trusted access to the full Postman platform.
Agent-Native design tool - create and edit visual designs with agent assistance
Ollama MCP: common questions
How do I install Ollama MCP?
In Claude Code run claude mcp add ollama-mcp -- npx -y ollama-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Ollama MCP the official server?
Ollama MCP is published by npm:ollama-mcp from its verified domain in the official MCP Registry.
Is Ollama MCP free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is Ollama MCP safe to use?
It scores 73 of 100. Grades: maintenance B, licence C, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Ollama MCP?
Similar MCP servers: Harness, MCP Registry Server, ref-tools-ref-tools-mcp, Microsoft Learn MCP.
Does Ollama MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
