MCP Integration

Freight Rate Intelligence runs as a Model Context Protocol (MCP) server. Any MCP-compatible client (Claude Desktop, Cursor, etc.) can discover and call FRI skills as native tools.

Server Endpoint

https://freightrateintelligence.com/mcp

Authentication: Bearer token on the Authorization header, same as the REST API.

Claude Desktop Configuration

Add FRI to your claude_desktop_config.json:

claude_desktop_config.json
1{
2 "mcpServers": {
3 "freight-rate-intelligence": {
4 "url": "https://freightrateintelligence.com/mcp",
5 "headers": {
6 "Authorization": "Bearer fri_your_key_here"
7 }
8 }
9 }
10}

Restart Claude. Your tools appear under the πŸ”¨ menu.

Available Tools

Every skill is exposed as an MCP tool:

ToolDescriptionTier
rate_lookupCurrent freight rate for any laneExplorer
fuel_surchargeATA/DOE formula fuel surchargeExplorer
diesel_trendPADD regional diesel pricesExplorer
market_analysisMacro freight intelligenceStarter
lane_comparisonSide-by-side lane comparisonStarter
rate_alertsThreshold monitoringStarter
carrier_capacityFMCSA capacity intelligenceStarter
audit_reportReceipt-chain provenanceProfessional
rate_forecastForward rate projectionsProfessional

Resource Discovery

FRI exposes discoverable resources via MCP resources/list:

List Resources
$curl -X POST https://freightrateintelligence.com/mcp \
> -H "Authorization: Bearer fri_your_key_here" \
> -H "Content-Type: application/json" \
> -d '{"jsonrpc":"2.0","id":1,"method":"resources/list"}'

Available resources:

  • fri://rates/national-average β€” National average rate per mile
  • fri://diesel/padd-index β€” Current PADD regional diesel prices
  • fri://usda_reefer β€” USDA AMS Refrigerated Truck Rates
  • fri://factors/latest β€” Latest factor values across all sources

Example: Natural Language Query

Once connected, ask Claude:

β€œWhat’s the current rate for a reefer load from Dallas to Chicago, and how does it compare to the USDA spot rate?”

Claude will:

  1. Call rate_lookup with equipment=REEFER
  2. Call usda_reefer resource for the national index
  3. Compose a response with both numbers and the market gap

Error Handling

All MCP errors return JSON-RPC standard error objects:

1{
2 "jsonrpc": "2.0",
3 "id": 1,
4 "error": {
5 "code": -32001,
6 "message": "Tier required: professional",
7 "data": {
8 "required_tier": "professional",
9 "current_tier": "starter"
10 }
11 }
12}

Common error codes:

CodeMeaning
-32000Authentication failed
-32001Tier required
-32002Rate limit exceeded
-32003Invalid skill arguments
-32603Internal error

Pricing

MCP tool calls count against your monthly request quota. Pricing is identical to REST:

TierMonthly requests
Explorer (free)25
Starter2,000
Professional10,000
Enterprise50,000

Each tool invocation is one request, regardless of how many resources Claude reads behind the scenes.

Custom Integrations

Any MCP-compatible client works. See the MCP specification for details on building your own integration.