localmodels
Provides tools for interacting with a locally running Ollama server, including listing installed and running models, showing, pulling, deleting, and copying models, generating text completions, chatting with models, creating embeddings, and retrieving the Ollama version.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
localmodels
localmodels puts a locally running Ollama server behind an MCP interface (with a matching CLI). List what is installed, pull or remove models, inspect one, then generate, chat, or embed — all against models that run on your own machine.
There is no API key and no account. The server address comes from
OLLAMA_HOST and defaults to http://127.0.0.1:11434. A value
without a scheme gets http:// in front of it, and trailing slashes
are ignored. If no Ollama server is reachable, calls fail with the
underlying connection error — they never invent an empty result.
Install
npx @reneturcios/localmodels list
docker run -i ghcr.io/cloudcorprecords/localmodelsIn a container, point OLLAMA_HOST at the host (for example with
host networking), since 127.0.0.1 inside the container is the
container itself.
Related MCP server: mcp-server
CLI
localmodels list
localmodels show llama3.2
localmodels pull qwen2.5
localmodels delete old:model
localmodels copy llama3.2 my-llama
localmodels generate llama3.2 "Write a haiku about autumn"
localmodels chat llama3.2 "Hello!"
localmodels embed nomic-embed-text "some text to embed"
localmodels running
localmodels version
localmodels --versionExit codes: 0 success, 1 server/lookup error, 2 usage error.
MCP server
npx -y @reneturcios/localmodels mcp{
"mcpServers": {
"localmodels": {
"command": "npx",
"args": ["-y", "@reneturcios/localmodels", "mcp"],
"env": { "OLLAMA_HOST": "http://127.0.0.1:11434" }
}
}
}The env block is optional; the default address is used without it.
Tools
Tool | Input | Upstream route |
| — |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| — |
|
| — |
|
Development
npm install
npm run build
npm test
npm run devTests run entirely on fake-fetch fixtures; no live Ollama server is required or contacted.
License
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
Chat, image, video, and audio models from many vendors behind one remote MCP server and one key.
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
Talk to your public-facing AI from any MCP client — Claude, ChatGPT, Cursor, Cline, Windsurf.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables seamless integration between Ollama's local LLM models and MCP-compatible applications, supporting model management and chat interactions.13882 npm176AGPL 3.0
- AlicenseNot gradedqualityAmaintenanceExposes local Ollama as an MCP server so Claude can delegate drafting, summarization, translation, code review, error explanation, model listing, health checks, and file reading to local models via stdio or HTTP.430 npm1Apache 2.0
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible clients to manage, run, chat with, generate from, and embed using local or cloud LLMs, plus perform web search and fetch through Ollama Cloud.882 npmAGPL 3.0
- AlicenseNot gradedqualityAmaintenanceEnables MCP-compatible clients to access local or cloud LLMs, manage and run models, generate completions and embeddings, chat with tool/function support, and use web search/fetch through Ollama Cloud.882 npmAGPL 3.0