trackmcp
Back to directory
vincentf305

mcp-server-ollama

View on GitHub

MCP server for connecting Claude Desktop to Ollama LLM server

10 stars PythonAI & Machine Learning Updated Oct 23, 2025

Documentation

MCP Server for Ollama

A Model Control Protocol server that allows Claude Desktop to communicate with Ollama LLM server.

Setup

1. Clone the repository

2. Copy `.env.example` to `.env` and configure as needed

3. 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:

json
{
  "mcpServers": {
    "ollama-server": {
      "command": "python",
      "args": ["-m", "src.mcp_server.server"],
      "env": {
        "PYTHONPATH": "path-to-mcp-server"
      }
    }
  }
}

Frequently asked questions

What is mcp-server-ollama?

mcp-server-ollama is MCP server for connecting Claude Desktop to Ollama LLM server

How do I install mcp-server-ollama?

Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.

Is mcp-server-ollama open source?

Yes — it is hosted on GitHub at https://github.com/vincentf305/mcp-server-ollama and has 10 stars.

Related MCP tools

Run your own MCP server? See who uses it and what to fix.

Measure it with TrackMCP