> ## Documentation Index
> Fetch the complete documentation index at: https://docs.garnet.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Read a public pull request in Claude Code

> Read the Garnet App result and an Execution Profile from Claude Code without a Garnet account.

To record a pull request in your own repository, [add Garnet to your existing workflows](https://docs.garnet.ai/agent-setup.md). The first public comment requires the GitHub App, not a Garnet account or token.

## Connect the Garnet MCP

```bash theme={null}
claude mcp add --transport http garnet https://api.garnet.ai/api/v2/mcp
```

Run `claude mcp list` to check that Garnet is connected. You don't need to sign in to read a public repository.

## Read the current-head result

1. Ask Claude Code to read [clean onboarding PR #5](https://github.com/shennektog/garnet-clean-onboarding/pull/5). Have it get the current GitHub head, then call `pr_review` for the PR.
2. Ask Claude to match `head_sha` and `marker_commit` to that head and check for `status: finalized` and `bound_to_head: true`. In the clean-repo run, `pr_review` matched the [App comment](https://github.com/shennektog/garnet-clean-onboarding/pull/5#issuecomment-7228288533): `first`, with best-effort capture. The comment covered all four jobs. A first result records the run without a comparison.
3. For job detail, take the run ID and profile ID from that job's **Full record in Garnet** link. Ask Claude to call `profiles` for the run and use only the profile with that ID and the same PR head. If it can't find a match, report the job detail as unavailable and use the App comment for the PR result.

See the [public MCP walkthrough](https://docs.garnet.ai/public-mcp-walkthrough.md) for example tool arguments.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.