Claude Mcp Bridge
by github.com/hampsterx · v0.7.2 · updated Oct 18, 2026
Wraps Claude Code CLI as MCP tools: query, search, structured, ping, listSessions.
Run it locally
Install the package and point your AI client at it.
npm
npx -y [email protected]Environment variables
CLAUDE_CLI_PATHPath to the claude CLI binary. Defaults to 'claude' on PATH.
CLAUDE_DEFAULT_MODELShared default model for all tools. Overridden by per-tool CLAUDE_<TOOL>_MODEL vars (QUERY, SEARCH, STRUCTURED).
CLAUDE_QUERY_MODELOverride model for the query tool.
CLAUDE_STRUCTURED_MODELOverride model for the structured tool.
CLAUDE_SEARCH_MODELOverride model for the search tool.
CLAUDE_FALLBACK_MODELModel to use when the primary model hits a quota error. Set to 'none' to disable fallback.
CLAUDE_MAX_CONCURRENTMaximum concurrent Claude CLI subprocesses (default 3).
CLAUDE_BRIDGE_USE_API_KEYSet to '1' to forward ANTHROPIC_API_KEY to the CLI. Default is subscription-first: the CLI uses existing Max/Pro session and API key is NOT forwarded. Opt in only if you want API billing.
CLAUDE_MAX_BUDGET_USDMaximum USD spend per call (pass-through to --max-budget-usd). Only applies when using API key auth.
CLAUDE_QUERY_TOOLSBuilt-in tools the query subprocess may use. Comma or space separated list, 'default' for the CLI's full built-in set, or empty for no tools. The default withholds Bash, Write and Edit; widening it grants real capability in the caller-supplied working directory.
CLAUDE_STRUCTURED_TOOLSBuilt-in tools the structured subprocess may use. Same format and caveats as CLAUDE_QUERY_TOOLS.
CLAUDE_SEARCH_TOOLSBuilt-in tools the search subprocess may use. Same format and caveats as CLAUDE_QUERY_TOOLS.
CLAUDE_QUERY_EFFORTReasoning effort for the query tool (low|medium|high|max).
CLAUDE_SEARCH_EFFORTReasoning effort for the search tool (low|medium|high|max).
More from github.com/hampsterx
More MCP servers
Codex–Claude Council
github.com/hamza-aziz-ai
ChatGPT (Codex CLI) and Claude (Claude Code) discuss until they agree, on your own subscriptions.
AI Crawler Access Check by Citant.ai
github.com/hamzawamiqhq
Can ChatGPT, Claude and Perplexity crawlers reach a site? Real per-bot fetch, firewall/CDN blocks.
iBuildPro
github.com/hananzlot
Your iBuildPro workspace in Claude: jobs, customers, money, calendar. Sign in with your login.
Handinloop Mcp Server
github.com/handinloop
Human-in-the-loop document extraction: submit a doc, get validated fields and an audit trail.
Plato's Kallipolis
github.com/handongzhen101-jpg
Read-only MCP tools for AI agent discovery, structured resources, and NIULAI information.
Handset
github.com/handset-hq
A business phone system for AI agents: send texts, place calls, read transcripts, buy numbers.