QuickRouter MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@QuickRouter MCP Server how much would 10 requests cost with 1200 input and 300 output tokens on gpt-6.2-sol?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
QuickRouter MCP Server
A local Model Context Protocol server for browsing QuickRouter models and pricing, estimating text-token costs, and sending non-streaming text chat requests. The server communicates over stdio and requires Node.js 20 or newer.
Run
Run the npm package:
npx -y quickrouter-mcp-serverTo run from source, run npm ci, then npm run build and node dist/index.js. Set the client command to node and its first argument to the absolute path of dist/index.js. The process waits for MCP messages on stdin.
The three catalog tools work without a key. To enable chat, set QUICKROUTER_API_KEY in the local server process environment. Get a key from the QuickRouter console. Keep it out of source control. Chat sends the selected model ID and message text to https://api.quickrouter.ai/v1/chat/completions and may incur charges. Catalog tools fetch https://quickrouter.ai/api/model-pricing without the key.
Related MCP server: OpenMayhem MCP
Client configuration
These examples use the npm package. For the local build, substitute the node command and script path described above. If a GUI client cannot find npx, use the absolute path returned by command -v npx on macOS or Linux, or where npx on Windows.
Claude Desktop
Open Settings → Developer → Edit Config, add the entry to claude_desktop_config.json, then restart Claude Desktop. For chat, inject QUICKROUTER_API_KEY in the local process environment. If the app does not inherit that environment, set the key in the private config's server-level env map. Local MCP setup
{
"mcpServers": {
"quickrouter": {
"command": "npx",
"args": ["-y", "quickrouter-mcp-server"]
}
}
}Cursor / Grok Build
Add this to .cursor/mcp.json for the project or ~/.cursor/mcp.json for your account. Start the client with the key in its environment if enabling chat. To use catalog tools only, omit the env entry. MCP configuration
{
"mcpServers": {
"quickrouter": {
"type": "stdio",
"command": "npx",
"args": ["-y", "quickrouter-mcp-server"],
"env": {"QUICKROUTER_API_KEY": "${env:QUICKROUTER_API_KEY}"}
}
}
}Windsurf / Devin Desktop
Add the entry through the MCP settings. Existing Windsurf installations use ~/.codeium/windsurf/mcp_config.json. Devin Desktop uses ~/.config/devin/mcp_config.json for the user scope, or .devin/mcp_config.local.json for a local project override. Inject the key through the local process environment or the private server-level env map if using chat. Current Devin MCP configuration
{
"mcpServers": {
"quickrouter": {
"command": "npx",
"args": ["-y", "quickrouter-mcp-server"]
}
}
}Claude Code
Use a project .mcp.json file and run claude mcp list to confirm the registration. Omit env when using the catalog without a key. MCP scopes and environment expansion
{
"mcpServers": {
"quickrouter": {
"type": "stdio",
"command": "npx",
"args": ["-y", "quickrouter-mcp-server"],
"env": {"QUICKROUTER_API_KEY": "${QUICKROUTER_API_KEY}"}
}
}
}Tools
Tool | Common inputs | Result |
|
| Matching model IDs, capability tags, and catalog endpoint URLs. The in-memory catalog cache expires after 60 seconds. |
|
| Exact or unique partial match with group rates, price units, published rate tiers, capabilities, and pricing timestamp. Unknown context windows are returned as |
|
| Per-request and total USD for applicable text-token rates. Uses each group's matching published input and output tiers. |
|
| Text, returned model, finish reason, and available token usage. Defaults to |
For example, estimate ten identical requests with {"model_id":"gpt-6.2-sol","input_tokens":1200,"output_tokens":300,"requests":10}. Batch here means a repeated-request estimate. The estimate covers uncached text and excludes cache, media and batch discounts. The actual API key group, rate tier, and usage in the console determine charges. Consult QuickRouter pricing.
For a text chat, send {"messages":[{"role":"user","content":"Reply with OK."}],"max_tokens":32}. Custom model IDs are passed through to the gateway and require model access on your key. Use max_tokens where the selected route accepts it. HTTP 401 indicates a rejected key, 403 indicates denied access, and 429 indicates a rate or quota limit. The server does not automatically retry chat calls.
Model IDs
The following 13 IDs were checked in the public QuickRouter catalog. Availability for chat depends on your key group.
Family | IDs |
GPT |
|
Claude |
|
Gemini |
|
DeepSeek |
|
Grok |
|
Development
npm ci
npm run typecheck
npm run test
npm run build
npm pack --dry-runThe production dependency is the official TypeScript SDK v1 line, @modelcontextprotocol/sdk, with Zod validation. Unit tests use MCP InMemoryTransport and mocked fetch. The software is distributed under the MIT License.
Available Tools
4 toolschat_completionA
Send one billable, non-streaming text chat request using the configured QuickRouter key. Model examples: gpt-6.2-astra, gpt-6.2-sol, gpt-6.1-terra, claude-opus-5-5, claude-fable-5-2, claude-sonnet-5-5, claude-haiku-5-5, gemini-4-carbon, gemini-4-hydrogen, gemini-4-neon, deepseek-v4.1-flash, deepseek-v4-pro, grok-4.7. Custom IDs are accepted. Messages are sent to api.quickrouter.ai.
Inputs: messages (required), model, max_tokens.
estimate_costARead-onlyIdempotent
Estimate USD charges for uncached text chat from published QuickRouter rate tiers. Uses token counts per request and an optional repeat count and billing group.
Inputs: model_id (required), input_tokens (required), output_tokens (required), group, +1 more.
get_model_pricingARead-onlyIdempotent
Get published QuickRouter group rates, token tiers, endpoint and capability information for one model. Exact IDs take precedence over unique partial matches.
Inputs: model_id (required).
list_modelsARead-onlyIdempotent
List QuickRouter models and their advertised endpoint URLs. Supports keyword and provider-family filters. Uses public pricing without credentials.
Inputs: limit, query, family.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
The four tools split cleanly into model discovery (list_models), single-model detail (get_model_pricing), cost math (estimate_cost), and actual inference (chat_completion). The only mild overlap is between get_model_pricing and estimate_cost, since both surface rate information, but the descriptions make the lookup-vs-calculation boundary clear.
All names are snake_case and three of four follow a verb_noun pattern (get_model_pricing, list_models, estimate_cost). chat_completion is a noun-phrase outlier, a minor deviation but still predictable and readable in context.
Four tools is well-scoped for a router/pricing service: list, inspect, estimate, and invoke. Each tool has a distinct job and none feels redundant or padded.
The pricing-to-inference lifecycle is covered end to end, with filters and repeat/billing-group options on estimation. Gaps are minor but real: no streaming, no embeddings or non-chat endpoints, and no account balance/usage check to complement the cost estimates.
Maintenance
Related MCP Connectors
Chat with any LLM, generate images, browse models and check your usage and costs.
Open AI models through one OpenAI-compatible API: chat, live model list, prices and cost estimates.
Uncensored LLM inference: list models, chat, create keys, buy credits with Solana USDC.
Live LLM API pricing: token prices, comparisons, cheapest-model lookups. No key required.
Related MCP Servers
- FlicenseBqualityDmaintenanceEnables interactive command-line chat with AI models via the Anthropic API, supporting document retrieval with @mentions and slash-command prompts with tab auto-completion.2-
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients to access hosted models and services via a local stdio bridge, with live model discovery, pricing, balance checks, and paid execution requiring cost estimates.MIT

@klappay/mcpofficial
AlicenseAqualityBmaintenanceLets an AI assistant run locally over stdio to inspect and test the Klap Core API — looking up charges and timelines, listing webhooks and deliveries, checking accepted token/network pairs, querying metrics, and, in test mode, creating charges, re-checking them on-chain, retrying deliveries and driving sandbox payments. Live environments are read-only unless writes are explicitly opted into, and money-moving or endpoint-management operations are never exposed.16102 npmMIT- AlicenseAqualityBmaintenanceEnables agents to browse and compare a multi-provider model and price catalog without an API key, inspect model capabilities and context limits, and run chat completions with a key while returning token usage and request cost.4MIT