Tamper-evident, Sigstore-signed audit trail for Claude Code agents.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Local-first audit chain and identity gate for AI coding agents. Your prompts, your tool calls, your audit log; all on your machine, cryptographically verifiable later β and an agent may request an identity (ssh / cloud / root), not silently assume one.
Occasio is a local proxy that sits between your AI coding agent (Claude Code, Cline, or anything that talks to the Anthropic API) and whichever LLM endpoint you configured. Every tool call passes through one human-readable policy file you control. You can see what is leaving your machine in real time, block what should not happen, and end up with a tamper-evident hash-chained log that a third party can verify offline months later if you ever need to prove what your agent did.
Nothing about Occasio sends data to a third party. There is no Occasio cloud, no Occasio account, no telemetry. Read docs/WHY-LOCAL.md for the architecture, docs/COMPARE.md for how this differs from cloud-hosted AI observability tools, and docs/SUSTAINABILITY.md for how a local-first product is funded under Apache 2.0.

Screenshot: occasio eyes --demo against synthetic data β no real paths, no real traffic. The "(demo)" badge top-left is always shown in demo mode.
The first three demos run against synthetic data so you can see the full pipeline in seconds with no external dependencies. The fourth spawns a real Claude Code subordinate under your Anthropic login (bundled auth β no API key required) and proves the defense end-to-end. Start with demo audit β it answers the only question that actually matters: "prove what your AI agent did in CI."
The incident this was built for: an agent is asked only for a deploy command, but on its own it sshes into the server and reads env. The strict policy stops exactly that β an AI agent may request an identity, it may not silently assume one.
printenv, cat .env, /proc/self/environ, private-key reads, grep-for-secret-names β blocked no matter which command or tool reads them; the output never reaches the model.ssh / scp, az / the cloud control plane, sudo / systemctl β a fail-closed BLOCK with a "requires human approval" refusal the agent cannot satisfy on its own.The agent cannot self-approve: the approval control plane is in its deny-zone and the token is HMAC-signed. The chain records actor=ai_agent Β· delegator=you Β· approved_by=you. A second, non-proxied enforcement point β a PreToolUse hook (occasio hook --install) β covers execution that doesn't pass through the proxy.
Full design, threat model, and the honest residuals (runtime indirection, egress): docs/identity-gate.md.
Most people land here for one of these β pick the column that fits and skim accordingly.
| Daily dev work | CI / compliance | |
|---|---|---|
| Question you're asking | "What is the agent actually sending to Anthropic, and what's it costing me?" | "Prove what the agent did during this run." |
| Main commands | occasio eyes, occasio dashboard, --budget N, --eyes, occasio scan, occasio preflight simulate | occasio attest, occasio bundle β occasio verify, occasio policy lock/diff, occasio anomalies, occasio audit verify |
| What you get | Live browser UI on 127.0.0.1 β every outbound payload, byte breakdown, redactions in the clear; plus a preview of what your policy would allow/block | One portable evidence file a third party verifies offline in one command, a signed/approved policy lock, and per-round volume limits |
| Jump to | Live visibility Β· Scanner & preflight | Evidence workflow Β· Policy workflow |
Both views read the same underlying log. You don't have to pick one β running the proxy gives you both for free.
New here? The 5-minute Getting Started guide walks the identity-gate flow end to end β install β
init --template strictβ run your agent β approve a borrow β verify the log. Every command in it is tested against the published release.
Requires Node.js β₯ 18. Works on Windows, macOS, Linux.
After the alias is registered, every claude invocation routes through Occasio transparently. Audit-chain rows accumulate at ~/.occasio/pipeline-events.jsonl.
Inspect the run:
Grouped by what you're doing. (stable) = load-bearing with test coverage; (beta) = works end-to-end, narrower; (alpha) = scaffold. Full list: occasio help.
| Command | Purpose | |
|---|---|---|
claude [args] | Start Claude Code through the local proxy | (stable) |
status Β· ledger Β· replay Β· boundary Β· inspect | Inspect cost / tokens / per-run audit / cloud boundary | (stable) |
eyes Β· dashboard | Live browser/terminal view of outbound traffic | (beta) |
scan --file|--stdin | Explainable secret scan (prefix/jwt/env-key/entropy), exit 1 on findings | (stable) |
preflight simulate | Predict allow/block for candidate actions vs the active policy | (stable) |
preflight | Backward-looking miner of past opening-move patterns | (beta) |
audit verify Β· attest [verify] | Verify the hash chain Β· build/verify a signed attestation | (stable) |
bundle --run <id> β verify <file> | Pack one run into a portable evidence file Β· verify it offline | (stable) |
policy show/validate/lock/diff | Inspect Β· lint Β· record the approved policy Β· detect drift | (stable) |
explain <event-id> | Connect a BLOCK to the rule that caused it + how to unblock | (stable) |
anomalies | Windowed EDR over the chain | (beta) |
doctor [--paranoid] | Setup health Β· local-first self-audit | (stable) |
Produce one file an auditor or CI receives and checks in a single command:
verify checks the schema, the manifest hashes, the chain slice integrity, the
policy binding, the git-state vs chain cross-check, and the Sigstore signature
when present β all against data embedded in the file (never the producer's
machine). The run is bound to the concrete code it touched via git_state rows
(HEAD + diff hash + changed files). Signing is optional; an unsigned bundle still
verifies everything else. Bundles embed absolute producer paths β an
internal-audit artifact; review before sharing publicly. β docs/VERIFY.md
~/.occasio/policy.yml governs the Occasio-controlled path: secret handling,
deny_paths/allow_paths, custom deny_patterns, per-round limits, and tool
routing. Approve it and pin against drift:
β docs/POLICY.md
scan never prints the secret in plaintext (masked snippet + SHA-256). preflight simulate runs candidate actions through the same policy engine the runtime
uses and shows the matched rule + how to unblock for anything it would block.
β docs/SCAN.md Β· docs/PREFLIGHT.md
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/occasio)<a href="https://allmcps.com/mcp/occasio"><img src="https://allmcps.com/api/badge/occasio?style=directory" alt="Occasio on AllMCPs" /></a>