token-meter
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| 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. |
| subagent_costsA | Split spend into main-session vs sub-agent (Task/Agent) work, list the priciest sub-agents (model mix · tokens · cache), and pair them with parent-side invocation latency. Answers "are my sub-agents worth what they cost". Run |
| 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. |
| subagent_costs | Show main vs sub-agent spend split and the priciest sub-agents. |
| 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
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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