@aiorouter/mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| AIOROUTER_API_KEY | Yes | Your AIOrouter API key (format: ak-...). Required for authentication. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| aiorouter_chatA | Send a chat completion to any AIOrouter model (Qwen, DeepSeek, GLM, Kimi, Grok, etc). Returns the model's full response. Non-streaming only (MCP limitation). Increase max_tokens (up to 8192) for long responses. |
| aiorouter_list_modelsA | List all available AI models through AIOrouter. Filter by provider name. |
| aiorouter_test_connectionA | Test whether your AIOrouter API key is valid. |
| aiorouter_get_usageA | Get current usage, billing summary, and subscription status for your API key. |
| aiorouter_get_pricingA | Get public retail pricing for AIOrouter models (USD per 1M tokens). |
| aiorouter_export_configA | Generate MCP configuration JSON for Claude Desktop, Claude Code, or Codex CLI. |
| aiorouter_compare_modelsA | Compare 2-5 AIOrouter models side-by-side: provider, pricing, context window, max output, and capabilities. |
| aiorouter_estimate_costA | Estimate the cost (USD) for a prompt given model, input tokens, and output tokens. Uses public retail pricing. |
| aiorouter_get_model_infoA | Get detailed info for a single AIOrouter model: provider, context window, max output, capabilities, pricing, and supported parameters. |
| aiorouter_get_presetsA | Show the triple preset configuration (planner/coder/reviewer) for CODE-MAS orchestrator. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 10 tools
Each tool targets a distinct resource or action: chat, model listing, model details, comparison, pricing, cost estimation, usage, connection test, config export, and presets. While list_models and get_model_info both relate to models, the former enumerates models while the latter provides detailed info for a single model, making the distinction clear. The descriptions reinforce these boundaries.
All tools follow a consistent aiorouter_ prefix with a verb_noun pattern: chat, list_models, get_usage, get_pricing, export_config, compare_models, etc. Naming is uniform, snake_case, and verbs align with the operation. No mixed conventions or vague verbs like 'do_thing'.
With 10 tools, the server is well-scoped for an AI router service. Each tool earns its place by covering distinct user needs: interaction, exploration, cost management, and configuration. This is within the ideal 3-15 range and neither feels sparse nor overwhelming.
The surface covers the core domain comprehensively: chat completions, model discovery (list, get, compare), pricing and cost estimation, account usage, connection validation, and configuration export. No obvious dead ends or missing essential operations for the stated purpose of interacting with AIOrouter. The only noted limitation (non-streaming) is a technical constraint, not a tool gap.