# claude_git_status

Get git status of a repository on the PC. Returns branch, staged/unstaged changes, and recent commits.

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

## Facts

- Tool: `claude_git_status`
- 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_git_status",
    "arguments": {}
  }
}
```

## Why claude_git_status is rated Low

This tool queries git metadata without side effects. It returns informational output (branch name, file status, commit history) and does not create, modify, delete, or execute anything. It is a pure read operation with minimal security risk.

From the tool's own definition: "The tool 'Get git status of a repository' retrieves read-only information about a repository state: branch, staged/unstaged changes, and recent commits. No modifications, deletions, or code execution occur."

## Use case

AI agents call claude_git_status 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_git_status": {}
  }
}
```

## Other tools on Claude Bridge (3)

- `claude_execute` — Execute — https://policylayer.com/tools/0motionguy-claude-bridge-mcp/claude-execute.md
- `claude_query` — Read — https://policylayer.com/tools/0motionguy-claude-bridge-mcp/claude-query.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
