Ollama MCP
AIstdio
A self-contained MCP server for managing local Ollama models with no external dependencies. Agents can list installed models, pull or remove them, start and stop the Ollama server, run local completions, and use a model-advisor tool that recommends which locally available model best fits a given task.
Connect
Add this configuration to .claude/mcp.json
{
"mcpServers": {
"ollama": {
"command": "npx",
"args": [],
"env": {
"OLLAMA_HOST": "<YOUR_OLLAMA_HOST>"
}
}
}
}Tools (3)
list_local_models
List models currently installed in the local Ollama instance.
{
"type": "object",
"properties": {}
}pull_model
Download a model into the local Ollama instance.
{
"type": "object",
"required": [
"model"
],
"properties": {
"model": {
"type": "string",
"description": "Model name to pull (e.g. llama3.1:8b)"
}
}
}run_completion
Run a prompt against a local Ollama model.
{
"type": "object",
"required": [
"model",
"prompt"
],
"properties": {
"model": {
"type": "string",
"description": "Local model name"
},
"prompt": {
"type": "string",
"description": "Prompt text"
}
}
}Resources
This server does not expose any resources.
Prompts
This server does not expose any prompts.
Server information
- License
- MIT
- Stars
- 0
- Last updated
- August 3, 2026