ask-llm-mcp
v0.3.10
Published
Unified MCP server for multi-LLM consultation — registers tools from all available providers (Gemini, Codex, Ollama) behind runtime availability checks
Maintainers
Readme
Ask LLM MCP (Unified)
All LLM providers in one MCP server — auto-detects what's installed
A unified MCP server that auto-detects installed LLM providers (Gemini, Codex, Ollama) and registers only the available tools. One install, all providers. Works with Claude Code, Claude Desktop, Cursor, Warp, Copilot, and 40+ other MCP clients.
Part of the Ask LLM monorepo.
Quick Start
Claude Code
claude mcp add ask-llm -- npx -y ask-llm-mcpClaude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"ask-llm": {
"command": "npx",
"args": ["-y", "ask-llm-mcp"]
}
}
}Prerequisites
- Node.js v20.0.0 or higher
- At least one provider installed:
- Gemini CLI for
ask-geminitools - Codex CLI for
ask-codextools - Ollama running locally for
ask-ollamatools
- Gemini CLI for
How It Works
On startup, the unified server:
- Checks CLI availability via
which(Gemini, Codex) - Checks HTTP availability via health endpoints (Ollama)
- Dynamically imports and registers tools from available providers
- Exposes only the tools for providers that are actually installed
Tools
All tools from installed providers are registered. If you have all three:
| Tool | Provider |
|------|----------|
| ask-gemini | Gemini |
| ask-gemini-edit | Gemini |
| fetch-chunk | Gemini |
| ask-codex | Codex |
| ask-ollama | Ollama |
| ping | All |
Documentation
Full docs at lykhoyda.github.io/ask-llm
License
MIT
