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.
How to use it
query is exposed by the Claude MCP Bridge MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the query tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Claude MCP Bridge
npx -y claude-mcp-bridgeOther tools in Claude MCP Bridge (4)
List active sessions with cumulative cost, turn count, and timestamps.
Health check with CLI version, auth method, capabilities, and model config.
Web search via Claude CLI's WebSearch and WebFetch tools. Returns synthesized answers with sources.
JSON Schema validated output via Claude CLI's native --json-schema.