lykhoyda avatar

Ask Gemini

lykhoyda/ask-llm

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: 300000

Timeout for Gemini CLI execution in milliseconds (default: 300000 = 5 minutes)

GMCPT_LOG_LEVELdefault: warn

Log 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

View the full README on GitHub

Details

Repository
github.com/lykhoyda/ask-llm
Category
AI & LLM Tools
Package
@ask-llm/gemini-mcp
Transport
STDIO
Registry
MCP registry, active

More from lykhoyda

Related AI & LLM Tools MCP servers

View all
1baixianger avatarLangchain Mcpbaixianger/langchain-mcpLangChain/LangGraph/DeepAgents knowledge + LangGraph agent debugging (Polly-like)5stars
2denial-web avatarAgent Immunedenial-web/agent-immuneAI agent security: prompt injection detection, semantic memory, output scanning, prompt hardening0stars
3mikerawsonnz avatarAuthenticated Mcp Agentmikerawsonnz/gosce-agentsJWT-gated LLM gateway: authenticate (bcrypt/JWT), then run a LangChain-on-Vertex Gemini completion.0stars
4mikerawsonnz avatarLlm Observability Orchestrationmikerawsonnz/gosce-agentsRun a prompt through a LangChain (system + human) chain over Gemini on Vertex AI; optional LangSmith0stars
5mikerawsonnz avatarStructured Output Agentmikerawsonnz/gosce-agentsTurn a prompt + a field schema into validated, typed JSON (Instructor over Gemini 2.5 Flash on Verte0stars
6theaisingularity avatarAgentic Researchtheaisingularity/agentic-research-engine-ossLocal research agent that verifies its own answers. Runs on Gemma 3 4B + Ollama, $0/query.0stars