Audit Ledger MCP
Record AI decisions to a tamper-evident audit ledger from any MCP-compatible agent.
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.3.1
- Listing updated
- 5 days ago
About Audit Ledger MCP
Audit Ledger MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add audit-ledger-mcp --env AUDIT_WRITE_KEY='<AUDIT_WRITE_KEY>' --env AUDIT_READ_KEY='<AUDIT_READ_KEY>' --env AUDIT_HMAC_KEY='<AUDIT_HMAC_KEY>' -- npx -y audit-ledger-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"audit-ledger-mcp": {
"command": "npx",
"args": [
"-y",
"audit-ledger-mcp"
],
"env": {
"AUDIT_WRITE_KEY": "<AUDIT_WRITE_KEY>",
"AUDIT_READ_KEY": "<AUDIT_READ_KEY>",
"AUDIT_HMAC_KEY": "<AUDIT_HMAC_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"audit-ledger-mcp": {
"command": "npx",
"args": [
"-y",
"audit-ledger-mcp"
],
"env": {
"AUDIT_WRITE_KEY": "<AUDIT_WRITE_KEY>",
"AUDIT_READ_KEY": "<AUDIT_READ_KEY>",
"AUDIT_HMAC_KEY": "<AUDIT_HMAC_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"audit-ledger-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"audit-ledger-mcp"
],
"env": {
"AUDIT_WRITE_KEY": "<AUDIT_WRITE_KEY>",
"AUDIT_READ_KEY": "<AUDIT_READ_KEY>",
"AUDIT_HMAC_KEY": "<AUDIT_HMAC_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"audit-ledger-mcp": {
"command": "npx",
"args": [
"-y",
"audit-ledger-mcp"
],
"env": {
"AUDIT_WRITE_KEY": "<AUDIT_WRITE_KEY>",
"AUDIT_READ_KEY": "<AUDIT_READ_KEY>",
"AUDIT_HMAC_KEY": "<AUDIT_HMAC_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"audit-ledger-mcp": {
"command": "npx",
"args": [
"-y",
"audit-ledger-mcp"
],
"env": {
"AUDIT_WRITE_KEY": "<AUDIT_WRITE_KEY>",
"AUDIT_READ_KEY": "<AUDIT_READ_KEY>",
"AUDIT_HMAC_KEY": "<AUDIT_HMAC_KEY>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
AUDIT_API_URLYour deployed audit-ledger API endpoint (e.g. https://<api-id>.execute-api.<region>.amazonaws.com/prod). Leave unset to run in sandbox mode against the public shared tenant.AUDIT_WRITE_KEYTenant write key for your deployed ledger. Required if AUDIT_API_URL is set and you want to call record_decision.AUDIT_READ_KEYTenant read key for your deployed ledger. Required if AUDIT_API_URL is set and you want to call verify_decision or list_decisions.AUDIT_TIMEOUT_MSHTTP timeout in milliseconds. Defaults to 5000.AUDIT_RETRY_ATTEMPTSNumber of retry attempts on transient failures. Defaults to 3.AUDIT_HMAC_KEYTenant secret used to HMAC-SHA256 PII and prompts locally before sending. Generate once per tenant (e.g. node -e "console.log(require('crypto').randomBytes(32).toString('hex'))") and keep it in your environment. The key never leaves your process. If unset, the MCP falls back to plain SHA-256 for backwards compatibility and logs a one-time deprecation warning; set this to switch to keyed hashing, which regulators (ICO/EDPB) expect for pseudonymisation.
Pricing
Open source
Audit Ledger MCP FAQ
Is Audit Ledger MCP free?
Yes. Audit Ledger MCP is open source, so you can use and self-host it for free.
How do I add Audit Ledger MCP to Claude Code?
Run this command in your terminal: claude mcp add audit-ledger-mcp --env AUDIT_WRITE_KEY='<AUDIT_WRITE_KEY>' --env AUDIT_READ_KEY='<AUDIT_READ_KEY>' --env AUDIT_HMAC_KEY='<AUDIT_HMAC_KEY>' -- npx -y audit-ledger-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.