CC ClearCab
Developers

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.

Endpoint (Streamable HTTP)
https://clearcab.net/mcp
Plan: agent access is part of Broker Pro and Platform. It is checked on every request, so a workspace that moves to Free or Core loses agent access immediately: MCP requests get HTTP 403 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

ToolWhat it doesScopeCost
vet_carrierVet 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:read1 unit (whether cached or fresh FMCSA data). The same inputs again within 10 minutes return the same assessment, free.
check_brokerBroker authority and $75,000 BMC-84 / BMC-85 bond or trust fund.vet:readFree
search_carriersFind carriers by name (or USDOT / MC), optionally in one state.vet:read1 unit
get_receiptOne of your workspace's past vets, exactly as recorded.receipts:readFree
verify_receiptCheck an Audit Receipt against the proof printed on it.receipts:readFree
get_flag_historyYour workspace's ClearCab Graph flag history for one USDOT.receipts:readFree
watchlist_listThe carriers on your watchlist.watchlist:readFree
watchlist_addWatch a carrier (your plan's watchlist limit applies).watchlist:writeFree
watchlist_removeStop watching a carrier.watchlist:writeFree

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.

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

ScopeAllows
vet:readVet carriers, check brokers and search carriers (uses vetting units)
receipts:readRead and verify your frozen Audit Receipts and flag history
watchlist:readSee your watchlist
watchlist:writeAdd 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

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).