For AI agents: the documentation index is at llms.txt. Add .md to any page's URL for its Markdown.

MCP for Claude, ChatGPT and Cursor

OpenContainer's MCP server lets an AI assistant track containers and bills of lading as tools. The URL is https://mcp.containerfeed.com/mcp (Streamable HTTP), over the same lookups as the REST API, with the same usage and plans.

Sign in with OAuth (Claude and ChatGPT connectors), with an API key in the Authorization header, or with no credentials at all for one free lookup a day.

Set up

claude mcp add --transport http opencontainer https://mcp.containerfeed.com/mcp \
  --header "Authorization: Bearer lsk_live_…"

Other clients (Windsurf and the rest): an HTTP server at https://mcp.containerfeed.com/mcp with the header Authorization: Bearer lsk_live_….

Claude and ChatGPT connectors sign in with OAuth instead of a key: the connector is allowed to look up containers (the track scope) on your account, with its plan. To disconnect, remove the connector in the app. When you make a key in the dashboard, it shows each of these with your key filled in. A key always goes in the Authorization header, never in the URL.

Without a key, initialize, tools/list and list_carriers always work, and track_package gets the same one free lookup a day per IP as the REST API. An MPP credit key (lsk_pack_…, from paying per request) works anywhere an API key does and spends its credits.

Tools

ToolArgumentsReturns
track_packagetracking_number, carrier?One container or bill of lading: status, ETA and every move. A tracking result.
track_packagestracking_numbers (up to 100, 35 per line), carrier?{ results }, one entry per number with result or error.
list_carriersThe carrier ids carrier accepts.

tracking_number takes a container number (MSKU7812341) or a bill of lading. The line is detected from a container's owner prefix; for a bill of lading or a leased container (owner prefixes such as TGHU and TCNU), pass the line as carrier, for example msc. See Carriers.

Ask in plain language, for example:

  • "Where is container MSKU7812341, and when is it due?"
  • "Track MEDU1234562 and ONEU1234566 and tell me which one has been discharged."
  • "Track bill of lading MAEU… with Maersk and list its containers."

Behavior

  • Stateless: each POST is one JSON-RPC message answered with plain JSON. No sessions, no SSE.
  • A failed lookup comes back as a tool result with isError: true and the same { "error": { "code", "message" } } as the REST API, so the model can read it.
  • Credentials: an invalid, revoked or expired key or token is HTTP 401 with WWW-Authenticate: Bearer resource_metadata="https://mcp.containerfeed.com/.well-known/oauth-protected-resource", and so is a keyless tool call once the day's free lookup is used, so an OAuth client knows to sign in. A token without the track scope gets a 403. The JSON-RPC error's data.code says which (unauthorized or free_lookup_used).
  • When a Free account's allowance is used up, the tool result is an error with code rate_limited. Without sign-in, track_packages tracks only the first number; the rest come back with code auth_required, and the result's _meta["mcp/www_authenticate"] carries the sign-in challenge.
  • Messages to the model stay neutral ("sign in to continue", "limit reached"); prices and upgrade links are left to the REST API, the site and these docs.
  • A successful result can carry a notice (the lookup without sign-in was just used, a credit key is running low, or a paid account's new containers are near or past the included ones) and, with a credit key, credits_remaining.
  • Each tool lists the sign-in it accepts in securitySchemes (noauth, and oauth2 with the track scope for the lookups), has readOnlyHint, destructiveHint and openWorldHint annotations, and an outputSchema for its structuredContent.
  • GET https://mcp.containerfeed.com and /.well-known/mcp.json describe the server (name, tools, endpoint) for MCP registries.
  • Also served at https://api.containerfeed.com/mcp.

For when to use MCP, REST or pay-per-request in an agent, see AI agents: MCP and MPP.

On this page