{
 "type": "mcp",
 "name": "AgentLedger",
 "registry_name": "io.github.entradox/agent-ledger",
 "also_published_as": [],
 "description": "Meter, cap, and block AI agent spend before the provider is charged.",
 "url": "https://aiagentscity.com/mcp/",
 "transport": "streamable-http",
 "website": "https://aiagentscity.com",
 "repo": "https://github.com/entradox/agent-ledger",
 "ours": false,
 "publisher": "io.github.entradox",
 "categories": [
  "agent-infra",
  "dev-tools",
  "security"
 ],
 "tests": {
  "tested_at": "2026-11-25T09:17:42.216Z",
  "http_status": 200,
  "initialize": "ok",
  "tools_list": "ok",
  "tool_count": 18,
  "latency_ms": 120,
  "tools_list_ms": 114,
  "protocol_version": "2025-06-18",
  "oauth_discovery": null,
  "server_info": {
   "name": "agent-ledger",
   "version": "0.4.7"
  },
  "error": null
 },
 "signals": {
  "github_stars": 0,
  "license": "MIT",
  "repo_pushed_at": "2026-10-28T04:21:48Z",
  "repo_archived": false,
  "npm_downloads_30d": null,
  "adoption_note": null,
  "registry_updated_at": "2026-10-16T18:01:22.025079Z",
  "registry_published_at": "2026-10-16T18:01:22.025079Z",
  "pypi_downloads": "missing"
 },
 "checks": {
  "latency": 100,
  "tool_docs": 100,
  "breadth": 74.9,
  "freshness": 100,
  "license": 100,
  "adoption": 0,
  "protocol": 100
 },
 "score": 67.5,
 "missing": [],
 "tools": [
  "ledger_rotate_secret",
  "ledger_revoke_secret",
  "ledger_track",
  "ledger_set_budget",
  "ledger_report",
  "ledger_proxy_attach",
  "ledger_alerts",
  "ledger_wait_events",
  "ledger_check_spend",
  "ledger_request_approval",
  "ledger_approvals",
  "ledger_approval_decide",
  "ledger_price",
  "ledger_start",
  "ledger_api_docs",
  "ledger_examples",
  "skills_list_tool",
  "read_skill"
 ],
 "tool_docs": [
  {
   "n": "ledger_rotate_secret",
   "d": "Mint a NEW agent_secret for an agent_id your workspace already owns, invalidating the old one. Use this to RECOVER an agent whose secret was lost: the previous "
  },
  {
   "n": "ledger_revoke_secret",
   "d": "Invalidate an agent_id's agent_secret WITHOUT deleting its spend history. Use when a credential may have leaked, or to stop an agent writing. Subsequent writes "
  },
  {
   "n": "ledger_track",
   "d": "Record a spend entry for an AI agent on any payment rail, with optional token counts. Claiming a brand-new agent_id requires your workspace_key (get one via x40"
  },
  {
   "n": "ledger_set_budget",
   "d": "Set spending caps for an agent. Warns at 80%, blocks spend when exceeded — enforced: a ledger_track call that would cross the cap is rejected. Dollar caps (mont"
  },
  {
   "n": "ledger_report",
   "d": "Spend report for an agent over a rolling window. Returns total spend, breakdown by rail and by service, budget status (ok/warning/exceeded), detected anomalies,"
  },
  {
   "n": "ledger_proxy_attach",
   "d": "Point your provider traffic at the proxy so budget caps are enforced BEFORE the provider is contacted, instead of being reported afterwards. This closes the gap"
  },
  {
   "n": "ledger_alerts",
   "d": "Alert history for an agent: budget warnings (80% threshold) and spending spikes. Requires a credential: either the agent's own agent_secret or its workspace's w"
  },
  {
   "n": "ledger_wait_events",
   "d": "Long-poll an agent's event feed — how an agent with no public URL receives alerts. Webhooks (POST /v1/webhooks) push events to a URL you own; an agent on stdio "
  },
  {
   "n": "ledger_check_spend",
   "d": "Ask BEFORE you spend: may this agent spend this much right now? Returns allowed (true/false), a stable reason code (within_budget, over_monthly_cap, over_daily_"
  },
  {
   "n": "ledger_request_approval",
   "d": "Ask your workspace owner for a one-shot spend exception before a ledger_track that the cap would refuse. Creates a pending permit for exactly amount_cents on th"
  },
  {
   "n": "ledger_approvals",
   "d": "List spend-approval permits — yours, or your whole workspace's."
  },
  {
   "n": "ledger_approval_decide",
   "d": "Approve or deny a pending spend permit — workspace owner only. The agent's own agent_secret can REQUEST an approval but can never decide one: a credential that "
  },
  {
   "n": "ledger_price",
   "d": "What will this call cost? Priced from the same table the caps use. Exists because ledger_track requires the CALLER to supply amount_cents, so an agent whose spe"
  },
  {
   "n": "ledger_start",
   "d": "Get a FREE AgentLedger workspace with no credential and no arguments — the MCP equivalent of opening POST /start in a browser. Call this FIRST if you have no cr"
  },
  {
   "n": "ledger_api_docs",
   "d": "Self-serve documentation for AgentLedger — quickstart, MCP tools, REST endpoints, budget caps, error codes, and idempotency usage, as markdown."
  },
  {
   "n": "ledger_examples",
   "d": "Complete, runnable Python recipe for a common AgentLedger integration pattern."
  },
  {
   "n": "skills_list_tool",
   "d": "List this product's skills. Each entry carries the SKILL.md URI, its name and description, verbatim frontmatter, and a per-file sha256 manifest. Read a body wit"
  },
  {
   "n": "read_skill",
   "d": "Read a product skill file by its skill:// URI."
  }
 ],
 "passed": true,
 "auth_required": false,
 "fail_reason": null,
 "category_confidence": 0.768,
 "category_source": "classifier",
 "category_scores": {
  "devops": 0.56,
  "productivity": 0.31,
  "dev-tools": 0.29,
  "travel": 0.22
 },
 "subcategory": "human-in-loop",
 "id": "io-github-entradox-agent-ledger",
 "listing": {
  "plan": "curated",
  "fee_usd": null,
  "note": "Listing fees are not active. Placement is earned only by test results."
 },
 "status": "listed",
 "first_seen": "2026-11-24",
 "uptime_days": "2/2"
}