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/
Metadata
Release files for mcp-token-budget 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_token_budget-1.0.0.tar.gz | 6.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_token_budget-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.1 kB
Release files / mcp_token_budget-1.0.0.tar.gz
| Download URL | mcp_token_budget-1.0.0.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4e4009cb374870d219a23451b0a22fcd9b24e562a50b355426f38387ddecab7
|
|
BLAKE2b-256 checksum How to use checksums |
8122fc6c558ad28dbd765ae8687fc1a35c91ad7e19dd46fbd1ef45c6c541fea0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / mcp_token_budget-1.0.0-py3-none-any.whl
| Download URL | mcp_token_budget-1.0.0-py3-none-any.whl |
|---|---|
| Size | 6.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31927c504d5eb65b501c6e3666c78ae21136519f402708df55fe0b3afdcc2582
|
|
BLAKE2b-256 checksum How to use checksums |
3681a6a1ca762986dc53a3f77e8485de808be70e54249971960ddc8044cc5f05
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|