MCP Token Budget
Track token costs, set budgets, optimize model selection. Zero deps.
Tools (11)
estimate_tokens, estimate_cost, log_usage, set_budget, get_budget_status, get_usage_report, list_models, optimize, get_alerts, get_stats, reset
Tests
python -m pytest tests/ -v # 25 tests
MIT - aaameobius-crypto
Freelance portfolio: https://ameobius-space.github.io/kwork-portfolio/
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_token_budget-1.0.0.tar.gz.
File metadata
- Download URL: mcp_token_budget-1.0.0.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4e4009cb374870d219a23451b0a22fcd9b24e562a50b355426f38387ddecab7
|
|
| MD5 |
64ca1afcb0016a771ca7878964813ebe
|
|
| BLAKE2b-256 |
8122fc6c558ad28dbd765ae8687fc1a35c91ad7e19dd46fbd1ef45c6c541fea0
|
File details
Details for the file mcp_token_budget-1.0.0-py3-none-any.whl.
File metadata
- Download URL: mcp_token_budget-1.0.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31927c504d5eb65b501c6e3666c78ae21136519f402708df55fe0b3afdcc2582
|
|
| MD5 |
f445375882f2f0eebddf516e14b72df5
|
|
| BLAKE2b-256 |
3681a6a1ca762986dc53a3f77e8485de808be70e54249971960ddc8044cc5f05
|