REA
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Description from the maker (original English)
Wraps Claude Code CLI as MCP tools: query, search, structured, ping, listSessions.
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
CLAUDE_CLI_PATH, CLAUDE_DEFAULT_MODEL, CLAUDE_QUERY_MODEL, CLAUDE_STRUCTURED_MODEL, CLAUDE_SEARCH_MODEL, CLAUDE_FALLBACK_MODEL, CLAUDE_MAX_CONCURRENT, CLAUDE_BRIDGE_USE_API_KEY, CLAUDE_MAX_BUDGET_USD, CLAUDE_QUERY_TOOLS, CLAUDE_STRUCTURED_TOOLS, CLAUDE_SEARCH_TOOLS, CLAUDE_QUERY_EFFORT, CLAUDE_SEARCH_EFFORTYou need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"claude-bridge": {
"command": "npx",
"args": [
"-y",
"claude-mcp-bridge"
],
"env": {
"CLAUDE_CLI_PATH": "your-value",
"CLAUDE_DEFAULT_MODEL": "your-value",
"CLAUDE_QUERY_MODEL": "your-value",
"CLAUDE_STRUCTURED_MODEL": "your-value",
"CLAUDE_SEARCH_MODEL": "your-value",
"CLAUDE_FALLBACK_MODEL": "your-value",
"CLAUDE_MAX_CONCURRENT": "your-value",
"CLAUDE_BRIDGE_USE_API_KEY": "your-value",
"CLAUDE_MAX_BUDGET_USD": "your-value",
"CLAUDE_QUERY_TOOLS": "your-value",
"CLAUDE_STRUCTURED_TOOLS": "your-value",
"CLAUDE_SEARCH_TOOLS": "your-value",
"CLAUDE_QUERY_EFFORT": "your-value",
"CLAUDE_SEARCH_EFFORT": "your-value"
}
}
}
}Run this in your terminal
claude mcp add claude-bridge --env CLAUDE_CLI_PATH=your-value --env CLAUDE_DEFAULT_MODEL=your-value --env CLAUDE_QUERY_MODEL=your-value --env CLAUDE_STRUCTURED_MODEL=your-value --env CLAUDE_SEARCH_MODEL=your-value --env CLAUDE_FALLBACK_MODEL=your-value --env CLAUDE_MAX_CONCURRENT=your-value --env CLAUDE_BRIDGE_USE_API_KEY=your-value --env CLAUDE_MAX_BUDGET_USD=your-value --env CLAUDE_QUERY_TOOLS=your-value --env CLAUDE_STRUCTURED_TOOLS=your-value --env CLAUDE_SEARCH_TOOLS=your-value --env CLAUDE_QUERY_EFFORT=your-value --env CLAUDE_SEARCH_EFFORT=your-value -- npx -y claude-mcp-bridgeFill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"claude-bridge": {
"command": "npx",
"args": [
"-y",
"claude-mcp-bridge"
],
"env": {
"CLAUDE_CLI_PATH": "your-value",
"CLAUDE_DEFAULT_MODEL": "your-value",
"CLAUDE_QUERY_MODEL": "your-value",
"CLAUDE_STRUCTURED_MODEL": "your-value",
"CLAUDE_SEARCH_MODEL": "your-value",
"CLAUDE_FALLBACK_MODEL": "your-value",
"CLAUDE_MAX_CONCURRENT": "your-value",
"CLAUDE_BRIDGE_USE_API_KEY": "your-value",
"CLAUDE_MAX_BUDGET_USD": "your-value",
"CLAUDE_QUERY_TOOLS": "your-value",
"CLAUDE_STRUCTURED_TOOLS": "your-value",
"CLAUDE_SEARCH_TOOLS": "your-value",
"CLAUDE_QUERY_EFFORT": "your-value",
"CLAUDE_SEARCH_EFFORT": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"claude-bridge": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"claude-mcp-bridge"
],
"env": {
"CLAUDE_CLI_PATH": "your-value",
"CLAUDE_DEFAULT_MODEL": "your-value",
"CLAUDE_QUERY_MODEL": "your-value",
"CLAUDE_STRUCTURED_MODEL": "your-value",
"CLAUDE_SEARCH_MODEL": "your-value",
"CLAUDE_FALLBACK_MODEL": "your-value",
"CLAUDE_MAX_CONCURRENT": "your-value",
"CLAUDE_BRIDGE_USE_API_KEY": "your-value",
"CLAUDE_MAX_BUDGET_USD": "your-value",
"CLAUDE_QUERY_TOOLS": "your-value",
"CLAUDE_STRUCTURED_TOOLS": "your-value",
"CLAUDE_SEARCH_TOOLS": "your-value",
"CLAUDE_QUERY_EFFORT": "your-value",
"CLAUDE_SEARCH_EFFORT": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
CLAUDE_CLI_PATH envCLAUDE_DEFAULT_MODEL envCLAUDE_QUERY_MODEL envCLAUDE_STRUCTURED_MODEL envCLAUDE_SEARCH_MODEL envCLAUDE_FALLBACK_MODEL envCLAUDE_MAX_CONCURRENT envCLAUDE_BRIDGE_USE_API_KEY envCLAUDE_MAX_BUDGET_USD envCLAUDE_QUERY_TOOLS envCLAUDE_STRUCTURED_TOOLS envCLAUDE_SEARCH_TOOLS envCLAUDE_QUERY_EFFORT envCLAUDE_SEARCH_EFFORT envThese settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 10, 2026
The registry name was verified with the GitHub account hampsterx, which owns the repo
Code last changed 23 days ago
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 2 of 2 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed 23 days ago, and the latest version (0.7.2) reached the registry 23 days ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
In the same category: REA, Netdata, Front-End Checklist
Servers in the same category from other makers, sorted by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Review frontend code and live pages against 386 quality-gated web development rules.
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
MCP server that wraps Claude Code CLI as a subprocess, exposing its capabilities as Model Context Protocol tools.
Works with any MCP client: Codex CLI, Gemini CLI, Cursor, Windsurf, VS Code, or any tool that speaks MCP.
If you're in a terminal agent (Codex CLI, Gemini CLI) with shell access, call Claude Code CLI directly:
# Analyze specific files
claude -p --bare --tools Read -- "Analyze src/utils/parse.ts for edge cases"
claude -p --bare --max-budget-usd 0.50 "Is this retry logic sound?"
--bare skips hooks, memory, and plugins for clean subprocess use. --tools restricts which tools Claude can use at all; --allowed-tools only pre-approves permission and leaves everything else, including Bash, still reachable. --max-budget-usd prevents runaway costs.
--tools is variadic, so end the list with -- (or another flag) before the prompt. Without it the prompt is read as one more tool name and the CLI exits with "Input must be provided".
For code review, see Code review with this CLI.
Use this MCP bridge instead when:
--json-schema validation--resume SESSION_ID)npx claude-mcp-bridge
claude login (uses your Pro/Max plan, no API credits needed)ANTHROPIC_API_KEY + CLAUDE_BRIDGE_USE_API_KEY=1 (billed per use via console.anthropic.com)Add to ~/.codex/config.json:
{
"mcpServers": { "claude-bridge": { "command": "npx", "args": ["-y", "claude-mcp-bridge"] } } }
Add to ~/.gemini/settings.json:
{
"mcpServers": { "claude-bridge": { "command": "npx", "args": ["-y", "claude-mcp-bridge"] } } }
Add to your MCP settings:
{
"claude-bridge": { "command": "npx", "args": ["-y", "claude-mcp-bridge"], "env": { "ANTHROPIC_API_KEY": "sk-ant-...", "CLAUDE_BRIDGE_USE_API_KEY": "1" } } }
| Tool | Description |
|---|---|
| query | Execute prompts with file context, session resume, effort control, and budget caps. Supports text and images. For code review, see Code review with this CLI. |
| search | Web search via Claude CLI's WebSearch and WebFetch tools. Returns synthesized answers with sources. |
| structured | JSON Schema validated output via Claude CLI's native --json-schema. |
| ping | Health check with CLI version, auth method, capabilities, and model config. |
| listSessions | List active sessions with cumulative cost, turn count, and timestamps. |
Execute a prompt with optional file context. Supports session resume via sessionId, effort control (low/medium/high/max), and budget caps (maxBudgetUsd). Images (.png, .jpg, .gif, .webp, .bmp) up to 5MB each are passed to Claude's Read tool.
Key parameters: prompt (required), files, model (default sonnet), sessionId, effort, maxBudgetUsd, workingDirectory, timeout (default 60s).
Web search powered by Anthropic's WebSearch tool via Claude CLI. Returns synthesized answers with source URLs.
Key parameters: query (required), model (default sonnet), maxResponseLength, maxBudgetUsd, timeout (default 120s).
Generate JSON conforming to a provided schema using Claude CLI's native --json-schema flag. Returns clean JSON in the first content block, metadata in a separate block so JSON parsing isn't broken.
Key parameters: prompt (required), schema (required, JSON string, max 20KB), files, model (default sonnet), sessionId, maxBudgetUsd, timeout (default 60s).
No parameters. Returns CLI version, auth method (subscription/api-key/none), configured models, capabilities, and server version.
No parameters. Returns active sessions with metadata: sessionId, model, createdAt, lastUsedAt, turnCount, totalCostUsd.
All tools attach execution metadata (_meta) with durationMs, model, sessionId, totalCostUsd, and token breakdowns. See DESIGN.md for details.
| Variable | Default | Description |
|---|---|---|
CLAUDE_DEFAULT_MODEL | Shared default for all tools | |
CLAUDE_QUERY_MODEL | sonnet | Default for query |
CLAUDE_STRUCTURED_MODEL | sonnet | Default for structured |
CLAUDE_SEARCH_MODEL | sonnet | Default for search |
CLAUDE_FALLBACK_MODEL | haiku | Fallback on quota exhaustion (none to disable) |
Model resolution: explicit parameter > tool-specific env var > CLAUDE_DEFAULT_MODEL > built-in default.
| Variable | Default | Description |
|---|---|---|
CLAUDE_MAX_CONCURRENT | 3 | Max concurrent subprocess spawns |
CLAUDE_CLI_PATH | claude | Path to CLI binary |
CLAUDE_MAX_BUDGET_USD | Global cost cap in USD (per call) | |
ANTHROPIC_API_KEY | API key (only forwarded when CLAUDE_BRIDGE_USE_API_KEY=1) | |
CLAUDE_BRIDGE_USE_API_KEY | Set to 1 to forward ANTHROPIC_API_KEY to the subprocess (default: subscription auth) |
| Variable | Default | Description |
|---|---|---|
CLAUDE_SEARCH_EFFORT | medium | Default effort for search |
CLAUDE_QUERY_EFFORT | Default effort for query |
Each spawned subprocess gets an explicit built-in toolset. The defaults are read-only, so Bash, Write and Edit are not granted unless you widen them below.
| Variable | Default | Description |
|---|---|---|
CLAUDE_QUERY_TOOLS | Read Glob Grep | Built-in tools for query |
CLAUDE_STRUCTURED_TOOLS | Read Glob Grep | Built-in tools for structured |
CLAUDE_SEARCH_TOOLS | WebSearch WebFetch | Built-in tools for search |
Accepts a comma or space separated list, default for the CLI's full built-in set, or an empty value for no tools. Widening these gives the subprocess real capability in the working directory you pass it. See SECURITY.md § Tool Sandboxing.
| You need... | Consider |
|---|---|
| Structured output, effort/budget control, session resume, cost metadata | This bridge |
| Multi-tool orchestration (read, grep, edit, bash as separate MCP tools) | mcp-claude-code |
| Session continuity with async execution | claude-mcp |
| Maintained lightweight wrapper | @kunihiros/claude-code-mcp |
| Native Claude Code MCP (built-in, no wrapper) | claude mcp serve (docs) |
Claude Code CLI has minimal startup overhead. Wall time is dominated by model inference and any agentic exploration.
| Scenario | Typical time |
|---|---|
| Trivial prompt (sonnet) | 5-10s |
| Web search + synthesis | 15-30s |
Cost metadata (totalCostUsd, token breakdowns) is returned in _meta on every response.
Two MCP servers, same architecture, different underlying CLIs. Each wraps a terminal agent as a subprocess and exposes it as MCP tools. Pick the one that matches your model provider, or run both for cross-model workflows.
| claude-mcp-bridge | codex-mcp-bridge | |
|---|---|---|
| CLI | Claude Code | Codex CLI |
| Provider | Anthropic | OpenAI |
| Tools | query, search, structured, ping, listSessions | codex, search, query, structured, ping, listSessions |
| Code review | Use Claude Code built-ins directly (not via this bridge), or claude -p for non-Claude-Code hosts | codex review --base (native) or codex tool with caller-supplied prompt |
| Structured output | Native --json-schema (no Ajv) | Ajv validation |
| Session resume | Native --resume | Session IDs with multi-turn |
| Budget caps | Native --max-budget-usd | Not supported |
| Effort control | --effort low/medium/high/max | Not supported |
| Cold start | ~1-2s | <100ms (inference dominates) |
| Auth | claude login (default) or ANTHROPIC_API_KEY + opt-in | OPENAI_API_KEY |
| Cost | Subscription (default) or API credits (opt-in) | Pay-per-token |
| Concurrency | 3 (configurable) | 3 (configurable) |
| Model fallback | Auto-retry with fallback model | Auto-retry with fallback model |
Both share: subprocess env isolation, path sandboxing, output redaction, FIFO concurrency queue, MCP tool annotations, _meta response metadata, progress heartbeats.
The reviewer prompt is supplied by the caller. The bridge does not bundle review prompts (see ADR-001).
/review, /security-review, /ultrareview. REPL-only; not reachable via claude -p or this bridge.query / structured): pass the review prompt as plain text. Slash commands (built-in or user-installed ~/.claude/commands/) do not resolve through the bridge, the isolation flags (--bare on the API-key path, --setting-sources "" on the subscription path) block all skill resolution by design. Tracked upstream: anthropics/claude-code#37207./skill-name when no isolation flags suppress them. For subprocess-isolated review use the hardened invocation below.Route based on where you are:
/review, /security-review, or /ultrareview. Skip the rest of this section.query / structured, or invoke claude -p directly per below.claude -p invocation (subprocess-isolated)For shell-equipped consumers (terminal agents, CI, BYOS skills), invoke the CLI directly with hardened isolation flags:
claude -p \
--permission-mode plan \ --bare \ --add-dir \ --strict-mcp-config \ --mcp-config '{"mcpSe