MCP Cost Tracker Router
Real-time cost awareness for MCP agent workflows
Connector by dbsectrainer · GitHub account verified by the MCP Registry
Chalk Labs
Need help deploying MCP Cost Tracker Router?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/dbsectrainer-mcp-cost-tracker-router
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list and install config. Checked Oct 25, 2026.
- Tools
- 10 read · 4 write · 1 delete
- Secrets
- 1 (API keys, tokens or passwords)
- Install scripts
- Not scanned yet
- Runs as
- Node.js package
Tools by what they do 15
Read from the source code; the running server may list different tools.
Read 10 · Look things up without changing anything.
check_routing_policyestimate_workflow_costexport_budget_auditexport_chargebackexport_spend_reportget_project_costsget_session_costget_spend_historyget_tool_costssuggest_model_routing
Write 4 · Create, change, send or run things.
record_usageset_budget_alertset_projecttag_session
Delete 1 · Delete, drop, revoke or wipe things.
reset_session
Secrets and settings it asks for
Secrets: values you paste in that let it act as you.
YOUR_API_KEY
Tools (15)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
check_routing_policyread-onlyCheck whether a model is allowed for a given task type under the routing policy.
estimate_workflow_costread-onlyPre-run cost estimation for a multi-step workflow. Provide a list of tool steps with estimated token counts and models to get total and per-step cost estimates. Output is clearly labeled as ESTIMATE.
export_budget_auditread-onlyExport audit log of budget enforcement decisions. Optionally filter by date range and format as JSON or CSV.
export_chargebackread-onlyGenerate a chargeback report for internal team billing, grouped by project or session.
export_spend_reportread-onlyGenerate a single-file HTML spend report with session cost breakdown, historical spend by period, model cost comparison chart (CSS bars), and budget status. No external CDN dependencies.
get_project_costsread-onlyGet cost report for a project, optionally filtered by a since date.
get_session_costread-onlyReturns token totals and USD cost estimates for the current session. All costs are estimates; verify with your LLM provider's billing dashboard.
get_spend_historyread-onlyQuery historical spend aggregated by time period (day/week/month). Returns breakdown by model and tool across all sessions. All costs are estimates.
get_tool_costsread-onlyReturns per-tool cost breakdown for the current session, sorted by cost descending. Useful for identifying the most expensive operations. All costs are estimates.
record_usageRecord token usage for a tool call. Logs LLM API cost estimates into the tracker. Emits a budget warning (notifications/message) if 80% of threshold is reached. Pricing table versions are tracked in CHANGELOG.md.
reset_sessionStart a new cost-tracking session. Previous session data is retained in history and accessible via get_spend_history.
set_budget_alertSet a budget threshold in USD. A warning is emitted when session costs reach 80% or 100% of this threshold. Use with --enforce-budget to block calls beyond the limit.
set_projectCreate or update a project with an optional budget in USD.
suggest_model_routingread-onlyHeuristic model recommendation by task type. Analyzes the task description and returns a recommended model with reasoning and estimated cost per 1K tokens. Optionally factors in cost constraints.
tag_sessionTag the current session with a project name for cost allocation.
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit
- Sep 23, 2026 (1 month ago)
- Last release
- Mar 23, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Registry name
io.github.dbsectrainer/mcp-cost-tracker-router- Version
- 1.0.0
- Auth
- API key
- Packages
- npm mcp-cost-tracker-router
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 25, 2026
More from dbsectrainer
- 0.477score
MCP Legal Doc Analyzer
dbsectrainer
Domain-specific MCP tooling for legal document workflows
ConnectorBFreshness: BLocalRead-only★ 1Claude Code +5 - 0.465score
MCP Data Pipeline Connector
dbsectrainer
Universal data connector for CSV, Postgres, and REST APIs via DuckDB
ConnectorBFreshness: BLocalClaude Code +5 - 0.465score
MCP Eval Runner
dbsectrainer
A standardized testing harness for MCP servers and agent workflows
ConnectorBFreshness: BLocalClaude Code +5 - 0.462score
MCP Agent Trace Inspector
dbsectrainer
Step-by-step observability for MCP agent workflows
ConnectorBFreshness: BLocalClaude Code +5 - 0.462score
MCP Server Health Monitor
dbsectrainer
Health monitoring for all your MCP servers
ConnectorBFreshness: BLocalClaude Code +5
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get MCP Cost Tracker Router running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
MCP Cost Tracker Router. Agent Mart. https://agentmart.dev/connectors/dbsectrainer-mcp-cost-tracker-router (last updated 2026-10-25)