ollama-mcp
Provides tools for generating code, commit messages, documentation, task classification, file summarization, and issue triage using local Ollama models with VRAM-aware model selection.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@ollama-mcpdraft a basic Express.js route handler for a user API"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
ollama-mcp
VRAM-aware MCP server that offloads token-heavy development tasks to local Ollama models, saving API tokens for complex reasoning.
Tools
Tool | Description |
| Generate boilerplate and scaffolding |
| Write commit messages from diffs |
| Draft documentation and prose |
| Auto-route work to the right agent type |
| Summarize unfamiliar source files |
| Classify and prioritize issues |
| List available Ollama models |
| Check for model updates |
| Show current configuration |
Related MCP server: token-diet
VRAM Management
The server monitors GPU memory via nvidia-smi and selects models based on available VRAM. Models are loaded on demand.
Setup
npm installRequires Ollama running locally with models pulled.
Usage
npm startConfigure in Claude Code MCP settings:
{
"mcpServers": {
"ollama": {
"command": "node",
"args": ["/path/to/ollama-mcp/index.js"]
}
}
}Tech Stack
Node.js (>=18)
@modelcontextprotocol/sdkZod for schema validation
Ollama API for local model inference
nvidia-smifor VRAM monitoring
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenanceLocal-first MCP server that gives any AI coding agent per-project memory, workflow intelligence, and always-on, lossless token & context optimization.Last updated375591MIT
- Alicense-qualityBmaintenanceAn MCP server that reduces token usage by injecting graph-ranked repo maps, decision logs, and diff-only output into AI coding tool requests.Last updated1MIT
- Alicense-qualityAmaintenanceAn MCP server that reduces AI coding agent token usage by 80-99% through a queryable knowledge graph of code, change tracking, and persistent memory across sessions.Last updated4031MIT
- Flicense-qualityCmaintenanceAn MCP server that lets AI agents delegate domain-specific tasks to local Ollama models, using purpose-built specialists for structured tasks like config generation, parsing, and validation.Last updated
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Cloud-hosted MCP server for durable AI memory
A MCP server built for developers enabling Git based project management with project and personal…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/DTG404/ollama-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server