Twelve read-only MCP tools. This is not a “repo context dump” surface. Tools implement an evidence product loop:
pin.catalog → search (candidates) → pin.prove | pin.prove_set → pin.verify | pin.verify_set
↘ pin.analyze brief (multi-repo decision evidence)
Successful content results include a full commit SHA (or an explicit blocked/missing status). Dirty worktrees are never treated as evidence.
All tools set readOnlyHint: true. Cite formats: cite-spec.md.
| Field | Meaning |
|---|---|
product |
Always gitpin on structured evidence responses |
contract |
index-free-git-head-evidence |
kind |
catalog · evidence-candidates · evidence-pack · evidence-set · evidence-slice · evidence-doc · verification-report · verification-set-report · EvidenceBrief |
citation.cite |
Human locator: repo/path:line @ fullSha |
citation.handle |
Durable: gitpin:repo@fullSha:path:line |
citation.repoAtSha |
Repo pin: repo@fullSha |
next |
Suggested next tool (pin.prove / pin.prove_set / pin.verify / pin.verify_set) |
List registered repositories. view: repositories | sync | stale.
Default repositories view returns { kind: "catalog", repositories: [...] } with HEAD SHAs, doc counts, and stale flags.
Bounded documentation search. Returns evidence-candidates: each hit has citation and next → pin.prove.
git grep at HEAD (max 50). Same candidate envelope. Prefer pin.prove before asserting.
Single-path evidence pack:
- optional
claimstring bound to the pack - content slice +
contentSha256 citationwithcite,handle,repoAtSha,git show, andgitpin verifycommandsnext→pin.verify(includesmustContainwhen claim set)
Inputs: repository, sourcePath, optional lineStart / lineEnd / claim.
Multi-cite pack (1–8 items, multi-repo OK). Returns kind: evidence-set with stable evidenceSetId and next → pin.verify_set.
Documentation page or source slice as an evidence-oriented payload. Prefer pin.prove when the agent must make a claim.
Re-check a claim with git show <sha>:<path>. Reports whether current HEAD still matches. Optional mustContain sets claimVerdict (supported | contradicted | unproven). Same contract as CLI gitpin verify.
Inputs: repository, sourcePath, sha (7–40 hex), optional line, optional mustContain.
Batch re-check up to 8 items (from pin.prove_set or a saved pack). Returns verification-set-report.
operation: gaps | compare | brief.
- brief →
EvidenceBrief(knownFacts/gaps/evidenceSetId, audience-aware presentation) - Optional hex
changeRangefor bounded change evidence
operation: status | commits | manifest | tests | changes. Use status to see dirty work that is excluded from evidence.
Changed paths between two hex revisions (7–40 characters).
| Name | Kind |
|---|---|
gitpin://catalog |
Resource |
prove-with-git-head |
Prompt — forces catalog → prove → verify discipline |
gitpin init --client <name>
gitpin doctor
gitpin brief --audience technical
gitpin verify --repository <n> --path <p> --sha <hex> [--line <n>] [--must-contain <text>]
gitpin verify --from-pack pack.json
gitpin verify-cites --file notes.md
gitpin prove-set --from-json items.jsonCI gate: node scripts/verify-citations.mjs --file notes.md (requires GITPIN_REGISTRY).