Wraps Claude Code CLI as an MCP subprocess so you can call it from Cursor, Windsurf, or any MCP client without shell access. Exposes five tools: query for prompts with file context and session resume, search for web lookups, structured for JSON Schema validated output, ping for health checks, and listSessions for cost tracking. Handles effort levels, budget caps, and returns detailed token metadata on every call. Choose this over calling the CLI directly when you need structured output validation, session management across calls, or you're in an environment that can't spawn shells. Supports both subscription and API key auth, with model fallback on quota exhaustion. Most useful when you want Claude Code's agentic capabilities wrapped in a controlled, cost-aware interface.
claude mcp add --transport stdio hampsterx-claude-mcp-bridge uvx claude-mcp-bridge