ClearCab for AI agents (MCP)
ClearCab runs a Model Context Protocol server, so an AI agent you already use can vet carriers, check brokers and read your Audit Receipts with a credential you limit to exactly what it needs.
https://clearcab.net/mcp
plan_required. Its keys and connections are kept (connected apps can still refresh their sign-in, so they need no reconnecting) and work again as soon as the workspace is back on Pro or Platform.What an agent can do
| Tool | What it does | Scope | Cost |
|---|---|---|---|
| vet_carrier | Vet a carrier by USDOT or MC number: 0–100 risk score, severity tier, critical indicators, reason codes, evidence patterns, data coverage and a link to the frozen Audit Receipt. Optional lane (origin / destination state) and load type. | vet:read | 1 unit (whether cached or fresh FMCSA data). The same inputs again within 10 minutes return the same assessment, free. |
| check_broker | Broker authority and $75,000 BMC-84 / BMC-85 bond or trust fund. | vet:read | Free |
| search_carriers | Find carriers by name (or USDOT / MC), optionally in one state. | vet:read | 1 unit |
| get_receipt | One of your workspace's past vets, exactly as recorded. | receipts:read | Free |
| verify_receipt | Check an Audit Receipt against the proof printed on it. | receipts:read | Free |
| get_flag_history | Your workspace's ClearCab Graph flag history for one USDOT. | receipts:read | Free |
| watchlist_list | The carriers on your watchlist. | watchlist:read | Free |
| watchlist_add | Watch a carrier (your plan's watchlist limit applies). | watchlist:write | Free |
| watchlist_remove | Stop watching a carrier. | watchlist:write | Free |
Agents cannot upload documents, start ClearCab Live captures, email receipts, manage keys, webhooks, plans or billing. A decision from ClearCab is advice for the person booking the load; the agent does not book or reject anything on its own through ClearCab.
Connect
There are two ways to authenticate. Both see only your own workspace.
- Sign in from the agent (OAuth). Apps that add remote MCP servers as connectors open a ClearCab sign-in and consent page, where you see the app, the scopes it asks for and its spend cap, and approve or deny. Account administration can never be granted this way.
- A scoped API key. In the dashboard, open Developers, create a key with only the scopes the agent needs and, ideally, a monthly unit cap, and send it as
Authorization: Bearer <key>. Browser sign-in cookies are not accepted on the MCP endpoint.
Claude (claude.ai and the Claude apps)
In Claude's settings, add a custom connector with the URL https://clearcab.net/mcp, then sign in to ClearCab and approve the scopes. Custom connectors are available on the Claude plans that offer them; your organization's admin may need to add it.
Claude Code
claude mcp add --transport http clearcab https://clearcab.net/mcp \ --header "Authorization: Bearer cc_live_your_scoped_key"
Or add it without the header and sign in with OAuth when Claude Code asks (/mcp).
Claude Desktop
Add ClearCab as a custom connector (as in Claude above). To use an API key instead, run it through a local bridge such as mcp-remote in claude_desktop_config.json:
{
"mcpServers": {
"clearcab": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://clearcab.net/mcp",
"--header", "Authorization:Bearer cc_live_your_scoped_key"]
}
}
}
ChatGPT
Where your ChatGPT plan lets you add custom connectors or apps for remote MCP servers, add https://clearcab.net/mcp and sign in to ClearCab when asked.
Cursor
In ~/.cursor/mcp.json (or the project's .cursor/mcp.json):
{
"mcpServers": {
"clearcab": {
"url": "https://clearcab.net/mcp",
"headers": { "Authorization": "Bearer cc_live_your_scoped_key" }
}
}
}
Your own agent
Any MCP client that speaks Streamable HTTP works: POST JSON-RPC to https://clearcab.net/mcp with the Bearer header. The server is stateless and answers in JSON. Without a valid credential it answers 401 with a WWW-Authenticate header pointing to its OAuth protected-resource metadata.
Scopes
| Scope | Allows |
|---|---|
| vet:read | Vet carriers, check brokers and search carriers (uses vetting units) |
| receipts:read | Read and verify your frozen Audit Receipts and flag history |
| watchlist:read | See your watchlist |
| watchlist:write | Add and remove watched carriers |
A tool called without its scope fails with an insufficient_scope error and changes nothing. With OAuth, the agent is told which scope to ask for and can request it on its next sign-in. Keys created before scopes existed have full access and are labelled "Full access (legacy)"; give agents a new, scoped key instead.
Costs, caps and limits
- Units come out of your workspace's monthly vetting units, exactly as REST API calls do, and are attributed to the key or connection that spent them.
- Spend cap: each key can have a monthly unit cap; each OAuth connection starts with a cap of 250 units a month. Before a billable call runs, ClearCab checks the cap and holds the units in one step, so calls made at the same time cannot together pass it; a call that would pass the cap fails with a clear error and nothing is billed. The one exception:
vet_carrierholds 1 unit and costs 2 when it fetches fresh FMCSA data, so such a call can end 1 unit over the cap. Your plan's own quota still applies on top. - Rate limit: 60 requests a minute per key or connection.
- Repeat
vet_carriercalls with the same USDOT and inputs within 10 minutes return the earlier assessment (reused: true) instead of spending units again.
Carrier text is untrusted
Carrier names, addresses, docket numbers, insurer names, evidence wording and notes come from FMCSA public records or from people, and anyone can register a company name. ClearCab returns every such string inside objects named untrusted_text, and the tool descriptions tell the agent to treat them as data, never as instructions. The decision, score, tier, hard stops and reason codes are computed by ClearCab and sit outside those objects. Document images and OCR text are never returned to agents.
Errors
Tool failures come back as tool errors with a short message and a code: invalid_input, insufficient_scope, payment_required (spend cap, quota or watchlist limit), not_found, rate_limited, unavailable (FMCSA could not be reached). Authentication problems are HTTP errors: 401 (no or invalid credential), 403 (plan_required: plan without agent access; or insufficient_scope: an OAuth connection missing a scope), 429 (rate limit).