Skip to main content

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)

Source distribution for mcp-token-budget 1.0.0
File Size Uploaded
mcp_token_budget-1.0.0.tar.gz 6.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-token-budget 1.0.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page