Tax Ledger for developers

The MCP server and REST API use the same rules as the web app. Each API key reaches one private ledger. New accounts get 7 days free, then $9.99/month or $50/year automatically until canceled. Payment method required. Start your free trial.

Setting up an assistant for a user? Read the agent setup guide.

API keys

Claude Code

Add Tax Ledger as a user-scoped MCP server with a scoped API key:

$ claude mcp add --scope user --transport http tax-ledger https://trytaxledger.com/mcp --header "Authorization: Bearer <SCOPED_API_TOKEN>"

Restart any open Claude Code session to load Tax Ledger.

MCP endpoint

REST API

/api routes accept a scoped API key (Authorization: Bearer <SCOPED_API_TOKEN>) or a signed-in web session, and cover:

GET /api/health is public. Receipt, export, and upload links also need the owner's session or API key. A link alone gives no access.

Errors use the shape { "error": { "code", "message" } }.

Status rules

The web app, the REST API, and MCP use the same rules.