Agent Receipts MCP logo

Agent Receipts MCP

Signed, tamper-evident, offline-verifiable audit receipts for AI agent actions.

Install Agent Receipts MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "agent-receipts-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "-p",
        "agent-receipts-mcp",
        "agent-receipts-verify"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 4 tools correctly (12d ago).

Overview

Tools4

What Agent Receipts MCP lets your agent do. Expand a tool for its parameters.

Verified live~702 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked Today

Recent health check succeeded.

7/7 checks healthy over the last 53d

What it can do

From the 4 tools this server returned when we ran it.

Read-only tools · 4
Network at startup3 connections
Files written at startup4
Install scriptsNone
npm provenanceNot published
Package age98 days
Maintainers1

Observed 2026-10-23 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · agent-receipts-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads187Package downloads in the last 30 days.
Last commit3mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed4Callable tools this server registers over MCP.
Directory activity3 viewsConfig copies, upvotes, and views on AllMCPs.

From the project README

agent-receipts

npm license

Prove what your AI agents did.

On August 2, 2026, the EU AI Act's record-keeping obligations for high-risk AI systems became enforceable: automatic event logging (Article 12), deployer log retention of at least six months (Article 26), and penalties up to €15M or 3% of global turnover. The question your auditor, regulator, or counterparty will ask is simple:

"Your AI agent approved this. Prove exactly what it did — and prove nobody edited the record."

An ordinary log file can't answer that: whoever owns the log can edit it. agent-receipts gives every consequential agent action a cryptographically signed, timestamped receipt that anyone can verify offline — and exports signed audit bundles you can hand directly to a compliance officer.

What a receipt proves

  • What happened, when — action type, summary, actor, principal, ISO 8601 timestamp
  • It hasn't been altered — Ed25519 signature over canonical JSON; change one character and verification fails
  • Nothing was deleted — receipts are hash-chained with monotonic sequence numbers per vault; every audit export automatically flags gaps (deletions) and chain breaks
  • Without exposing your data — hash-only privacy: payloads are SHA-256 fingerprinted and immediately discarded, never stored or transmitted

Built for the audit conversation

export_audit_bundle produces what compliance actually needs: all receipts in a date range, a tamper-evidence report (sequence gaps, chain breaks), the signing public key, and a manifest signature over the whole bundle. Retention is yours to control — the vault is a local SQLite file you keep as long as Article 26 (or your policy) requires.

You don't have to trust us. Receipts verify offline against a pinned public key with the bundled CLI — no account, no network call, no dependence on this service existing tomorrow. That's what makes the evidence durable.

Quick start (MCP — local, free)

jsonc
// Claude Desktop / Claude Code / any MCP client
{
  "mcpServers": {
    "agent-receipts": {
      "command": "npx",
      "args": ["-y", "agent-receipts-mcp"],
      "env": { "AGENT_RECEIPTS_DATA": "<where-to-keep-the-vault>" }
    }
  }
}

Requires Node.js >= 22.13 (uses the built-in node:sqlite — zero native dependencies). Prefer one-click? Grab the .mcpb bundle from Releases and open it with Claude Desktop.

ToolWhen an agent should call it
issue_receiptImmediately after any consequential action. Returns the signed receipt.
verify_receiptBefore trusting a receipt presented by another agent or system.
export_audit_bundleWhen a human asks for the audit trail of a date range.
get_service_infoTo fetch the public key worth pinning for offline verification.

Quick start (HTTP API)

Terminal
npm install && npm run build
npm run serve        # http://localhost:8787
bash
# 1. Create a vault (returns your API key — shown once)
curl -X POST localhost:8787/v1/vaults -d '{"name":"acme-compliance"}'

# 2. Issue a receipt after an agent action
curl -X POST localhost:8787/v1/receipts \
  -H "Authorization: Bearer ark_..." \
  -d '{"action_type":"invoice.approved","summary":"Approved INV-1042 for EUR 1,250",
       "payload":{"invoice":"INV-1042","amount":1250},"actor":"agent:ap-bot@acme"}'

