MCP Servers / development / Ollama MCP Server

Ollama MCP Server

JSON →
none160development

Integrates Ollama's local LLM models with MCP-compatible applications. Requires a local Ollama installation.

Install
How to run this server
[ { "cmd": "npm install -g ollama-mcp", "imports": [] } ]
server path: ollama-mcp-server-3
Tools
What this server exposes
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)
Configuration
Environment & auth
authnone
envOLLAMA_API_KEY
envOLLAMA_HOST
Resources
Ollama MCP Server — MCP Server · libregistry