seatledger
Local ledger of Claude Code and Codex tokens, API-equivalent cost, limits and token-rate changes.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
seatledgerclaude mcp add seatledger -e 'CLAUDE_CONFIG_DIR=<CLAUDE_CONFIG_DIR>' -e 'CODEX_HOME=<CODEX_HOME>' -e 'SEATLEDGER_HOME=<SEATLEDGER_HOME>' -e 'SEATLEDGER_KEY=<your seatledger_key>' -- npx -y seatledger@0.3.0 mcp
{
"mcpServers": {
"seatledger": {
"command": "npx",
"args": [
"-y",
"seatledger@0.3.0",
"mcp"
],
"env": {
"CLAUDE_CONFIG_DIR": "<CLAUDE_CONFIG_DIR>",
"CODEX_HOME": "<CODEX_HOME>",
"SEATLEDGER_HOME": "<SEATLEDGER_HOME>",
"SEATLEDGER_KEY": "<your seatledger_key>"
}
}
}
}
Environment variables
CLAUDE_CONFIG_DIRClaude Code's config directory, if not ~/.claude; transcripts are read from its projects/ folderCODEX_HOMECodex's home directory, if not ~/.codex; rollouts are read from its sessions/ folderSEATLEDGER_HOMEWhere seatledger keeps your limits and its cache of counts (default ~/.seatledger)SEATLEDGER_KEYsecret Team ledger push key for seatledger_team_summary, if not saved by `seatledger team join` or `team create`
Frequently asked questions
What is seatledger?
Local ledger of Claude Code and Codex tokens, API-equivalent cost, limits and token-rate changes.
How do I install seatledger?
It runs on your machine. In Claude Code: claude mcp add seatledger -e 'CLAUDE_CONFIG_DIR=<CLAUDE_CONFIG_DIR>' -e 'CODEX_HOME=<CODEX_HOME>' -e 'SEATLEDGER_HOME=<SEATLEDGER_HOME>' -e 'SEATLEDGER_KEY=<your seatledger_key>' -- npx -y seatledger@0.3.0 mcp. For other clients, paste the JSON configuration from this page into their MCP settings.
Does seatledger need an API key?
Yes. It expects SEATLEDGER_KEY, which you set in its configuration.
Is seatledger open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains seatledger?
It is published by agentwares. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.