Local-first AI coding agent observability: Claude Code token usage, Codex cost and Cursor spend across 50 adapters, provider-exact via a local proxy. No account needed.
pip install superbased-observer==1.41.0 Copy PIP instructions
Track what every AI coding agent costs. See the limit coming. See what 50 AI coding tools cost, Claude Code, Codex and Cursor included, per session and per model, from the tokens your provider actually billed. Free, Apache-2.0, and it runs on your machine.
uvx --from superbased-observer observer usage Reads the session logs your coding agents already keep on disk, prints a 30-day cost table by tool and model, and deletes its temporary database on exit. No config, no network. (The package is superbased-observer; the command is observer.)
uv tool install superbased-observer # or: pipx install superbased-observer observer --version Each wheel bundles its platform's prebuilt binary (manylinux2014 x86_64 and aarch64, macOS 13 or later on Intel and Apple Silicon, win_amd64): no compile step, no download at install time, no Go toolchain. The same binary ships on npm and the VS Code Marketplace with the same version numbers; install from one channel only.
One local binary that tracks Claude Code token usage, Codex cost and Cursor spend side by side, and helps you control them.
observer start # proxy + watcher + dashboard; opens http://localhost:8081 observer scan # backfill history from the session logs already on disk observer doctor # check the install Sign in (recommended) observer connect # your personal dashboard observer connect acme # or the team with the short name acme One command signs you in and connects this machine. Your browser opens a page on cloud.superbased.app that shows the machine and what will be shared; nothing is sent until you click Connect. A personal dashboard gets Summary only (usage totals, not your prompts or file paths). A team gets Full detail (prompts, responses and file paths, readable by the team's admins). Not now keeps you signed in with nothing sent, and observer disconnect stops sending at any time. You can also click Sign in in the local dashboard's top bar. On a machine with no browser, observer connect --no-browser prints a code to enter at cloud.superbased.app/connect.
Starting from scratch on a new machine? One command installs Observer, runs it as a background service and connects:
curl -fsSL https://superbased.app/connect.sh | sh # macOS and Linux curl -fsSL https://superbased.app/connect.sh | sh -s -- acme # straight into a team irm https://superbased.app/connect.ps1 | iex # Windows Everything else in this README works without an account. See Start here.
For provider-exact tokens, route your agent through the proxy: in the dashboard open Compression, click your tool's status pill and choose Route through the observer proxy (it previews the config change and writes only when you confirm), or run observer claude / observer codex for a one-off proxied session. observer init additionally registers the opt-in MCP server.
Prefer a plain download? superbased.app/download has the Windows setup program, macOS and Linux downloads and every version, with SHA-256 checksums.
macOS needs version 13 Ventura or later. Observer is built with Go 1.27, which no longer runs on macOS 12 Monterey. On macOS 12, stay on v1.36.0 or upgrade macOS first. v1.36.0 was meant to carry an advance notice of this and did not. Linux and Windows are not affected.
Click any session to open its detail view. Four of its tabs:
No account needed. Today the default install sends us no usage statistics, analytics or crash reports, and your sessions leave your computer only when you connect. SuperBased stores paths, commands and short excerpts, scrubs secrets before writing, and binds the proxy and dashboard to 127.0.0.1 by default. The proxy forwards your own requests, unchanged, to the provider you already use. See PRIVACY.md.
Everything else needs you to turn it on: your AI tool's own requests pass through the proxy only when you route that tool through it, and your sessions go to cloud.superbased.app only after you run observer connect and approve the machine. The vulnerability databases download only after you accept them once. observer privacy lists every outbound request this build can make.
Apache 2.0. This package is a small Python launcher that runs the prebuilt binary bundled in the wheel.
ai ai-coding-agent anthropic claude-code claude-code-usage codex copilot cost cost-tracking cursor gemini-cli llm-observability local-first mcp observability openai prompt-caching spend token-usage tokens
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Enable javascript to be able to filter the list of wheel files.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.




