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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that gives your AI access to the source code and docs of all public github repos
Shared memory MCP server for Claude Code, Codex, Gemini CLI and Cursor. Cited, editable.
Cloud-hosted MCP server for durable AI memory
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
Related MCP Servers
- AlicenseAqualityCmaintenanceLocal-first MCP server that gives any AI coding agent per-project memory, workflow intelligence, and always-on, lossless token & context optimization.3765 npm6MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that reduces token usage by injecting graph-ranked repo maps, decision logs, and diff-only output into AI coding tool requests.2MIT
- AlicenseNot gradedqualityCmaintenanceAn 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.94 npm4MIT
- FlicenseNot gradedqualityDmaintenanceAn 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.-