Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Audit Ledger MCP

by shahidh68version 0.3.1i★ 1iRuns on your computerRepository ↗
Registry nameio.github.shahidh68/audit-ledger-mcp

How to install

What it does

Record AI decisions to a tamper-evident audit ledger from any MCP-compatible agent.

  • Connects Runs on your computer
  • Account or key Needs AUDIT_WRITE_KEY, AUDIT_READ_KEY, AUDIT_HMAC_KEY
  • Category Accounting, finance & tax

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity4/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness3/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score7/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Audit Ledger MCP. Follow https://mcp.popnx.com/i/shahidh68-audit-ledger-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Audit Ledger MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Audit Ledger MCP for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "audit-ledger": { "command": "npx", "args": [ "-y", "audit-ledger-mcp" ], "env": { "AUDIT_WRITE_KEY": "your-value", "AUDIT_READ_KEY": "your-value", "AUDIT_HMAC_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For AUDIT_WRITE_KEY, AUDIT_READ_KEY, AUDIT_HMAC_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Audit Ledger MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Audit Ledger MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "audit-ledger": {
          "command": "npx",
          "args": [
            "-y",
            "audit-ledger-mcp"
          ],
          "env": {
            "AUDIT_WRITE_KEY": "your-value",
            "AUDIT_READ_KEY": "your-value",
            "AUDIT_HMAC_KEY": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Quit Claude and open it again

  6. Try it

    Use Audit Ledger MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Audit Ledger MCP or shows a Audit Ledger MCP tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • AUDIT_API_URL Your deployed audit-ledger API endpoint (e.g. https:// .execute-api. .amazonaws.com/prod). Leave unset to run in sandbox mode against the public shared tenant.
  • AUDIT_TIMEOUT_MS HTTP timeout in milliseconds. Defaults to 5000.
  • AUDIT_RETRY_ATTEMPTS Number of retry attempts on transient failures. Defaults to 3.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Audit Ledger MCP yet

Audit Ledger MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Audit Ledger MCP

  • You need a Audit Ledger MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Audit Ledger MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Audit Ledger MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Audit Ledger MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

B · Others in Accounting, finance & tax that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Audit Ledger MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Audit Ledger MCP for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user audit-ledger --env AUDIT_WRITE_KEY=your-value --env AUDIT_READ_KEY=your-value --env AUDIT_HMAC_KEY=your-value -- npx -y audit-ledger-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For AUDIT_WRITE_KEY, AUDIT_READ_KEY, AUDIT_HMAC_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Audit Ledger MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Audit Ledger MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add --scope user audit-ledger --env AUDIT_WRITE_KEY=your-value --env AUDIT_READ_KEY=your-value --env AUDIT_HMAC_KEY=your-value -- npx -y audit-ledger-mcp

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see Audit Ledger MCP listed as connected

  6. Try it

    Use Audit Ledger MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Audit Ledger MCP or shows a Audit Ledger MCP tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • AUDIT_API_URL Your deployed audit-ledger API endpoint (e.g. https:// .execute-api. .amazonaws.com/prod). Leave unset to run in sandbox mode against the public shared tenant.
  • AUDIT_TIMEOUT_MS HTTP timeout in milliseconds. Defaults to 5000.
  • AUDIT_RETRY_ATTEMPTS Number of retry attempts on transient failures. Defaults to 3.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Audit Ledger MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Audit Ledger MCP for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "audit-ledger": { "command": "npx", "args": [ "-y", "audit-ledger-mcp" ], "env": { "AUDIT_WRITE_KEY": "your-value", "AUDIT_READ_KEY": "your-value", "AUDIT_HMAC_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For AUDIT_WRITE_KEY, AUDIT_READ_KEY, AUDIT_HMAC_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Audit Ledger MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Audit Ledger MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the Audit Ledger MCP settings, AUDIT_WRITE_KEY, AUDIT_READ_KEY, AUDIT_HMAC_KEY is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use Audit Ledger MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Audit Ledger MCP or shows a Audit Ledger MCP tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • AUDIT_API_URL Your deployed audit-ledger API endpoint (e.g. https:// .execute-api. .amazonaws.com/prod). Leave unset to run in sandbox mode against the public shared tenant.
  • AUDIT_TIMEOUT_MS HTTP timeout in milliseconds. Defaults to 5000.
  • AUDIT_RETRY_ATTEMPTS Number of retry attempts on transient failures. Defaults to 3.

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Audit Ledger MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Audit Ledger MCP for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "audit-ledger": { "type": "stdio", "command": "npx", "args": [ "-y", "audit-ledger-mcp" ], "env": { "AUDIT_WRITE_KEY": "your-value", "AUDIT_READ_KEY": "your-value", "AUDIT_HMAC_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For AUDIT_WRITE_KEY, AUDIT_READ_KEY, AUDIT_HMAC_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Audit Ledger MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Audit Ledger MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the Audit Ledger MCP settings, AUDIT_WRITE_KEY, AUDIT_READ_KEY, AUDIT_HMAC_KEY is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use Audit Ledger MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Audit Ledger MCP or shows a Audit Ledger MCP tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • AUDIT_API_URL Your deployed audit-ledger API endpoint (e.g. https:// .execute-api. .amazonaws.com/prod). Leave unset to run in sandbox mode against the public shared tenant.
  • AUDIT_TIMEOUT_MS HTTP timeout in milliseconds. Defaults to 5000.
  • AUDIT_RETRY_ATTEMPTS Number of retry attempts on transient failures. Defaults to 3.

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Audit Ledger MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user audit-ledger --env AUDIT_WRITE_KEY=your-value --env AUDIT_READ_KEY=your-value --env AUDIT_HMAC_KEY=your-value -- npx -y audit-ledger-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "audit-ledger": {
      "command": "npx",
      "args": [
        "-y",
        "audit-ledger-mcp"
      ],
      "env": {
        "AUDIT_WRITE_KEY": "your-value",
        "AUDIT_READ_KEY": "your-value",
        "AUDIT_HMAC_KEY": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "audit-ledger": {
      "command": "npx",
      "args": [
        "-y",
        "audit-ledger-mcp"
      ],
      "env": {
        "AUDIT_WRITE_KEY": "your-value",
        "AUDIT_READ_KEY": "your-value",
        "AUDIT_HMAC_KEY": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "audit-ledger": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "audit-ledger-mcp"
      ],
      "env": {
        "AUDIT_WRITE_KEY": "your-value",
        "AUDIT_READ_KEY": "your-value",
        "AUDIT_HMAC_KEY": "your-value"
      }
    }
  }
}

Values you fill in

  • AUDIT_API_URL env
    Your deployed audit-ledger API endpoint (e.g. https:// .execute-api. .amazonaws.com/prod). Leave unset to run in sandbox mode against the public shared tenant.
  • AUDIT_WRITE_KEY secret required env
    Tenant write key for your deployed ledger. Required if AUDIT_API_URL is set and you want to call record_decision.
  • AUDIT_READ_KEY secret required env
    Tenant 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_MS env
    HTTP timeout in milliseconds. Defaults to 5000.
  • AUDIT_RETRY_ATTEMPTS env
    Number of retry attempts on transient failures. Defaults to 3.
  • AUDIT_HMAC_KEY secret required env
    Tenant 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…

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
64/wk
Licencei
Apache-2.0
Connection
Runs on your computer
Latest versioni
0.3.1
Published to registryi
Jun 6, 2026
Code last changedi
Jul 7, 2026
Maker
shahidh68
Packages
npm: audit-ledger-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account shahidh68, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 4 months ago

  • ✓ Pass

    Has a licence

    Uses Apache-2.0

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for audit-ledger-mcp@0.3.1

Checks only this package version, not every dependency · checked Nov 16, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/shahidh68-audit-ledger-mcp.svg)](https://mcp.popnx.com/en/servers/shahidh68-audit-ledger-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Accounting, finance & taxi

  • More stars than 87% of the other 3423 servers in this category
  • Published to the registry more recently than 8% of the other 3423 servers in this category
  • Basic checks equal to or better than 99% of the other 3423 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Audit Ledger MCP safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: AUDIT_WRITE_KEY, AUDIT_READ_KEY, AUDIT_HMAC_KEY

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 4 months ago, and the latest version (0.3.1) reached the registry 6 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: SolidInvoice, Signal8, Journalit, Beancount.io, Tapetide - Indian Stock Market MCP

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Signal8

SEC filings, dilution, insider & institutional ownership, and political-trade data for AI agents.

by signal8aiGrowing↓ 431/wk★ 425Updated 10 days ago

Computer or cloud✓ service owner · signal8.ai

Journalit

Trading journal in Obsidian. Ask Claude or ChatGPT about your trades; edits are previewed first.

by CursivezGrowing★ 261Updated 11 days ago

Runs in the cloud✓ service owner · journalit.co

Beancount.io

Query, edit, and reconcile a hosted Beancount ledger: BQL, reports, files, and bank imports.

by bex-coGrowing★ 702 Stars for the whole repoUpdated 44 days ago

Runs in the cloud✓ service owner · beancount.io
Compared with similar ones
This one
Audit Ledger MCP
SolidInvoiceSignal8JournalitBeancount.ioTapetide - Indian Stock Market MCP
Runs whereInstalls on your computerRuns in the cloud, nothing to installCloud or install on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installCloud or install on your computer
Needs a keyYesNoYesNoNoYes
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/34/65/54/44/45/5
LicenseApache-2.0MITMITNOASSERTIONMITMIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

audit-ledger-mcp

Connect Claude, Cursor, LangGraph, or your own agent to the [AI Audit Ledger](https://github.com/shahidh68/audit-ledger). This MCP server gives an agent the tools to record, check, and list decisions in a tamper-evident log with one line of config.

It is built for teams that need a clear record of AI decisions: EU AI Act Article 12 logging, FCA SS1/23 model risk evidence, and GDPR data minimisation. Raw personal data is hashed locally before anything is sent, so the ledger only sees fingerprints.

The AI Audit Ledger family. This MCP server writes decisions to the

ledger, which proves what happened

and whether the record was changed. The

AI Decision Evidence Hub sits

above the ledger, read-only. It turns each lightweight decision record into an

audit case file by showing what evidence is present, what is still missing, who

owns each gap, and the current readiness score. Family:

audit-ledger · audit-ledger-mcp ·

evidence-hub.

[Try the live dashboard →](https://d2pfirb2397ixy.cloudfront.net/?demo=1) · 30 synthetic decisions written via this MCP server, queryable and verifiable.

A LangGraph workflow calls record_decision after each agent step. Three audit events written to the live ledger; every one independently verifiable.


What it does

Exposes four tools to any MCP-compatible agent:

ToolWhat it does
record_decisionLog an AI decision. Hashes inputs locally, then writes through to the ledger. Returns an event ID.
verify_decisionCross-check a stored record against the immutable S3 Object Lock copy. Returns integrity_verified: true/false.
verify_completenessDetect deleted or missing records. Compares the ledger's per-tenant counter against the rows actually present and returns any sequence numbers that are gone. The answer to "can you prove the log is complete?"
list_decisionsQuery recent decisions, optionally filtered by time window. Tenant-scoped by API key.

Each call ends up as a regulator-grade audit record in your deployed ledger — DynamoDB for query, S3 Object Lock COMPLIANCE mode for the immutable copy, 7-year retention by default.


Quick start — zero configuration

npx -y audit-ledger-mcp

That's it. With no environment variables, the server boots into sandbox mode and writes records to a shared public tenant on a hosted ledger. You can try every tool — record_decision, verify_decision, verify_completeness, list_decisions — without provisioning anything.

When sandbox mode is active, you'll see a banner on stderr:

[audit-ledger-mcp] ─────────────── SANDBOX MODE ───────────────

[audit-ledger-mcp] No AUDIT_API_URL configured. [audit-ledger-mcp] Using the public sandbox at sandbox-public. [audit-ledger-mcp] View: https://d2pfirb2397ixy.cloudfront.net [audit-ledger-mcp] Do NOT write real personal data...

Sandbox properties
Hosted bygithub.com/shahidh68/audit-ledger (same AWS deployment)
Tenantsandbox-public (shared, public)
Rate limit100 requests/minute per IP
Retention7 years (records cannot be deleted)
AudienceTyre-kickers, integration tests, framework demos
NOT forProduction data, customer PII, real compliance records
Wire it into Claude Desktop with zero config
{

"mcpServers": { "audit-ledger-sandbox": { "command": "npx", "args": ["-y", "audit-ledger-mcp"] } } }

Restart Claude Desktop. The four tools appear in the MCP menu immediately. Try asking Claude to "record this decision: should X be approved?" and watch a record land in the sandbox dashboard.


Production install

For real workloads, deploy your own audit ledger and point the MCP server at it:

npm install -g audit-ledger-mcp

Configure with the API URL plus your tenant keys (any of them being set switches off sandbox mode). AUDIT_HMAC_KEY is technically optional for backwards compatibility but strongly recommended — see the note above the value below:

export AUDIT_API_URL="https://<api-id>.execute-api.<region>.amazonaws.com/prod"

export AUDIT_WRITE_KEY=" " export AUDIT_READ_KEY=" "

Strongly recommended. Tenant-held secret used to HMAC PII and prompts

locally before sending. Generate once, store next to AUDIT_WRITE_KEY:

node -e "console.log(require('crypto').randomBytes(32).toString('hex'))"

If unset, the MCP falls back to plain SHA-256 and warns once (back-compat).

export AUDIT_HMAC_KEY=" "

Optional

export AUDIT_TIMEOUT_MS=5000 # default 5000 export AUDIT_RETRY_ATTEMPTS=3 # default 3

The full template lives in .env.example.


Wire it into an agent

Claude Desktop

Edit your claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json):

{

"mcpServers": { "audit-ledger": { "command": "npx", "args": ["-y", "audit-ledger-mcp"], "env": { "AUDIT_API_URL": "https:// .execute-api. .amazonaws.com/prod", "AUDIT_WRITE_KEY": " ", "AUDIT_READ_KEY": " ", "AUDIT_HMAC_KEY": " " } } } }

AUDIT_HMAC_KEY is the tenant secret used to keyed-hash PII locally before any payload leaves the MCP server process. Generate it once with node -e "console.log(require('crypto').randomBytes(32).toString('hex'))" and store the result in the env block above. The MCP never transmits this value, only reads it.

Restart Claude Desktop. You'll see "audit-ledger" in the MCP tools menu. Ask Claude something like *"Record this decision: I declined the application because…"* and watch it call record_decision automatically.

Cursor

In Cursor settings → MCP → add server:

{

"mcpServers": { "audit-ledger": { "command": "npx", "args": ["-y", "audit-ledger-mcp"], "env": { "AUDIT_API_URL": "https:// .execute-api. .amazonaws.com/prod", "AUDIT_WRITE_KEY": " ", "AUDIT_READ_KEY": " ", "AUDIT_HMAC_KEY": " " } } } }

LangGraph (Python)

Using langchain-mcp-adapters:

from langchain_mcp_adapters.client import MultiServerMCPClient

from langgraph.prebuilt import create_react_agent from langchain_anthropic import ChatAnthropic import os

client = MultiServerMCPClient({ "audit-ledger": { "command": "npx", "args": ["-y", "audit-ledger-mcp"], "transport": "stdio", "env": { "AUDIT_API_URL": os.environ["AUDIT_API_URL"], "AUDIT_WRITE_KEY": os.environ["AUDIT_WRITE_KEY"], "AUDIT_READ_KEY": os.environ["AUDIT_READ_KEY"], "AUDIT_HMAC_KEY": os.environ["AUDIT_HMAC_KEY"], }, } })

tools = await client.get_tools() agent = create_react_agent( ChatAnthropic(model="claude-sonnet-4-7-20251022"), tools, )

The agent can now call record_decision, verify_decision, verify_completeness, list_decisions

result = await agent.ainvoke({ "messages": [{"role": "user", "content": "Triage this loan application…"}] })

Custom client (raw MCP)
AUDIT_API_URL=... AUDIT_WRITE_KEY=... AUDIT_READ_KEY=... AUDIT_HMAC_KEY=... npx -y audit-ledger-mcp

The server speaks MCP over stdio. Send initialize, tools/list, and tools/call requests per the MCP specification.


How a record_decision call flows

Agent                  audit-ledger-mcp                  AWS (your ledger)
raw_user_input(hash locally — no PII over
raw_system_promptthe wire from this point)
decision_output
human_in_loop
--- HTTPS POST /audit/events --->
{hashes + decision +
x-api-key}
<--- 202 Accepted ---------------
{ event_id, ... }
<--- event_id ------------
recorded_at
note

Storage on the AWS side happens asynchronously through SQS → Processor Lambda → DynamoDB + S3 Object Lock. See the main repo's ARCHITECTURE.md for the full path.


Tool reference

record_decision

Record an AI decision to the ledger.

ParameterTypeRequiredNotes
model_versionstringYese.g. "claude-sonnet-4-7-20251022"
raw_system_promptstringYesHashed locally
raw_user_inputstringYesHashed locally
ai_decision_outputobjectYesStored verbatim — must not contain raw PII
human_in_loopbooleanYesCritical for EU AI Act Article 14
event_iduuid v4NoAuto-generated if omitted
timestampISO 8601NoDefaults to now
verify_decision

Tamper-check a stored record.

ParameterTypeRequiredNotes
event_iduuid v4YesThe ID of the record to verify

Returns the DynamoDB record, the S3 record, and integrity_verified: true/false.

verify_completeness

Detect missing records. Sister tool to verify_decision: that one proves a record that exists has not been altered; this one proves no records have been deleted.

ParameterTypeRequiredNotes
fromintegerNoInclusive lower bound on sequence_no. Defaults to 1.
tointegerNoInclusive upper bound on sequence_no. Defaults to the tenant's current counter.
tenant_idstringNoRequired only with the admin read key; ignored otherwise.

Returns the requested range, the expected vs found count, the list of missing sequence numbers, and a human-readable note.

{

"tenant_id": "acme-prod", "range": { "from": 1, "to": 142 }, "expected_count": 142, "found_count": 140, "missing": [47, 91], "note": "Found 2 missing sequence number(s) in range. Each gap represents a deleted, lost, or never-written record. Cross-check against burned_sequence log entries before treating as a deletion." }

list_decisions

List recent decisions for the calling tenant.

ParameterTypeRequiredNotes
fromISO 8601NoDefaults to 7 days ago
toISO 8601NoDefaults to now
limitinteger 1–500NoDefaults to 100

Only the beginning is shown; read the rest in the repo