What the MCP server gives you
Origin’s MCP exposes read-only access to your analytics graph — the same data that powers the Origin console. From an MCP client you can answer questions like:- Which agents are running on which endpoints, and what models are they calling?
- How much are we spending on each model, broken down by department or team?
- What prompts fail most often, and where?
- Which sessions had the longest tool-call chains yesterday?
The server is read-only. It cannot modify endpoints, agents, alerts, or any other Origin state.
Connect a client
The server is a remote MCP server. It speaks Streamable HTTP and uses OAuth 2.1 with Dynamic Client Registration, so any MCP client that supports remote HTTP servers with OAuth can connect.
The first time you connect, your client opens a browser window so you can sign in to Origin. After that, your client refreshes tokens automatically.
You do not need to provision API keys, copy bearer tokens, or paste anything from the Origin console. The OAuth flow handles everything.
- Claude (desktop and web)
- Claude Code
- Cursor
- Cline
- Other clients
In the Claude apps, remote MCP servers are added as custom connectors. Custom connectors are available on Pro, Max, Team, and Enterprise plans.Pro and Max plans
- Open Settings → Connectors.
- Click Add custom connector.
- Enter a name (for example,
Origin) and the server URL:https://mcp.prod.originhq.com/mcp. Leave the Advanced settings OAuth fields blank. - Click Add, then click Connect and sign in with your Origin account in the browser window that opens.
- A Claude organization Owner adds the connector once in Organization settings → Connectors → Add custom connector, using the URL above.
- Each member then opens Settings → Connectors, finds Origin in the list, clicks Connect, and signs in with their own Origin account.
Custom connectors connect from Anthropic’s cloud, not from your machine. This works with Origin’s production server, which is publicly reachable.
Tools exposed
Your client discovers these tools automatically once connected. You don’t call them yourself; the LLM picks the right one based on your question.Schema and query tools
The LLM typically uses these in order: read the map, pull details for the entities it needs, check the query grammar, then run the query.analytics_query parameters (the LLM fills these in for you):
Conversation tools
Prior work search
Sample prompts
Once connected, you can ask questions in plain English. Examples to try:- “What models are my Claude Code agents calling this week, and on which endpoints?”
- “Show me total token spend by department over the last 30 days, sorted highest first.”
- “Which prompts are failing most often? Group by model and tool name.”
- “Find the ten longest agent sessions yesterday and show me which tools each one called.”
- “Compare prompt latency p50 and p95 across our models for the past two weeks.”
- “Which endpoints had AI activity for the first time this week?”
- “How many Claude Code sessions did each engineer run this week?”
- “Show me MCP server connections by endpoint — which agents are connecting to which servers?”
Troubleshooting
I added the server but no Origin tools appear in my client
I added the server but no Origin tools appear in my client
First, check how you added it:
- Claude desktop or web: Origin must be added under Settings → Connectors, not in
claude_desktop_config.json. If you added aurlentry to that file, remove it, fully quit and reopen Claude, and add Origin as a custom connector instead. - Cline: Make sure the transport is Streamable HTTP (
"type": "streamableHttp"), not SSE. - All clients: Confirm the URL is exactly
https://mcp.prod.originhq.com/mcpand that you completed sign-in.
I can't find Add custom connector in Claude
I can't find Add custom connector in Claude
On Team and Enterprise plans, only organization Owners can add custom connectors. Ask an Owner to add Origin in Organization settings → Connectors. Members can then connect from Settings → Connectors. Custom connectors aren’t available on the Free plan.
Validation error / DSL query errors in responses
Validation error / DSL query errors in responses
The LLM composed a query the server couldn’t validate — usually a field referenced on the wrong entity, or a filter value of the wrong type. These come back as visible errors so the LLM can self-correct on the next turn. If it loops, ask the LLM to call
analytics_describe_entities for the entities it’s querying and analytics_query_guide before retrying.Cost exceeds budget errors
Cost exceeds budget errors
You asked for something that would scan more rows than your tenant’s per-query budget allows. The error message includes a suggestion — usually: narrow the time range, add a filter, or sample the result. Time-bound your question more tightly and try again.
Empty results when you expected data
Empty results when you expected data
The LLM may have applied a filter that doesn’t match anything. Ask it to show the query it ran and check the filters. Common culprits: a hostname filter with the wrong case, or a time range that excludes the data you care about. Some entities keep data for a limited time, so very old data may no longer be available.
Slow responses
Slow responses
Analytics queries scale with the data they scan. If a question consistently takes more than 10–20 seconds, try narrowing the time range or asking for an aggregate (counts, top-N) instead of raw rows.
Versioning and protocol
Discovery metadata is published at
https://mcp.prod.originhq.com/.well-known/oauth-protected-resource for clients that need it. You should not need to configure this manually.
Data, privacy, and audit
Every tool call is recorded to Origin’s audit log with the calling user, the tool name, a hash and snapshot of the arguments, the row count, bytes scanned, elapsed time, and outcome. Audit records are scoped per tenant and retained for 30 days.Queries run with your user identity — you can only see what your Origin role allows you to see in the console. See Access Control.
Get support
- In-app: Open the support panel in the Origin console.
- Email: support@originhq.com