> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trycarhub.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Use CarHub through MCP

> Expose active CarHub models as tools to an AI agent.

The MCP endpoint is an alternative transport for the same CarHub services. It uses your organisation API key, applies the same limits and credit pricing, and only exposes active endpoints.

```bash theme={null}
claude mcp add --transport http carhub https://api.trycarhub.com/mcp \
  --header "Authorization: Bearer chk_live_..."
```

Each active inference endpoint appears as a tool, alongside `carhub_get_job` and `carhub_list_endpoints`. Fast tools can return a completed result inline; long-running work returns a job identifier to poll.

<Note>MCP does not bypass the HTTP API's billing, scopes or lifecycle. Treat a tool call exactly like its corresponding `/v1` request.</Note>
