AgentLedger MCP server
online · 100% uptimeMeter, cap, and block AI agent spend before the provider is charged.
not scanned yet
0 stars
Reviews
Write oneNobody has reviewed AgentLedger yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
AgentLedger tools
Tool list not cached yet. `describe` through the gateway fetches it live.
How AgentLedger compares
Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 80% of 4,460 AI and agents servers
- Uptime
- 100%
- of our recent checks; the typical remote AI and agents server answers 100%
- Response time
- 198 ms
- faster than 66% of 2,331 AI and agents servers
Release history: 4 versions in the registry since 2026-09-14, latest 2026-10-16, typically one every 8 days.
Install AgentLedger in Claude Code, Cursor or VS Code
claude mcp add --transport http agent-ledger https://aiagentscity.com/mcp/
What the publisher says
From the AgentLedger repository's README, as published. We do not edit it. Read it on GitHub
AgentLedger — Per-Agent Spend Management
Track AI agent spend across x402/MPP/API-key rails, set budget caps, catch
spending anomalies, keep audit trails. The "Datadog for agent spending" —
the #1 verified community ask from agent builders.
🎯 Free tier: 3 agents per workspace, no card, no login. POST /start mints the workspace and shows the key once.
Connect AgentLedger
Connecting takes no auth handshake. Before your first write you need a workspacekey**, which you get one of two ways:
X-PAYMENT header. The paying wallet becomes the workspace identity — no email, no login, no human in the loop.
- Autonomous agent with a wallet: POST /v1/billing/x402 with an
/start — no signup, no login, no card. The workspace_key is shown once, right there, and the page carries the upgrade link for that workspace.
- Human: open
The key claims new agentids. Each claim mints that agent's own agentsecret, which is what authenticates every later write — the workspace_key is never needed again for that agent.
Claude Code:
claude mcp add --transport http agent-ledger https://aiagentscity.com/mcp/Codex:
codex mcp add agent-ledger --url https://aiagentscity.com/mcp/Cursor — merge into mcp.json:
{
"mcpServers": {
"agent-ledger": {
"url": "https://aiagentscity.com/mcp/"
}
}
}Any other MCP client: point it at the streamable-http remote https://aiagentscity.com/mcp/ — no headers, no auth handshake required to connect.
Try these prompts once connected:
- "Track my Claude Code spend"
- "Alert when any agent exceeds $50/day"
- "Weekly P&L report"
Try it — get a key, then track
# Track a spend — the FIRST call for a new agent_id CLAIMS it, so it needs
# your workspace_key, and it returns that agent's agent_secret.
# Save the secret: every later write (track/budget) to this agent_id uses it
# instead, and needs no workspace_key.
curl -X POST https://aiagentscity.com/v1/track \
-H "Content-Type: application/json" \
-H "AL-API-Version: 2026-09-01" \
-d '{"agent_id":"my-agent","rail":"x402","amount_cents":100,"service":"search_query","workspace_key":"YOUR_WORKSPACE_KEY"}'
# Set a monthly budget cap — pass the agent_secret from above
curl -X POST https://aiagentscity.com/v1/budget \
-H "Content-Type: application/json" \
-H "AL-API-Version: 2026-09-01" \
-d '{"agent_id":"my-agent","monthly_cents":5000,"agent_secret":"YOUR_SAVED_SECRET"}'
# Spend report + anomalies — requires the agent_secret from above
curl https://aiagentscity.com/v1/report/my-agent \
-H "X-Agent-Secret: YOUR_SAVED_SECRET"Want to just look at it? Every agent has a human-readable page (send the secret as a header, no curl needed for the JSON): https://aiagentscity.com/v1/report/my-agent/html
/v1/report, /v1/tokens, and /v1/alerts all require either X-Agent-Secret: or X-Workspace-Key: — missing or wrong credential gets 401. Headers only: there is no cookie or session arm, and no unauthenticated read path on REST or MCP. This is what stops a stranger from reading or overwriting someone else's agent_id.
Note this is a deliberate break from AgentLedger's earlier "share the link, anyone can read it" behavior — traded for real isolation between customers.
Two lines to a metered, capped agent
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Grade history
- 2026-09-19restoreB → Ascore 88
AgentLedger: common questions
- Is AgentLedger MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the AgentLedger safety report
- How do I install AgentLedger?
- It runs remotely at aiagentscity.com. Add it to Claude Code, Cursor, VS Code or Claude Desktop with the snippets above, or call it through the mcp.market gateway without installing anything.
- Does AgentLedger need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is AgentLedger maintained?
- The last commit was 33 days ago (2026-10-02). The latest release is v0.4.7.
- Is AgentLedger up?
- 100% of our last 28 checks got an answer. We check remote servers about four times a day.
- What can I use instead of AgentLedger?
- Servers from other publishers that do the same job: three.ws Autopilot MCP server, Decionis MCP server and Cap Js MCP server.
- How does AgentLedger compare with other AI and agents MCP servers?
- safety score 88/100 (higher than 80% of 4,460 AI and agents servers); uptime 100% (of our recent checks; the typical remote AI and agents server answers 100%); response time 198 ms (faster than 66% of 2,331 AI and agents servers). Full comparison.
Alternatives to AgentLedger
Same job from other publishers: the closest match first, then the best rated.
- three.ws AutopilotSet autopilot scopes and a daily SOL spend cap, then propose, execute, and undo agent actions.not reviewedEstablishedB
- DecionisAuthorize consequential AI agent actions before executionnot reviewedEstablishedA
- Cap JsModel Context Protocol (MCP) server for AI-assisted development of CAP applications.not reviewedEstablishedA
- freellmpoolOpenAI-compatible MCP gateway cataloging 22 LLM providers, with routing, failover, and tools.not reviewedEstablishedA
- GrandetCheapest API for any model across official, inference and relay providers; find free creditsnot reviewedEstablishedA