# See which MCP servers and skills your agent uses, and what they cost

> Uses, errors, time and token cost per MCP server, skill and subagent, from your agents' own logs. Finds idle tools that still cost tokens on every request.

Every connection and skill, with how often it's used, what it costs in tokens, and which ones sit idle.

## What does it show?

For each MCP server, skill, subagent and command: uses, errors and denials, time per use, sessions and projects it was used in, a daily trend, and the models that called it. Costs are shown at public API prices, split into what its description costs on every request, what its results cost when the agent reads and re-reads them, and what a subagent spends on its own.

## Idle tools that still cost you

The **Costing you while idle** panel lists things that were loaded into your agent but never used in the period, with the tokens they add to each request and an estimated monthly cost. **Turn off** pauses one in place.

## Estimated savings

Some tools save tokens: a docs server instead of searching the web, a subagent that reads 5,000 lines so your main conversation doesn't. Calyban estimates that against your own averages and says how confident the estimate is.

## Your data

History is kept in a small compressed file on your PC, so it outlives the agents' own log clean-ups. **Settings** has Export CSV and a two-click Delete. Prices are public API prices; subscription plans don't charge per token, so read them as API-equivalent cost.

## Under the hood

- **Parsers, one per log format:** Claude Code's JSONL transcripts (including the logged request shape with tool definitions), Codex rollout files and their `token_count` events, Copilot's chat-session mutation logs, Gemini CLI's JSONL chats, and Claude Desktop's per-server JSON-RPC logs.
- **Cost model:** input, output, cache-read and cache-write tokens priced per model by longest-prefix match on a public price table, plus the "carried" cost of a result the model re-reads on later turns.
- **Storage:** daily aggregates in a Brotli-compressed file. Session and project ids are hashed, and parsed files are cached by size and modification time, so a refresh only reads what changed.
- **Exports:** CSV with spreadsheet formula injection escaped.

## Questions

### Where does the usage data come from?

From the session logs Claude Code, Codex, GitHub Copilot, Gemini CLI and Claude Desktop already keep on your PC. Calyban reads them locally and keeps only names and numbers, never prompts or code. Nothing is uploaded.

### How can an unused MCP server cost tokens?

An agent sends every connected server's tool descriptions with each request, used or not. On our own dev machine, 12 installed capabilities hadn't been used in 30 days and still added about 6,100 tokens to every request.

### Does it work with Cursor?

Not yet. Cursor keeps its chats in a database rather than log files, so its usage isn't read. Everything else in Calyban works with Cursor.

Calyban is a free app for Windows and Linux: https://calyban.com/ (this page: https://calyban.com/features/capabilities).
