Skip to main content

MCP Ollama

A Model Context Protocol (MCP) server for integrating Ollama with Claude Desktop or other MCP clients.

Ollama Server MCP server

Requirements

  • Python 3.10 or higher
  • Ollama installed and running (https://ollama.com/download)
  • At least one model pulled with Ollama (e.g., ollama pull llama2)

Configure Claude Desktop

Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):

{
  "mcpServers": {
    "ollama": {
      "command": "uvx",
      "args": [
        "mcp-ollama"
      ]
    }
  }
}

Development

Install in development mode:

git clone https://github.com/yourusername/mcp-ollama.git
cd mcp-ollama
uv sync

Test with MCP Inspector:

mcp dev src/mcp_ollama/server.py

Features

The server provides four main tools:

  • list_models - List all downloaded Ollama models
  • show_model - Get detailed information about a specific model
  • ask_model - Ask a question to a specified model

License

MIT

Metadata

Release files for iflow-mcp_mcp-ollama 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for iflow-mcp_mcp-ollama 0.1.3
File Size Uploaded Provenance Actions
iflow_mcp_mcp_ollama-0.1.3.tar.gz 43.4 kB Without provenance Details for iflow_mcp_mcp_ollama-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for iflow-mcp_mcp-ollama 0.1.3
File Interpreter ABI Platform Actions
iflow_mcp_mcp_ollama-0.1.3-py3-none-any.whl Python 3 none any Details for iflow_mcp_mcp_ollama-0.1.3-py3-none-any.whl

Total release size: 48.4 kB

Release files / iflow_mcp_mcp_ollama-0.1.3.tar.gz

Download URL iflow_mcp_mcp_ollama-0.1.3.tar.gz
Size 43.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b37d20650cc8cffbc4c40cc5a037b070e488a76de50b9aa2abbe23c3d60aa246
BLAKE2b-256 checksum
How to use checksums
0b929b8ae944f4d8bbe5c168bc999ec92196da90b5af4d502ff05bf15b10bc33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.8

Release files / iflow_mcp_mcp_ollama-0.1.3-py3-none-any.whl

Download URL iflow_mcp_mcp_ollama-0.1.3-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ee014c61ce46fbe4e1514ee17ada63e8fdab7a5e2ea95c51a599f5ac9d591b6
BLAKE2b-256 checksum
How to use checksums
5dd1c0f32170aa47c8c92b5ba7c8699d4294c9bfb030eb44d406d6ba3d176d18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.8

Security for iflow-mcp_mcp-ollama 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page