# claude_query

Ask Claude Code a question without making changes. Read-only, fast. Good for code analysis, explanations, or quick lookups.

Agent View of the PolicyLayer registry record for `claude_query`. HTML page: https://policylayer.com/tools/0motionguy-claude-bridge-mcp/claude-query

## Facts

- Tool: `claude_query`
- Server: Claude Bridge (`0motionguy/claude-bridge-mcp`) — https://policylayer.com/tools/0motionguy-claude-bridge-mcp.md
- Homepage: https://github.com/0motionguy/claude-bridge-mcp
- Risk category: Read (Low risk)
- Registry record: grade C, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Allowed

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "claude_query",
    "arguments": {}
  }
}
```

## Why claude_query is rated Low

This tool queries Claude Code for information (analysis, explanations, lookups) but performs no modifications, deletions, or external operations. It is a pure read operation with minimal security risk, as the worst case is exposure of code analysis that the user already has access to.

From the tool's own definition: "Tool description explicitly states 'Ask Claude Code a question without making changes. Read-only, fast. Good for code analysis, explanations, or quick lookups.' The phrase 'Read-only' and 'without making changes' clearly indicates this is a retrieval…"

## Use case

AI agents call claude_query to retrieve information from Claude Bridge without modifying anything. It is typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

## Recommended policy (PolicyLayer)

Verdict: **Allowed**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Claude Bridge:

```json
{
  "version": "1",
  "default": "deny",
  "tools": {
    "claude_query": {}
  }
}
```

## Other tools on Claude Bridge (3)

- `claude_execute` — Execute — https://policylayer.com/tools/0motionguy-claude-bridge-mcp/claude-execute.md
- `claude_git_status` — Read — https://policylayer.com/tools/0motionguy-claude-bridge-mcp/claude-git-status.md
- `claude_read_file` — Read — https://policylayer.com/tools/0motionguy-claude-bridge-mcp/claude-read-file.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=0motionguy-claude-bridge-mcp · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/0motionguy-claude-bridge-mcp
