VM 

vincentf305/mcp-server-ollama
Developer tools18 stars 7 forks Quality 48 Trend 22
MCP server for connecting Claude Desktop to Ollama LLM server
Overview
A Model Control Protocol server that allows Claude Desktop to communicate with Ollama LLM server. 1. Clone the repository 2. Copy .env.example to .env and configure as needed 3. Install dependencies: pip install -r requirements.txt Edit the claude_desktop_config.json file with the following content, change path-to-mcp-server to the path of this repo:
README
MCP Server for Ollama
A Model Control Protocol server that allows Claude Desktop to communicate with Ollama LLM server.
Setup
- Clone the repository
- Copy
.env.exampleto.envand configure as needed - Install dependencies:
pip install -r requirements.txt
Using with Claude Desktop
Edit the claude_desktop_config.json file with the following content, change path-to-mcp-server to the path of this repo:
{
"mcpServers": {
"ollama-server": {
"command": "python",
"args": ["-m", "src.mcp_server.server"],
"env": {
"PYTHONPATH": "path-to-mcp-server"
}
}
}
}
Install
This server does not publish a one-line install command.
Open the repository installation guide New to MCP? Start with the mcpskill.org guide →Configuration
{
"mcpServers": {
"ollama-server": {
"command": "python",
"args": ["-m", "src.mcp_server.server"],
"env": {
"PYTHONPATH": "path-to-mcp-server"
}
}
}
}