# 3. Anyone can verify — no auth
curl -X POST localhost:8787/v1/verify -d '{"receipt":{...}}'

# 4. Export a signed audit bundle for the compliance officer
curl "localhost:8787/v1/export?from=2026-01-01" -H "Authorization: Bearer ark_..."

Service manifest for machine discovery: GET /.well-known/agent-receipts.json.

Offline verification

Terminal
npx -y -p agent-receipts-mcp agent-receipts-verify receipt.json --pubkey <base64-spki-der>
# exit 0 = authentic, exit 1 = invalid/tampered

Receipt format (agent-receipts/v1)

JSON Config
{
  "schema": "agent-receipts/v1",
  "id": "rcpt_...",
  "vault_id": "vlt_...",
  "sequence": 42,                      // monotonic per vault; gaps = deletion evidence
  "issued_at": "2026-07-15T12:34:56.789Z",
  "action": {
    "type": "invoice.approved",
    "summary": "Approved invoice INV-1042 for EUR 1,250",
    "actor": "agent:ap-bot@acme",      // optional
    "principal": "acme-gmbh",          // optional
    "context": { "jurisdiction": "EU" } // optional
  },
  "payload_hash": "sha256:...",        // or null; contents never stored
  "prev_receipt_hash": "sha256:...",   // hash chain to the previous receipt
  "key_id": "key_...",
  "public_key": "<base64 SPKI DER>",   // embedded for offline verification
  "signature": "<base64 Ed25519 over canonical JSON of everything above>"
}

Canonicalization is JCS-style: lexicographically sorted keys, no whitespace. The JSON Schema lives at docs/receipt.schema.json.

EU AI Act mapping (informational)

ObligationHow agent-receipts helps
Art. 12 — automatic event loggingissue_receipt on every consequential action; timestamps, actor, traceable chain
Art. 26 — keep logs ≥ 6 monthsLocal vault you retain on your terms; signed export_audit_bundle for handover
Traceability / integrityEd25519 signatures, hash chain, deletion detection, offline verification

Not legal advice. Whether your system is "high-risk" and what you must log is a question for your counsel. agent-receipts produces evidence infrastructure.

Status & roadmap

  • Core: issue / verify / export with hash chain + Ed25519
  • MCP stdio server + HTTP API + offline verifier CLI + MCPB bundle
  • Hosted vaults with per-receipt pricing
  • RFC 3161 / transparency-log timestamp anchoring
  • Key rotation and multi-key verification

MIT License.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Agent Receipts MCP

agent-receipts-mcp is an MCP server that issues signed, timestamped receipts for consequential AI-agent actions. It hash-chains receipts in a local SQLite vault, fingerprints payloads with SHA-256 without storing them, and supports offline verification and signed audit-bundle export. Receipts use Ed25519 signatures, monotonic per-vault sequence numbers, and tamper-evidence checks.

Run it with npx and configure the AGENT_RECEIPTS_DATA environment variable to choose where the local vault is kept. The server requires Node.js 22.13 or newer and can be configured in Claude Desktop, Claude Code, or another MCP client.

The server provides issue_receipt, verify_receipt, export_audit_bundle, and get_service_info. Use issue_receipt after consequential actions, verify_receipt before trusting a receipt, export_audit_bundle for a date-range audit trail, and get_service_info to retrieve the public key for offline verification.

No, it does not store or transmit the original payloads. Payloads are fingerprinted with SHA-256 and immediately discarded, while the receipt records action metadata such as the action type, summary, actor, principal, and timestamp.

Verify receipts offline against a pinned signing public key using the bundled CLI or the verify_receipt tool. The export_audit_bundle tool produces receipts for a date range, a tamper-evidence report covering sequence gaps and chain breaks, the signing public key, and a manifest signature over the bundle.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAgent Receipts MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/agent-receipts-mcp?style=directory)](https://allmcps.com/mcp/agent-receipts-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/agent-receipts-mcp"><img src="https://allmcps.com/api/badge/agent-receipts-mcp?style=directory" alt="Agent Receipts MCP on AllMCPs" /></a>