Skip to main content
ClaudeWave

MCP server for AI-to-AI collaboration — bridge Claude with Gemini, Codex, and other LLMs for code review, second opinions, and plan debate

MCP ServersRegistry oficial18 estrellas5 forksTypeScriptMITActualizado today
ClaudeWave Trust Score
95/100
Verified
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Clear description
  • Topics declared
  • Documented (README)
Last scanned: 9/12/2026
Install in Claude Code / Claude Desktop
Method: NPX · @ask-llm/mcp
Claude Code CLI
claude mcp add ask-llm -- npx -y @ask-llm/mcp
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "ask-llm": {
      "command": "npx",
      "args": ["-y", "@ask-llm/mcp"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
Casos de uso

Resumen de MCP Servers

<div align="center">

# Ask LLM

**Give your AI coding assistant a second opinion — from a different model.**

Claude Code, Codex CLI, Cursor, Claude Desktop, or any of [40+ MCP clients](https://modelcontextprotocol.io/clients) can call Codex, Claude, Grok, Antigravity, Ollama, or Gemini to review a diff, debate a plan, or catch the bug the first model missed. Standard [MCP](https://modelcontextprotocol.io/); no prompt hacks.

[![CI](https://img.shields.io/github/actions/workflow/status/Lykhoyda/ask-llm/ci.yml?branch=main&label=CI&logo=github)](https://github.com/Lykhoyda/ask-llm/actions/workflows/ci.yml)
[![Release](https://img.shields.io/github/actions/workflow/status/Lykhoyda/ask-llm/release.yml?branch=main&label=release&logo=npm)](https://github.com/Lykhoyda/ask-llm/actions/workflows/release.yml)
[![GitHub Release](https://img.shields.io/github/v/release/Lykhoyda/ask-llm?logo=github&label=release)](https://github.com/Lykhoyda/ask-llm/releases)
[![npm](https://img.shields.io/npm/v/@ask-llm/mcp?label=%40ask-llm%2Fmcp&logo=npm)](https://www.npmjs.com/package/@ask-llm/mcp)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

[Quick Start](#quick-start) · [Choose a reviewer](#choose-your-reviewer) · [Claude Code plugin](#the-ask-llm-plugin-claude-code-cursor-agent-pi) · [Docs](https://lykhoyda.github.io/ask-llm/) · [Packages](#packages)

</div>

```text
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.
```

One prompt. A second model reviews independently; your assistant applies the fix. No copy-pasting between tools.

## Why a second opinion?

Your primary AI is confident, but confidence isn't correctness. A second model with no stake in the first answer catches what it glossed over.

| You want to… | Ask LLM does |
|---|---|
| **Review a diff** | A different model analyzes your changes and surfaces issues your primary AI missed |
| **Debate a plan** | Send an architecture proposal for critique, alternatives, and trade-off analysis |
| **Get a second opinion on code** | Have another model review an approach independently before you commit to it |
| **Read more than fits** | Gemini and Antigravity ingest whole codebases in one call (1M+ tokens) |
| **Keep it local** | Route reviews through Ollama when nothing can leave your machine |
| **Compare models side by side** | `multi-llm` fans one prompt out to several providers in parallel |

## Quick Start

**Prerequisites:** [Node.js](https://nodejs.org/) 20+ and at least one provider CLI installed and authenticated (see [Provider setup](#provider-setup)).

### Claude Code

```bash
# One install, every provider — auto-detects what you have
claude mcp add --scope user ask-llm -- npx -y @ask-llm/mcp
```

Then try: `ask codex to review my last commit`. Run `npx @ask-llm/mcp doctor` if anything looks off.

<details>
<summary>Install providers individually instead</summary>

```bash
claude mcp add --scope user codex -- npx -y @ask-llm/codex-mcp
claude mcp add --scope user grok -e XAI_API_KEY="$XAI_API_KEY" -- npx -y @ask-llm/grok-mcp
claude mcp add --scope user antigravity -- npx -y @ask-llm/antigravity-mcp
claude mcp add --scope user ollama -- npx -y @ask-llm/ollama-mcp
claude mcp add --scope user gemini -- npx -y @ask-llm/gemini-mcp
```

</details>

### Cursor

Add to `.cursor/mcp.json` (project) or `~/.cursor/mcp.json` (user):

```json
{
  "mcpServers": {
    "ask-llm": { "command": "npx", "args": ["-y", "@ask-llm/mcp"] }
  }
}
```

### Codex CLI

```toml
# ~/.codex/config.toml
[mcp_servers.ask-llm]
command = "npx"
args = ["-y", "@ask-llm/mcp"]
```

Want Codex to consult Claude specifically? `codex mcp add claude -- npx -y @ask-llm/claude-mcp`

### Claude Desktop

Add to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "ask-llm": { "command": "npx", "args": ["-y", "@ask-llm/mcp"] }
  }
}
```

### Pi

Pi has no built-in MCP client, so it installs the host package instead, which registers native `ask-*` tools plus the shared skills:

```bash
pi install npm:@ask-llm/plugin
```

Then use `/skill:codex-review`, `/skill:multi-review`, `/skill:compare`, `/skill:brainstorm`, or just describe what you want. See the [Pi host guide](https://lykhoyda.github.io/ask-llm/plugin/pi) for trust, data-transfer, and compatibility details.

<details>
<summary>Any other MCP client (STDIO)</summary>

```json
{ "command": "npx", "args": ["-y", "@ask-llm/mcp"] }
```

Swap `@ask-llm/mcp` for `@ask-llm/codex-mcp`, `@ask-llm/claude-mcp`, `@ask-llm/grok-mcp`, `@ask-llm/antigravity-mcp`, `@ask-llm/ollama-mcp`, or `@ask-llm/gemini-mcp` to install a single provider.

</details>

## Choose your reviewer

The unified `@ask-llm/mcp` server is the recommended install: one registration, every provider you have, and parallel fan-out via `multi-llm`. Each provider is also available standalone.

| Provider | Best for | Model (default → fallback) | Requires |
|----------|----------|----------------------------|----------|
| **Codex** | Code reasoning, targeted reviews, architecture critique | `gpt-5.6-sol` → `gpt-5.6-terra` | OpenAI/Codex account |
| **Claude** | An independent Claude opinion from Codex or another non-Claude host | `opus` → `sonnet` | Claude Code CLI; read-only workspace tools |
| **Grok** | Grok 4.6 critique via xAI API or the official Grok CLI | `grok-4.6`, reasoning `high` (no fallback) | `XAI_API_KEY` or Grok CLI; one explicit harness per call |
| **Antigravity** | Subscription-backed second opinion; large-context reads | `gemini-3.1-pro` → `gemini-3.5-flash` (`--effort high`) | Google AI Pro/Ultra; `agy` CLI. Experimental, one-shot |
| **Ollama** | Private, offline, zero-cost review | `qwen3.8:27b` (no auto-fallback) | Ollama running locally |
| **Gemini** | Whole-codebase reads (1M+ tokens) | `gemini-3.1-pro-preview` → `gemini-3.8-flash` | Enterprise Gemini seat (see note) |

> **Gemini CLI is enterprise-only since 2026-06-18.** Google restricted Gemini CLI to Gemini Code Assist Standard/Enterprise seats; free, Google AI Pro, and Ultra accounts lost access. `@ask-llm/gemini-mcp` still installs, but non-enterprise accounts get actionable guidance instead of output. On a subscription plan, use **Antigravity** (Google's sanctioned successor, covered by AI Pro/Ultra), **Codex**, **Claude**, or **Ollama**. [Announcement](https://developers.googleblog.com/an-important-update-transitioning-gemini-cli-to-antigravity-cli/)

Fallbacks fire only under each provider's documented conditions (quota for Gemini/Codex, overload for Claude, rate limit for Antigravity). Grok and Ollama never substitute a model: Grok sends the exact harness catalog ID unchanged, and Ollama returns a clear `ollama pull` error if the requested model isn't local. Full details in [Model Selection](https://lykhoyda.github.io/ask-llm/concepts/models).

## The Ask LLM plugin (Claude Code, Cursor Agent, Pi)

MCP gives your assistant the *tools*. The plugin, [`@ask-llm/plugin`](https://www.npmjs.com/package/@ask-llm/plugin), adds the *workflows*: slash-command reviews with a validation pipeline, multi-model brainstorming, and opt-in continuous pair review.

```
/plugin marketplace add Lykhoyda/ask-llm
/plugin install ask-llm@ask-llm-plugins
```

| Command | What it does |
|:---|:---|
| <nobr>`/multi-review`</nobr> | Parallel Antigravity + Codex review with a 4-phase validation pipeline and consensus highlighting |
| <nobr>`/codex-review`</nobr> · <nobr>`/gemini-review`</nobr> · <nobr>`/ollama-review`</nobr> · <nobr>`/antigravity-review`</nobr> | Single-provider reviews with confidence filtering |
| <nobr>`/sol-review`</nobr> | Model-pinned GPT-5.6 Sol review through Codex |
| <nobr>`/grok-review`</nobr> | Metered Grok review through xAI with exact model attribution and no fallback |
| <nobr>`/fable-review`</nobr> | Isolated, read-only review that requests the native Fable model and discloses runtime verification limits |
| <nobr>`/brainstorm`</nobr> | Claude Opus researches your real files in parallel with external providers, then synthesizes, weighting verified findings higher. Also supports an exact no-Gemini Grok + GPT-5.6 Sol panel routed through Cursor Agent |
| <nobr>`/compare`</nobr> | Raw side-by-side answers from multiple providers, no synthesis |
| <nobr>**`codex-pair`**</nobr> | Opt-in continuous review: Codex checks every Edit/Write/MultiEdit when a `.codex-pair/context.md` marker is present |

Review agents follow a 4-phase pipeline inspired by [Anthropic's code-review plugin](https://github.com/anthropics/claude-code/tree/main/plugins/code-review): context gathering, prompt construction with explicit false-positive exclusions, synthesis, and source-level validation of each finding.

<details>
<summary>Host support matrix</summary>

`@ask-llm/plugin` is one package, one version, one release lifecycle, and one canonical skill corpus. Claude Code loads its marketplace agents and hooks; Cursor Agent loads the adapted `/codex-pair` and `/grok-pair` skills through Agent Skills plus `mcp.json` (`agent --plugin-dir ./packages/claude-plugin`; see the [Cursor Agent host guide](https://lykhoyda.github.io/ask-llm/plugin/cursor)); Pi loads explicit native tools, portable skill adapters, and a thin lifecycle extension.

| Capability | Claude Code | Cursor Agent | Codex CLI host | Pi |
|---|---:|---:|---:|---:|
| Provider transport | MCP | MCP (`mcp.json`, unified `ask-llm` only) | MCP | native Ask LLM tools (no built-in MCP) |
| Review/compare/brainstorm skills | yes | Agent Skills | tools only | `/skill:<name>` + natural language |
| Isolated reviewer contexts / Fable | yes | no; `fable-review` excluded | no | no; `fable-review` excluded |
| codex-pair | hooks | on-demand persisted session | no | lifecycle extension |
| `/grok-pair` | yes (explicit Cursor/xAI
aiclaudeclaude-aiclaude-codeclaude-code-pluginclaude-mcpcodex-plugingeminigemini-mcpmcp

Lo que la gente pregunta sobre ask-llm

¿Qué es Lykhoyda/ask-llm?

+

Lykhoyda/ask-llm es mcp servers para el ecosistema de Claude AI. MCP server for AI-to-AI collaboration — bridge Claude with Gemini, Codex, and other LLMs for code review, second opinions, and plan debate Tiene 18 estrellas en GitHub y su última actualización registrada es del 2026-09-11.

¿Cómo se instala ask-llm?

+

Puedes instalar ask-llm clonando el repositorio (https://github.com/Lykhoyda/ask-llm) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar Lykhoyda/ask-llm?

+

Nuestro agente de seguridad ha analizado Lykhoyda/ask-llm y le ha asignado un Trust Score de 95/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.

¿Quién mantiene Lykhoyda/ask-llm?

+

Lykhoyda/ask-llm es mantenido por Lykhoyda. La última actividad registrada en GitHub es del 2026-09-11, con 11 issues abiertos.

¿Hay alternativas a ask-llm?

+

Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.

Despliega ask-llm en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

Featured on ClaudeWave: Lykhoyda/ask-llm
[![Featured on ClaudeWave](https://claudewave.com/api/badge/lykhoyda-ask-llm)](https://claudewave.com/repo/lykhoyda-ask-llm)
<a href="https://claudewave.com/repo/lykhoyda-ask-llm"><img src="https://claudewave.com/api/badge/lykhoyda-ask-llm" alt="Featured on ClaudeWave: Lykhoyda/ask-llm" width="320" height="64" /></a>

Más MCP Servers

Alternativas a ask-llm