MCP Integration Guide

Freight Rate Intelligence implements the Model Context Protocol (MCP), allowing AI agents to discover and call intelligence skills as native tools.

What is MCP?

MCP is a protocol for AI agents to discover and invoke tools from external services. Freight Rate Intelligence exposes all 9 intelligence skills as MCP tools, enabling any MCP-compatible AI client to query freight data programmatically.

Tool Discovery

Available MCP tools:

Claude Integration

Configure Claude to use Freight Rate Intelligence as an MCP server with proper headers and authentication.

{
  "mcpServers": {
    "freight-rate-intelligence": {
      "url": "https://freightrateintelligence.com/mcp",
      "headers": {
        "Authorization": "Bearer fri_YOUR_API_KEY"
      }
    }
  }
}

Resource Discovery

Before invoking tools, agents can browse FRI resources:

Agent Manifest

{
  "name": "FreightRateIntelligence.com",
  "description": "Cost-basis freight rate intelligence and market data",
  "mcp_endpoint": "https://freightrateintelligence.com/mcp",
  "tools": [
    "fri_rate_lookup",
    "fri_diesel_trend",
    "fri_fuel_surcharge",
    "fri_market_analysis",
    "fri_lane_comparison",
    "fri_rate_alerts",
    "fri_carrier_capacity",
    "fri_audit_report",
    "fri_rate_forecast"
  ],
  "pricing": "per-call via API key (Starter $0.05, Professional $0.03, Enterprise $0.01)",
  "auth": "Bearer token (fri_ prefix)",
  "rail_compatible": true
}

Constitutional Receipts for Agents

Every MCP tool call returns a receipt_id — a constitutional record of the query for:

Error Handling for Agents

MCP tool calls can return errors. Handle these in your agent:

Best practice: Before calling a skill, check /v1/agent/skills to verify your tier has access. This avoids unnecessary 403 errors.

Pricing

TierPer-Request CostMonthly Included
ExplorerFree (25/month)25
Starter$0.05500
Professional$0.035,000
Enterprise$0.01Unlimited