Ollama MCP Server enables local LLM access for AI assistants. Operations teams benefit from integrating local models with AI agents. Connects to Claude, Cursor, and other AI tools for secure, private AI operations.
git clone https://github.com/rawveg/ollama-mcp.gitOllama MCP Server connects your local language models to Claude Desktop, Cursor, Cline, and other MCP-compatible AI assistants through the Model Context Protocol. It exposes 14 tools covering model management, text generation, chat interactions with tool/function support, embeddings, and web operations. The server supports both local Ollama instances and Ollama Cloud, enabling hybrid deployment where you run local models privately while accessing cloud-only features like web search and content fetching. With zero dependencies, TypeScript type safety, 96% test coverage, and automatic tool discovery, it provides a secure, performant bridge between your AI agents and Ollama models without leaving your infrastructure.
["Install and configure the ollama-mcp server on your local machine. Follow the [official Ollama MCP documentation](https://github.com/ollama/ollama-mcp) to set up the server and ensure it’s running.","In your AI assistant (e.g., Claude, Cursor), enable the ollama-mcp server as a tool. For Claude, add it to your `claude_desktop_config.json` under the `mcpServers` section.","Use the prompt template to craft your request. Replace [TASK] with your specific goal (e.g., 'analyze,' 'summarize,' or 'generate'). Include [PLACEHOLDERS] like file paths, models, or context.","Execute the command or query in your AI assistant. Monitor the output for accuracy and refine your prompt if needed. For complex tasks, break them into smaller steps.","For iterative workflows, save frequently used prompts as templates in your AI assistant’s custom instructions or a notes file to streamline future use."]
Run private AI workflows with local models integrated into Claude and Cursor
Build AI agent systems that generate text, chat, and create embeddings using Ollama
Enable web search and content fetching for AI assistants while keeping model inference local
Manage and deploy custom models to AI agents through Ollama library integration
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/rawveg/ollama-mcpCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Use the ollama-mcp server to [TASK] with a local LLM. Example: 'Summarize the contents of [FILE_PATH] using the ollama-mcp server with the mistral model. Provide a 3-bullet-point summary and highlight any action items.'
### Summary of /workspace/docs/quarterly_report.md (Mistral Model via Ollama MCP) **Key Findings:** - Revenue grew 12% YoY to $14.2M, driven by strong enterprise adoption in the EMEA region (up 18% vs. Q3). - Customer churn improved to 3.2% (down from 4.1% last quarter), with enterprise accounts showing the highest retention. - Product usage data reveals a 22% increase in daily active users for the AI assistant feature, indicating high engagement. **Action Items:** - Schedule a follow-up with the EMEA sales team to discuss enterprise adoption strategies for Q1. - Review churn reduction initiatives with the customer success team, focusing on enterprise accounts. - Prepare a demo for the product team highlighting the AI assistant feature’s growth and user feedback. *Model used: mistral (via ollama-mcp server)* *File processed: /workspace/docs/quarterly_report.md*
Run large language models locally on your machine
Get more done every day with Microsoft Teams – powered by AI
Automate security compliance and monitor real-time security posture seamlessly.
Automate your spreadsheet tasks with AI power
Agentic AI Workflow platform
Connected workspace for docs, wikis, and projects
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan