MCP server
seatledger
Local ledger of Claude Code and Codex tokens, API-equivalent cost, limits and token-rate…
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 0.3.0
- Listing updated
- 4 days ago
About seatledger
seatledger is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Local ledger of Claude Code and Codex tokens, API-equivalent cost, limits and token-rate changes.
Install
Run in a terminal
claude mcp add seatledger --env SEATLEDGER_KEY='<SEATLEDGER_KEY>' -- npx -y seatledgerAdd to claude_desktop_config.json
{
"mcpServers": {
"seatledger": {
"command": "npx",
"args": [
"-y",
"seatledger"
],
"env": {
"SEATLEDGER_KEY": "<SEATLEDGER_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"seatledger": {
"command": "npx",
"args": [
"-y",
"seatledger"
],
"env": {
"SEATLEDGER_KEY": "<SEATLEDGER_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"seatledger": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"seatledger"
],
"env": {
"SEATLEDGER_KEY": "<SEATLEDGER_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"seatledger": {
"command": "npx",
"args": [
"-y",
"seatledger"
],
"env": {
"SEATLEDGER_KEY": "<SEATLEDGER_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"seatledger": {
"command": "npx",
"args": [
"-y",
"seatledger"
],
"env": {
"SEATLEDGER_KEY": "<SEATLEDGER_KEY>"
}
}
}
}Configuration
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_KEYTeam ledger push key for seatledger_team_summary, if not saved by `seatledger team join` or `team create`
Pricing
Open source
seatledger FAQ
Is seatledger free?
Yes. seatledger is open source, so you can use and self-host it for free.
How do I add seatledger to Claude Code?
Run this command in your terminal: claude mcp add seatledger --env SEATLEDGER_KEY='<SEATLEDGER_KEY>' -- npx -y seatledger