Ollama MCP Server
JSON →Integrates Ollama's local LLM models with MCP-compatible applications. Requires a local Ollama installation.
Install
npm install -g ollama-mcp Tools · 13
- ollama_list List all available local models
- ollama_show Get detailed information about a specific model
- ollama_pull Download models from Ollama library
- ollama_push Push models to Ollama library
- ollama_copy Create a copy of an existing model
- ollama_delete Remove models from local storage
- ollama_create Create custom models from Modelfile
- ollama_ps List currently running models
- ollama_generate Generate text completions
- ollama_chat Interactive chat with models (supports tools/functions)
- ollama_embed Generate embeddings for text
- ollama_web_search Search the web with customizable result limits (requires OLLAMA_API_KEY)
- ollama_web_fetch Fetch and parse web page content (requires OLLAMA_API_KEY)
Environment variables
OLLAMA_API_KEYOLLAMA_HOST
Links
★ 160 GitHub stars