← Back to directory
O

Ollama MCP Server

Community
Use Ollama local and cloud models through MCP.
Category
Other #438 of 678
Stars
★ 181 Popular
Transport
stdio (local process)
Runtime
Node.js 16+
Credentials
Optional API key
License
AGPL-3.0
Last commit
Tools
13
48FMRS · D

The README names 13 tools, although its overview claims 14. The manifest was not cached, so tool details are based on the README.

Strongest · Setup experience 12/20 Weakest · Maintenance 7/20

Reliability
8/20
Security and permissions
9/20
Maintenance
7/20
Documentation
12/20
Setup experience
12/20
Why each score
Reliability 8/20
The README lists 14 tools, input validation, retry behavior, timeouts, and claims high test coverage. However, no manifest, source files, CI workflow, or committed tests are provided to verify MCP initialization and tool-list handshakes, tool implementations, or error paths. Scoring reflects the static evidence and stays within the 12-point reliability cap.
Security and permissions 9/20
The documentation says the server connects to local Ollama by default and accepts a cloud API key through an environment variable; cloud search and fetch contact ollama.com, while tools such as push and delete have side effects. The supplied evidence does not explain permission scope, confirmation for dangerous operations, data boundaries, or credential protections. No red-line behavior is evident from the supplied material, but the missing implementation limits assessment.
Maintenance 7/20
The repository is reported as unarchived, has an AGPL-3.0 license, 181 stars, and one open issue; stars are discovery signals only. The supplied material has no release history, commit activity, issue response, security reporting channel, or clear maintenance process to establish sustained upkeep.
Documentation 12/20
The README provides Claude Desktop and Cline configuration examples, environment variables, tool names and summaries, usage examples, and retry behavior. It is useful for basic setup, but full tool parameters, rate or usage limits, costs, privacy data flows, and troubleshooting are not sufficiently covered, and the claims cannot be checked against implementation.
Setup experience 12/20
The README gives npx configuration examples for Claude Desktop and Cline, plus global installation and Ollama host and API key settings. It does not establish version pinning, detailed client and platform compatibility, or verifiable build or connection success. Scoring follows the static calibration and remains within the 15-point setup cap.

Static review · not runReviewed 2026-11-29

Read the FMRS scoring method →

Fit and risk

What it can accessUses the network

Best for

  • Users who already run Ollama and want to access its functionality from an MCP client.
  • Users who need local model operations and may also enable Ollama Cloud web tools.

Not for

  • Users without an accessible Ollama server who do not plan to configure Ollama Cloud.
  • Users who need model hosting or web capabilities not described in the README.

Required permissions

  • Needs to connect to the configured Ollama server; available model operations include downloading, pushing, creating, and deleting models.
  • Web search and fetch require an Ollama Cloud API key; cloud models also require appropriate cloud configuration.
  • Server configuration can set OLLAMA_HOST and OLLAMA_API_KEY.

Risks and side effects

  • Downloading, pushing, creating, or deleting models changes local storage or remote state; check the operation and target before invoking it.
  • Cloud models and web tools involve Ollama Cloud; fetched web content may be inaccurate or untrusted.
  • API keys are sensitive credentials and should be configured and stored carefully.

Setup

Before you start

Runtime:Node.js 16+

OLLAMA_API_KEY optionalsecret Ollama Cloud API key; sign up at Ollama's website to get one. Required for web search, web fetch, and cloud models.
Other optional settings (1)
OLLAMA_HOST optional Ollama server endpoint; defaults to `http://127.0.0.1:11434`, or set it to `https://ollama.com` for cloud use.

Add the provided JSON to your MCP client configuration. The default connection address is http://127.0.0.1:11434; set OLLAMA_HOST to use another Ollama server. For cloud models or web tools, configure OLLAMA_HOST=https://ollama.com and OLLAMA_API_KEY as needed.

claude_desktop_config.json
{"mcpServers":{"ollama":{"command":"npx","args":["-y","ollama-mcp"]}}}

Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "ollama": {
      "command": "npx",
      "args": [
        "-y",
        "ollama-mcp"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.ollama]
command = "npx"
args = ["-y", "ollama-mcp"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add ollama -- npx -y ollama-mcp

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm that `ollama_list` and `ollama_chat` appear in the MCP tool list in your client. Ask it to list available models to check the connection.

Troubleshooting

  1. Check that Ollama is running and OLLAMA_HOST points to a reachable server; the default is http://127.0.0.1:11434.
  2. For cloud models or web tools, check that OLLAMA_HOST and OLLAMA_API_KEY are set correctly.
  3. For rate limits or temporary service errors, the README says web tools retry; other client errors are not retried.

Things to try

Once connected, you can ask your AI assistant things like:

  • List the available Ollama models.
  • Use llama3.2:latest to explain quantum computing.
  • Search for the latest AI developments and return up to five results.
  • Fetch and parse a page from the Ollama website.

Tools 13

ollama_list read-only
List all available local models.
ollama_show read-only
Get detailed information about a specified model.
ollama_pull writes
Download models from the Ollama library.
ollama_push writes
Push models to the Ollama library.
ollama_copy writes
Copy an existing model.
ollama_delete destructive
Remove models from local storage.
ollama_create writes
Create a custom model from a Modelfile.
ollama_ps read-only
List currently running models.
Show 5 more tools
ollama_generate read-only
Generate text completions.
ollama_chat read-only
Chat with models, with support for tools or functions.
ollama_embed read-only
Generate embeddings for text.
ollama_web_search read-only
Search the web through Ollama Cloud; requires an API key.
ollama_web_fetch read-only
Fetch and parse web page content through Ollama Cloud; requires an API key.

Use cases

Manage Ollama models from an MCP-compatible client.
Use local Ollama models for chat, text generation, and embeddings.
Search the web and fetch page content after configuring Ollama Cloud.

Supported clients

Claude Desktop
Cline

Listed from the project's documentation, not tested by this site.

Overview

Ollama MCP Server exposes Ollama SDK functionality as MCP tools, including model management, text generation, chat, embeddings, and web search and fetch that require an Ollama Cloud API key. The README provides configuration examples for Claude Desktop and Cline.

Similar servers

Source revision c11354c24d68 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/rawveg-ollama-mcp.svg)](https://followmcp.com/en/servers/rawveg-ollama-mcp)