# seatledger

> seatledger is an open-source MCP server. Local ledger of Claude Code and Codex tokens, API-equivalent cost, limits and token-rate changes. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/agentwares/seatledger
- **MCP Registry name:** io.github.agentwares/seatledger
- **Listing updated:** 2026-11-13

## About

Local ledger of Claude Code and Codex tokens, API-equivalent cost, limits and token-rate changes.

## Install

### Claude Code (Terminal)

```sh
claude mcp add seatledger --env SEATLEDGER_KEY='<SEATLEDGER_KEY>' -- npx -y seatledger
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "seatledger": {
      "command": "npx",
      "args": [
        "-y",
        "seatledger"
      ],
      "env": {
        "SEATLEDGER_KEY": "<SEATLEDGER_KEY>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "seatledger": {
      "command": "npx",
      "args": [
        "-y",
        "seatledger"
      ],
      "env": {
        "SEATLEDGER_KEY": "<SEATLEDGER_KEY>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "seatledger": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "seatledger"
      ],
      "env": {
        "SEATLEDGER_KEY": "<SEATLEDGER_KEY>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "seatledger": {
      "command": "npx",
      "args": [
        "-y",
        "seatledger"
      ],
      "env": {
        "SEATLEDGER_KEY": "<SEATLEDGER_KEY>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "seatledger": {
      "command": "npx",
      "args": [
        "-y",
        "seatledger"
      ],
      "env": {
        "SEATLEDGER_KEY": "<SEATLEDGER_KEY>"
      }
    }
  }
}
```

## 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

---
Source: https://ai-powered.com/mcp/seatledger
