MCP Client for Ollama (ollmcp) CLI
A terminal MCP client for local Ollama models: MCP tools, prompts and resources, an agent mode and model switching
- 836 ★ on the repository
- Last commit
- MIT
Extended access
Why this level
- Runs tools from connected MCP servers
- Can execute model-suggested actions, with human confirmation available
Install
In your terminal, with SkillFoxx CLI
npx skillfoxx add cli/mcp-client-for-ollama-ollmcpDetects the agents on your machine, shows the access level and pins the version.
Other ways to install
Access and checks
How we reviewExtended accessThe tool runs code or makes network calls and only reads external data.
- Runs tools from connected MCP servers
- Can execute model-suggested actions, with human confirmation available
This is third-party code. Review the repository files before installing.
What it does
ollmcp is a terminal client that lets local Ollama models work with MCP servers and run tools. It supports all core MCP primitives: tools, prompts and resources, plus an agent mode, connecting several servers at once, model switching, streaming responses, human-in-the-loop confirmation, a thinking mode, model parameter config, system prompts and saved preferences. The stdio, SSE and streamable HTTP transports let you connect different servers. It installs from PyPI as ollmcp, servers are added with ollmcp mcp add, and the interface is a text UI with commands like /help. It runs on Windows, macOS and Linux.
Who it is for. For developers who want to connect MCP servers to local Ollama models straight from the terminal.
Good fit when
- You work with local models via Ollama and want MCP tools
- You need a client with an agent mode and action confirmation
- You need to connect several MCP servers at once
Not a fit when
- You do not use Ollama and local models
- You need a graphical interface, not a terminal
Example request
Connect the playwright MCP server and let the local model run browser actionsLimitations
The client targets Ollama and local models and is not meant for cloud models. It needs Python 3.11 and Ollama installed with a model pulled. Tool capabilities depend on the connected MCP servers and on how well the model calls tools.
How to disable. Remove the ollmcp package: uv tool uninstall ollmcp or pip uninstall ollmcp.
FAQ
Which transports are supported?
stdio, SSE and streamable HTTP, and you can connect several servers at once.
Do I need cloud access?
No, the client works with local models via Ollama.
Discussion
No questions or reviews yet.
Related
CLI toolsA proxy in front of the Ollama API that adds tools from several MCP servers, so any client gets them with no code changes.
A CLI to run LLM prompts and act as an MCP client from the terminal, with any MCP server and any model provider
A TypeScript terminal bridge: a local Ollama model calls tools across several MCP servers at once (files, email, search) based on the request text
Ollaya skill and MCP server: an agent puts typed questions to local decision models and gets probabilities with no LLM call
oterm is a terminal chat for Ollama, OpenAI, Anthropic and other providers: SQLite-stored sessions, MCP servers, built-in and custom tools
A universal MCP CLI client from Apify: persistent sessions, OAuth, JSON output for scripts and shell access to any MCP server for agents
Comparison with similar tools
Cards that share the main search query, and how they differ.
| Tool | Official | Authentication | Repository stars | Main difference |
|---|---|---|---|---|
| MCP Client for Ollama (ollmcp) (this card) | no | 836 | ||
| MCP-LLM Bridge | no | key is optional | 984 | a TypeScript terminal bridge |
| Ollama | yes | 186,733 | Ollama runs open models on your own machine and serves them to agents |
README in short
The README describes ollmcp as a terminal MCP client for local Ollama models with the full set of primitives: tools, prompts and resources. It has an agent mode, multi-server connections, model switching, streaming responses, action confirmation, a thinking mode and saved preferences. The stdio, SSE and streamable HTTP transports are supported. Install is via uv or pip as ollmcp, and servers are added with ollmcp mcp add. It runs on Windows, macOS and Linux. MIT licensed.