
Ask Gemini
Pipes Claude's requests to Gemini, Codex, or Ollama for multi-model collaboration on code review and architecture debates. Exposes tools like ask-gemini for 1M+ token context dumps, ask-codex for GPT-5.5 queries, and ask-ollama for fully local inference. Each tool returns structured responses with session tracking, and you can fan out the same prompt to all providers in parallel via multi-llm. Includes an optional Claude Code plugin that adds /multi-review and /brainstorm commands with a 4-phase validation pipeline. Useful when you want a second AI opinion on diffs or architectural decisions without leaving your editor, or when you need Gemini's massive context window to digest an entire codebase.
- GitHub stars
- 19
- transport
- STDIO
- env vars
- 2
- last updated
- Sep 27, 2026
Sponsors
Configuration
GMCPT_TIMEOUT_MSdefault: 300000Timeout for Gemini CLI execution in milliseconds (default: 300000 = 5 minutes)
GMCPT_LOG_LEVELdefault: warnLog verbosity: debug, info, warn, error (default: warn)
Readme
Ask LLM
Second opinions for coding agents.
Get a second opinion on your code or plan, inside your coding assistant, using the model subscriptions you already have.
For individual developers and small teams who already use a coding assistant and pay for another model subscription: ask a different vendor's model to review your changes or challenge your plan, without API keys, copy-paste, or leaving the session.
You: ask codex to review src/auth.ts for security issues
Codex: ⚠ verifyToken() compares tokens with === — not timing-safe (line 42)
⚠ the session cookie is missing a SameSite attribute
Claude: Good catches — applying both fixes to src/auth.ts.
Install
You need Node.js 24+ on Linux or macOS. Before your first review, both your coding assistant (for example Claude Code) and the provider you will consult (for example Codex) must be installed and signed in. Ask LLM configures the connection; it does not install providers or sign you in. If a provider CLI such as Codex has never been signed in on this machine, sign in first and rerun setup.
npm i -g @ask-llm/mcp && ask-llm setup
Details
- Repository
- github.com/lykhoyda/ask-llm
- Category
- AI & LLM Tools
- Package
@ask-llm/gemini-mcp- Transport
- STDIO
- Registry
- MCP registry, active