A side-by-side look at the Tokencost Dev and Truthroute MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose Tokencost Dev for conversational ai work as a local process; choose Truthroute for conversational ai as a local process. You can also run both side by side in one mcpServers block.
get_model_details, calculate_estimate, compare_models.OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Conversational AI | Conversational AI |
| Quality signal | 60/100 · Good | 43/100 · Fair |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Local subprocess (stdio) |
| Auth | Not declared | Not declared |
| Pricing | Not declared | Not declared |
| Required env vars | None listed | OPENAI_API_KEYANTHROPIC_API_KEYGEMINI_API_KEY |
| Verified owner | Community listing | Community listing |
| GitHub stars | 1 | 0 |
| Directory activity | 1 views 0 installs 0 upvotes | 2 views 0 installs 0 upvotes |
| Tools | 4 | Not listed |
| Full listing | View Tokencost Dev | View Truthroute |
get_model_detailsLook up pricing, context window, and capabilities for an LLM model. Uses fuzzy matching so you don't need the exact model key.calculate_estimateEstimate the cost for a given number of input and output tokens on a specific model. Supports optional cached_tokens for prompt caching discounts.compare_modelsFilter and compare models by provider, minimum context window, or mode. Returns top 5 most cost-effective matches.refresh_pricesForce a re-fetch of pricing data from the LiteLLM registry. Use this if you suspect the cached data is stale.No tool names declared yet. Check the project README from the listing page.
Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
{
"mcpServers": {
"tokencost-dev": {
"command": "npx",
"args": [
"-y",
"tokencost-dev"
]
}
}
}
{
"mcpServers": {
"truthroute": {
"command": "npx",
"args": [
"-y",
"truthroute-cli"
],
"env": {
"OPENAI_API_KEY": "YOUR_OPENAI_API_KEY_HERE",
"ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY_HERE",
"GEMINI_API_KEY": "YOUR_GEMINI_API_KEY_HERE"
}
}
}
}