All processing happens locally. The SQLite database lives under the plugin data directory in plugin mode and falls back to `~/.claude/` in standalone
Claude Token Analyzer MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. All processing happens locally. The SQLite database lives under the plugin data directory in plugin mode and falls back to ~/.claude/ in standalone mode. No network calls, no external dependencies at runtime.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.
Once Claude Token Analyzer is connected, these are the calls the assistant has available:
sync_db — Sync JSONL session logs to SQLiteanalyze_session — 10-dimension session analysisanalyze_project — Project-level aggregation with sortinganalyze_global — Cross-project panoramic viewcost_report — Monthly cost report (daily granularity available)anomaly_scan — 6-type anomaly detection with severity scoringtrend_report — Time-series trends (daily/weekly/monthly)You will need 2 environment variables: CTA_DB_PATH, CTA_PRICING_PATH. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Plenty of database access servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Claude Token Analyzer's toolset — sync_db, analyze_session, analyze_project and 4 more — is a fair guide to whether it matches your workflow. It is maintained by li195111; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| sync_db | Sync JSONL session logs to SQLite |
| analyze_session | 10-dimension session analysis |
| analyze_project | Project-level aggregation with sorting |
| analyze_global | Cross-project panoramic view |
| cost_report | Monthly cost report (daily granularity available) |
| anomaly_scan | 6-type anomaly detection with severity scoring |
| trend_report | Time-series trends (daily/weekly/monthly) |
| Variable | Description | Required |
|---|---|---|
| CTA_DB_PATH | Filesystem location the server is allowed to use. | Optional |
| CTA_PRICING_PATH | Filesystem location the server is allowed to use. | Optional |
Read-only SQL access to Postgres — let your assistant inspect schemas and answer questions from real data.
Manage your whole Supabase project in conversation — database, auth, storage, Edge Functions and branches.
Query, modify and analyse local SQLite databases in conversation — the fastest way to chat with a data file.
Metabase ships its own MCP endpoint — search your BI content, build and run queries, and save questions and dashboards without leaving the chat.
Official MongoDB server covering data, schemas and Atlas management — from find queries to spinning up clusters.
Serverless Postgres with database branching — point your assistant at Neon and let it work on disposable copies.