Pre-execution cost estimation for LLM agent workflows with calibration learning
Pre-execution cost estimation for LLM agent workflows with calibration learning. That is what the tokencast mcp server brings to an AI assistant: the same capability, reachable through the Model Context Protocol rather than a separate app or dashboard.
Pre-execution cost estimation for LLM agent workflows. Get a cost estimate before running any agent task, then let tokencast learn from actuals to improve accuracy over time.
The server publishes 7 tools. What each one is for:
estimate_cost — Estimate API cost for a planned task before running itget_calibration_status — Check whether your estimates are well-calibratedget_cost_history — Browse past estimates vs actualsreport_session — Report actual cost at session end to improve calibrationreport_step_cost — Record the cost of a single pipeline step during a sessionCursor — The Cursor tool exposed by this serverWindsurf — Full config examples are in docs/ide-configs/The server ships on PyPI as tokencast, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. Tokencast's toolset — estimate_cost, get_calibration_status, get_cost_history and 4 more — is a fair guide to whether it matches your workflow. It is maintained by krulewis; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Tokencast's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| estimate_cost | Estimate API cost for a planned task before running it |
| get_calibration_status | Check whether your estimates are well-calibrated |
| get_cost_history | Browse past estimates vs actuals |
| report_session | Report actual cost at session end to improve calibration |
| report_step_cost | Record the cost of a single pipeline step during a session |
| Cursor | The Cursor tool exposed by this server. |
| Windsurf | Full config examples are in [docs/ide-configs/](docs/ide-configs/). |
{
"mcpServers": {
"tokencast": {
"command": "uvx",
"args": ["tokencast"]
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.