SkillTide Submit
Official description7 sourcesMCP servers8d ago
wn01011/llm-token-tracker

wn01011/llm-token-tracker

๐Ÿ“‡ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - Token usage and cost tracking for OpenAI and Claude APIs with real-time session tracking
View on GitHub โ†—Direct link ยท no redirect page
Config template (adjust for your client)
claude mcp add llm-token-tracker -- npx -y llm-token-tracker
A pasteable skeleton generated from the repository name. Check the project README for the exact package and arguments.
Star count
5 โ˜… ยท wn01011/llm-token-tracker ยท read from the repository page ยท (checked 2026-10-16 20:00:20)
Source
collected from the punkpeye/awesome-mcp-servers list ยท type: MCP server
Harvest history
first seen 2026-10-09 ยท last seen 2026-10-16 ยท seen 32ร— ยท listed by 7 sources
Score
score 703 ยท 5 โ˜… ยท 7 sources ยท mcp
FAQ (answers come from our records)
How do I install it?
We did not find an install command for this repository (our install coverage is only about 4%). Check its README or releases page.
Who is it for?
We filed it under these tags: MCP ๆœๅŠก. The tags come from the entry itself, not a taxonomy we imposed.
Who maintains it?
repository wn01011/llm-token-tracker๏ผ›first catalogued 2026-10-09๏ผ›last seen 2026-10-16ใ€‚There is no official certification or quality rating here โ€” we record sources and dates only.
Third-party quality signals

LLM Token Tracker ๐Ÿงฎ

ไปฅไธ‹ๆ‘˜ๅฝ•่‡ช่ฏฅไป“ๅบ“็š„ README๏ผˆ็‰‡ๆฎต๏ผ‰ ยท ๅœจ GitHub ่ฏปๅฎŒๆ•ด README โ†’

Token usage tracker for OpenAI, Claude, and Gemini APIs with **MCP (Model Context Protocol) support**. Pass accurate API costs to your users.
โœจ Features
- ๐ŸŽฏ **Simple Integration** - One line to wrap your API client
- ๐Ÿ“Š **Automatic Tracking** - No manual token counting
- ๐Ÿ’ฐ **Accurate Pricing** - Up-to-date pricing for all models (2025)
- ๐Ÿ”„ **Multiple Providers** - OpenAI, Claude, and Gemini support
- ๐Ÿ“ˆ **User Management** - Track usage per user/session
- ๐ŸŒ **Currency Support** - USD and KRW
- ๐Ÿค– **MCP Server** - Use directly in Claude Desktop!
- ๐Ÿ†• **Intuitive Session Tracking** - Real-time usage with progress bars
๐Ÿ“ฆ Installation
๐Ÿš€ Quick Start
Option 1: Use as Library
๐Ÿ”ง With Real APIs
To use with actual OpenAI/Anthropic APIs:
Option 2: Use as MCP Server
Add to Claude Desktop settings (~/Library/Application Support/Claude/claude_desktop_config.json):
Then in Claude:
- **"Calculate current session usage"** - See current session usage with intuitive format
- **"Calculate current conversation cost"** - Get cost breakdown with input/output tokens
- "Track my API usage"
- "Compare costs between GPT-4 and Claude"
- "Show my total spending today"
Available MCP Tools
1. **get_current_session** - ๐Ÿ†• Get current session usage (RECOMMENDED)
- Returns: Used/Remaining tokens, Input/Output breakdown, Cost, Progress bar
- Default user_id: current-session
- Default budget: 190,000 tokens
- **Perfect for real-time conversation tracking!**
2. **track_usage** - Track token usage for an AI API call
- Parameters: provider, model, input_tokens, output_tokens, user_id
3. **get_usage** - Get usage summary for specific user or all users
4. **compare_costs** - Compare costs between different models
5. **clear_usage** - Clear usage data for a user
Example MCP Output
๐Ÿ“Š Supported Models & Pricing (Updated 2025)
OpenAI (2025)
| Model | Input (per 1K tokens) | Output (per 1K tokens) | Notes |
|-------|----------------------|------------------------|-------|
| **GPT-5 Series** | | | |
| GPT-5 | $0.00125 | $0.010 | Latest flagship model |
| GPT-5 Mini | $0.00025 | $0.0010 | Compact version |
| **GPT-4.1 Series** | | | |
| GPT-4.1 | $0.0020 | $0.008 | Advanced reasoning |
| GPT-4.1 Mini | $0.00015 | $0.0006 | Cost-effective |
| **GPT-4o Series** | | | |
| GPT-4o | $0.0025 | $0.010 | Multimodal |
| GPT-4o Mini | $0.00015 | $0.0006 | Fast & cheap |
| **o1 Reasoning Series** | | | |
| o1 | $0.015 | $0.060 | Advanced reasoning |
| o1 Mini | $0.0011 | $0.0044 | Efficient reasoning |
| o1 Pro | $0.015 | $0.060 | Pro reasoning |
| **Legacy Models** | | | |
| GPT-4 Turbo | $0.01 | $0.03 | |
| GPT-4 | $0.03 | $0.06 | |
| GPT-3.5 Turbo | $0.0005 | $0.0015 | Most affordable |
| **Media Models** | | | |
| DALL-E 3 | $0.040 per image | - | Image generation |
| Whisper | $0.006 per minute | - | Speech-to-text |
Anthropic (2025)
| Model | Input (per 1K tokens) | Output (per 1K tokens) | Notes |
|-------|----------------------|------------------------|-------|
| **Claude 4 Series** | | | |
| Claude Opus 4.1 | $0.015 | $0.075 | Most powerful |
| Claude Opus 4 | $0.015 | $0.075 | Flagship model |
| Claude Sonnet 4.5 | $0.003 | $0.015 | Best for coding |
| Claude Sonnet 4 | $0.003 | $0.015 | Balanced |
| **Claude 3 Series** | | | |
| Claude 3.5 Sonnet | $0.003 | $0.015 | |
| Claude 3.5 Haiku | $0.00025 | $0.00125 | Fastest |
Source
awesome ยท https://github.com/wn01011/llm-token-tracker
Browse by field
MCP servers
Traction
5 โ˜…
added
yesterday

More in MCP servers

All 5,525 in MCP servers โ†’

Filed under

Every tag opens the full list for that filter. Counts are the live catalogue figures.

Browse all fields โ†’

โ† Back to index