MCP
Query traces, models, and analytics from Claude Desktop using natural language.
Third-party inference (Cowork)
Route Cowork inference through the AI Gateway for fallbacks, EU residency, and cost control.
MCP
Claude Desktop is Anthropic’s desktop application that supports Model Context Protocol (MCP) integrations. By configuring the Orq MCP server, you can access all Orq.ai features directly in your Claude Desktop conversations.Prerequisites
- Claude Desktop app installed
- Active Orq.ai account
- Orq.ai API key
- Node.js installed (required for
npx mcp-remote)
Installation
You can configure the Orq MCP server through Claude Desktop Settings or using the Terminal.Option 1: Settings Path (Recommended)
Option 1: Settings Path (Recommended)
- Open Claude Desktop Settings by clicking Claude in the top-left menu, then select Settings
- Click Developer in the sidebar
- Click Edit Config to open the
claude_desktop_config.jsonfile - Paste the following configuration into the file:
- Replace
<ORQ_API_TOKEN>with your actual API key from Workspace Settings → API Keys - Save the file and restart Claude Desktop
If the config file is empty, paste the entire JSON structure above. If it already has content, add only the
orq entry to the existing mcpServers object. Do not overwrite the preferences block or any other existing keys.Option 2: Terminal Path
Option 2: Terminal Path
If you prefer using the terminal, you can directly edit the config file:macOS:Run these commands in your terminal:Windows:Run this command in your Command Prompt or PowerShell:Linux:Run this command in your terminal:Then paste the following configuration:Replace
<ORQ_API_TOKEN> with your actual API key, save the file, and restart Claude Desktop.If the file doesn’t exist, the command will create it. Make sure to use valid JSON formatting.
Verify Installation
After restarting Claude Desktop, start a new conversation and ask:
What You Can Do
Once connected, you can use natural language in Claude Desktop to perform these operations:Analytics
Analytics
Get analytics overview for my workspaceShow me workspace metrics for the last 7 daysQuery analytics filtered by deployment ID
Models
Models
List all available chat modelsList all available embedding modelsInvoke model [model-id] with prompt [message]
Traces
Traces
List traces from the last 24 hoursShow me traces with errorsGet span details for trace [trace-id]Find the slowest traces from todayShow all traces for thread [thread-id]
Search
Search
Search for deployments in project [project-id]List directories in project [project-id]
Usage Examples
Analyze Traces
- Calculate the time range for the last 24 hours
- Use
list_traceswith error status filter - Analyze the trace data
- Provide error count and types, affected deployments, time distribution, and suggested fixes based on error patterns
Performance Analysis
- Use
query_analyticswith a 7-day time range - Analyze average latency changes over the week
- Review token usage patterns and cost trends
- Examine error rate fluctuations
- Compare performance across different models
- Provide a summary report with insights on whether performance has improved or decreased
Troubleshooting
MCP Server Not Connecting
MCP Server Not Connecting
- Verify the config file path is correct for your OS
- Check the JSON syntax is valid (no trailing commas, proper quotes)
- Ensure your API key is valid and has the required permissions
- Restart Claude Desktop after making config changes
- Check the Claude Desktop logs for error messages
Authentication Errors
Authentication Errors
- Confirm your API key is active in Orq.ai Settings
- Make sure the API key has workspace access permissions
- Verify the
Authorizationheader format:Bearer YOUR_KEY - Try generating a new API key if the current one is expired
Slow Responses
Slow Responses
MCP operations over HTTP can take a few seconds:
- Be patient with large trace queries and model operations
- Break complex workflows into smaller steps
- Check Orq.ai service status at status.orq.ai
Tool Not Found
Tool Not Found
- Verify the Orq MCP server is properly configured in your config file
- Restart Claude Desktop to reload the Orq MCP configuration
- Try rephrasing your request
- Check the MCP tools list
Additional Configuration
Multiple Workspaces
If you work with multiple Orq.ai workspaces, you can configure multiple MCP servers:Third-party inference (Cowork)
Claude Cowork’s third-party inference mode routes all model inference through a configured gateway instead of Anthropic’s first-party infrastructure. Orq.ai’s AI Gateway speaks the Anthropic Messages API and is fully compatible.EU data residency
Pin traffic to EU-hosted models to meet data residency requirements.
Provider fallback
Route across providers automatically to avoid rate limits and outages.
Cost control
Route to cheaper models for routine tasks by configuring them in Cowork.
Prerequisites
- Claude Desktop installed with a Pro, Max, Team, or Enterprise plan
- Active Orq.ai account with an API key
Setup
Enable Developer Mode
- Open Claude Desktop
- Click Help in the menu bar
- Hover over Troubleshooting
- Select Enable Developer Mode
- Restart Claude Desktop
Open Gateway Configuration
- Click Developer in the menu bar
- Select Configure Third-party inference
- Select Gateway (Anthropic-compatible)
Enter Gateway Details
Fill in the three fields:

Click Apply locally to apply the configuration to this machine, or Export as MDM profile to deploy across an organization.
| Field | Value |
|---|---|
| Gateway base URL | https://api.orq.ai/v3/anthropic |
| Gateway API key | The Orq.ai API key |
| Gateway auth scheme | bearer |

Add Models (optional)
Cowork automatically fetches available models from Orq.ai via the
For the full catalog, see Supported Models.
/v1/models endpoint, so no manual configuration is required. To pin a specific subset, add model slugs using the provider/model-name format:| Model slug | Description |
|---|---|
anthropic/claude-sonnet-4-6 | Claude Sonnet via Anthropic direct |
aws/anthropic/claude-sonnet-4-6 | Claude Sonnet via AWS Bedrock |
google/anthropic/claude-opus-4-7 | Claude Opus via Google Vertex AI |
openai/gpt-4o | GPT-4o for routine tasks |
See Also
API Keys
Create and manage Orq.ai API keys.
Supported Models
Full catalog of models available through the AI Gateway.
AI Gateway
Get started with the AI Gateway for routing, fallbacks, and cost control.
Anthropic Provider
Configure the Anthropic API key and explore Claude model options.