ask-ollama
MCP server by Lykhoyda Community
Ask LLM lets coding assistants ask a model from another vendor, including local Ollama models, to review changes or challenge a plan. It is aimed at individual developers and small teams who already pay for a model subscription.
Install ask-ollama
Built from the published package, never by AI.
claude mcp add ask-ollama -- npx -y @ask-llm/ollama-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"ask-ollama": {
"args": [
"-y",
"@ask-llm/ollama-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"ask-ollama": {
"args": [
"-y",
"@ask-llm/ollama-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"ask-ollama": {
"args": [
"-y",
"@ask-llm/ollama-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add ask-ollama -- npx -y @ask-llm/ollama-mcp{
"mcpServers": {
"ask-ollama": {
"args": [
"-y",
"@ask-llm/ollama-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add ask-ollama npx -y @ask-llm/ollama-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the ask-ollama block.
About
Ask LLM, published as the @ask-llm/mcp package and listed here as ask-ollama, lets a coding assistant ask a model from a different vendor to review your changes or challenge your plan. The review runs inside your session, so you do not need copy-paste. Supported providers include Codex, Claude, Grok, Antigravity, Ollama and Gemini. Ollama runs local models on your machine and is one of six providers, not the whole tool.
Setup uses npm i -g @ask-llm/mcp followed by ask-llm setup, which asks you to confirm each detected host and workflow. Supported hosts include Claude Code, Codex, Cursor, Gemini CLI and Claude Desktop. The project is aimed at individual developers and small teams who already use a coding assistant and pay for another model subscription. Reviews use read-only provider controls, and Ask LLM sends no telemetry.
Written from the project's README and checked against it.
Tools it gives your assistant
Code review by another modelAsks a model from a different vendor to review your changes for bugs and security issues.Plan critiqueAsks a second model to challenge a plan and point out assumptions that could fail.Ollama providerConsults local models running on your machine through Ollama.Guided setupRuns ask-llm setup to confirm detected hosts and workflows before any changes apply.
What you need
- Node.js 24+
- Linux or macOS
- A coding assistant such as Claude Code
- Local Ollama models on your machine
| Setting | Needed | What it is |
|---|---|---|
OLLAMA_Environment variable | Optional | Ollama server address (default: http://localhost:11434) Default: http://localhost:11434 |
GMCPT_Environment variable | Optional | Timeout for Ollama execution in milliseconds (default: 300000 = 5 minutes) Default: 300000 |
GMCPT_Environment variable | Optional | Log verbosity: debug, info, warn, error (default: warn) Default: warn |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Ask Ollama to review my staged changes for bugs and missing error handling
- Ask Claude to challenge this plan and list assumptions that could fail
- Ask Codex to review src/auth.ts for security issues
Good to know
- Ollama is one of several providers; other providers need their own authenticated accounts.
- Agreement between models is not proof of correctness; validate findings against the code.
- Grok's xAI API option is separate, metered and requires an API key.
- Antigravity execution is off by default and has no read-only guarantee after opt-in.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to ask-ollama
All alternatives →Oh My Posh Validator is listed as an MCP server, but the source is the README for oh-my-posh, a cross platform prompt theme engine. It does not describe an MCP server, tools, or schema validation.
Sim is a workspace for building, deploying and managing AI agents and workflows. Its MCP server lets Claude, Claude Code, Codex or another MCP client manage workspaces, workflows, tables, knowledge bases, files and logs.
Omnara deploys durable AI agents on any model and any machine. It is an open-source, self-hostable managed agent platform under Apache 2.0, with a REST API, TypeScript SDK, CLI, and MCP server.
Strata is an MCP server from Klavis AI for progressive tool usage, described as a way to optimize the AI agent's context window. The repository is deprecated, but it remains public for reference and for local or hosted use.
VoiceMode is an MCP server that adds voice conversations to Claude Code and other MCP capable agents. It uses speech-to-text and text-to-speech. It suits people whose hands or eyes are busy.
Gives an AI agent access to the skills, plugins, MCP connections, and Google Workspace and Microsoft 365 capabilities assigned to you by your OpenWork organization, through one OAuth MCP URL. Intended for people and teams who want to reuse the same setup across agents, tools, and machines.
Compare with Oh My Posh Validator, Sim or Omnara
ask-ollama: common questions
Does Ask LLM work with Ollama?
Yes. Ollama is one of the supported providers and consults local models on your machine.
Does it need API keys?
Reviews use your existing provider subscriptions. The Grok xAI API option is separate, metered and requires an API key.
Does Ask LLM send telemetry?
The source says Ask LLM sends no telemetry, but provider and host data policies still apply.
How do I install ask-ollama?
In Claude Code run claude mcp add ask-ollama -- npx -y @ask-llm/ollama-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is ask-ollama the official server?
ask-ollama is a community project by Lykhoyda, not verified by a company domain.
Is ask-ollama free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is ask-ollama safe to use?
It scores 77 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to ask-ollama?
Similar MCP servers: Oh My Posh Validator, Sim, Omnara, strata.
Does ask-ollama work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
