token-meter
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| usage_summaryA | What you spent, where it went, and what was slow — Claude Code + Codex. API-equivalent estimate, local data only. Table by day × models (ccusage-style) + advisory narrative. scope defaults to "auto" (filter to current platform); pass "all" to see everything. insights=true adds heuristic tips. |
| recent_sessionsB | List recently-active Claude Code / Codex sessions with ready-to-paste resume commands. |
| session_toolsA | Per-session MCP / built-in tool breakdown: call counts, response sizes, average latency. Debug a slow/expensive session. |
| refresh_dataA | Re-scan local Claude Code / Codex JSONL for new activity. Run before other tools for up-to-the-minute numbers. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| usage_summary | Summarize Claude Code + Codex usage for today / week / month. |
| recent_sessions | List recent Claude Code / Codex sessions with ready-to-paste resume commands. |
| session_tools | Show MCP / built-in tool breakdown for a specific session_id. |
| refresh_data | Re-scan local JSONL files to pick up new Claude Code / Codex activity. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/whdrnr2583-cmd/token-meter'
If you have feedback or need assistance with the MCP directory API, please join our Discord server