Home

Qubictron MCP Server

Model Context Protocol

Live freight data in your AI assistant. Connect Qubictron to Claude, ChatGPT, Gemini, Cursor, VS Code or Codex, ask in plain words, and the assistant answers with data from carriers and the Qubictron network: it tracks ocean containers and air waybills, finds vessel sailings and real transit times between ports, compares freight rates and plans how your cargo fits into containers.

What is MCP

The Model Context Protocol (MCP) is an open standard that lets AI assistants use outside tools and data. Add the Qubictron MCP server to your assistant once and sign in with your Qubictron account: from then on the assistant calls Qubictron by itself whenever a question needs freight data. No code to write.

What your assistant can do#

  • Track shipments. Ocean containers by container, bill of lading or booking number, air cargo by AWB: carrier, status, route, vessels or flights, ETA and every event.
  • Find sailings. Upcoming port-to-port departures of every supported carrier for up to 8 weeks ahead, with transit days and direct or transshipment routing.
  • Check real transit times. How long each shipping line actually took on a lane, measured from past sailings rather than published schedules.
  • Compare freight rates. Ocean FCL and LCL rates from the Qubictron network, cheapest first, with included and extra charges and validity, priced for your company.
  • Plan container loads. Give the pieces with their sizes and weights; a 3D optimizer tells you which containers you need and how the cargo fits, with a 3D view you can share.

How it works#

  1. Add https://mcp.qubictron.com to your assistant as a custom connector: see Connect with OAuth, or Connect with a token for Claude Code and Codex.
  2. Sign in with your Qubictron account and allow access.
  3. Ask, for example: "Where is container MSCU1234567?" or "40HC rates from Ningbo to Rotterdam".

Calls are paid from your company's QCredits balance, as in the Qubictron cabinet; rate search is free. See Billing and limits. Your connected assistants and your recent calls are on the AI Connector page of your account.

General information

The Qubictron MCP server is a remote MCP server: there is nothing to install or run. Your assistant connects to it over HTTPS, signs in as you, and calls its tools when a question needs freight data.

Server URL#

1https://mcp.qubictron.com

The server answers at the root of the domain: give the URL exactly as above, without a path.

Server details#

Server URLhttps://mcp.qubictron.com
TransportStreamable HTTP, POST only
AuthorizationOAuth 2.1 with dynamic client registration, or an access token from your Qubictron account
Tools6, all read-only: see Available tools
Rate limit60 requests per minute per user
BillingQCredits of your company: see Billing and limits

Two ways to connect#

  • OAuth (recommended). The assistant needs only the URL; you sign in to Qubictron and allow access. For claude.ai, ChatGPT, the Gemini app, Cursor and VS Code. See Connect with OAuth.
  • Access token. You create a token on the AI Connector page and the client sends it in the Authorization header. For Claude Code, Codex and any client that can send a header. See Connect with a token.

Either way the assistant acts as you: calls are charged to your company and appear in your Recent activity on the AI Connector page.

MCP server and REST APIs#

The MCP server is for AI assistants; the REST APIs are for your own code. They use different credentials: an MCP access token works only on the MCP server, not on api.qubictron.com, where requests carry an API key in the x-api-key header.

Connect with OAuth

The recommended way. The assistant needs only the server URL: you sign in to Qubictron yourself, and no token or key is copied anywhere. Works in claude.ai, ChatGPT, the Gemini app, Cursor and VS Code.

Add the server#

  1. In your assistant, add a custom connector (some assistants call it an app or an MCP server) with the URL https://mcp.qubictron.com.
  2. The assistant opens the Qubictron sign-in window. If you are already signed in on qubictron.com, the consent screen opens straight away; otherwise sign in first and you are brought back to it.
  3. Click Allow.

The Qubictron tools are now available to the assistant. Try "Where is container MSCU1234567?"

The assistant receives an access token that lasts 1 hour and a refresh token that lasts 90 days, and renews access on its own. When the refresh token expires, sign in again. To cut access at any time, disconnect the assistant on the AI Connector page.

claude.ai#

In Settings → Connectors, choose Add custom connector, name it Qubictron, enter https://mcp.qubictron.com, add it, then click Connect to sign in.

ChatGPT and the Gemini app#

Add Qubictron as a custom connector with the server URL https://mcp.qubictron.com. Where custom connectors live in the settings depends on the assistant and on your plan; once the connector is added, the sign-in and consent steps are the same as above.

Cursor#

Add the server to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project), then sign in from the server's entry in Cursor's MCP settings:

1{
2"mcpServers": {
3"qubictron": {
4  "url": "https://mcp.qubictron.com"
5}
6}
7}

VS Code#

Add the server to .vscode/mcp.json in your workspace, or to your user configuration with the MCP: Open User Configuration command. VS Code asks you to sign in to Qubictron when the server starts:

1{
2"servers": {
3"qubictron": {
4  "type": "http",
5  "url": "https://mcp.qubictron.com"
6}
7}
8}

Other assistants#

OAuth sign-in is open to claude.ai and claude.com, ChatGPT, the Gemini app, Cursor, VS Code and clients that finish the sign-in on localhost. For any other client, connect with a token.

Connect with a token

For Claude Code, Codex and any client that can send an HTTP header. Instead of signing in through the browser, the client sends an access token from your Qubictron account with every request.

Create a token#

  1. Open the AI Connector page of your Qubictron account.
  2. Create an access token and copy it right away: it is shown only once.
  3. Give it to your client as the header Authorization: Bearer <token>, as shown below.

The token works only on the MCP server, not on the REST APIs at api.qubictron.com. Keep it like a password: anyone who has it can make calls charged to your company. Do not commit it to a repository.

Claude Code#

1claude mcp add --transport http qubictron https://mcp.qubictron.com --header "Authorization: Bearer <token>"

claude.ai without sign-in#

Add a custom connector with the URL https://mcp.qubictron.com, choose No sign in and add the header Authorization: Bearer <token>.

Cursor and Claude Desktop#

In mcp.json (Cursor) or claude_desktop_config.json (Claude Desktop):

1{
2"mcpServers": {
3"qubictron": {
4  "url": "https://mcp.qubictron.com",
5  "headers": { "Authorization": "Bearer <token>" }
6}
7}
8}

Codex#

In ~/.codex/config.toml:

1[mcp_servers.qubictron]
2url = "https://mcp.qubictron.com"
3bearer_token_env_var = "QUBICTRON_TOKEN"

Codex reads the token from the QUBICTRON_TOKEN environment variable, so set it before you start Codex:

1export QUBICTRON_TOKEN="<token>"

Other clients#

Any MCP client that supports the Streamable HTTP transport can connect: give it the server URL https://mcp.qubictron.com and the header Authorization: Bearer <token>.

AI Connector

Everything about your AI assistants lives on the AI Connector page of your Qubictron account: qubictron.com/cabinet/ai-connector.

Connected assistants#

Every assistant you allowed with OAuth is listed here. Disconnect one to revoke its tokens: the assistant loses access to Qubictron at once and needs a new sign-in to get it back.

Access tokens#

Create tokens here for clients that connect with a token, such as Claude Code and Codex. A token is shown only once, when you create it.

Recent activity#

Recent activity lists your last 50 tool calls, so you can see what your assistants asked Qubictron on your behalf. Every call is logged and kept for 90 days; see Data and privacy for what a log entry holds.

Available tools

The server gives your assistant six tools. All of them only read data: none changes anything in your account or anywhere else. You don't call the tools yourself; ask in plain words and the assistant picks the tool and fills in its parameters.

Tools#

ToolWhat it doesChargeTry asking
track_containerOcean shipment by container, bill of lading or booking number, with a route map card.Once per company and reference"Where is container MSCU1234567?"
"When does booking 123456789 arrive in Hamburg?"
track_air_waybillAir cargo by AWB number.Once per company and AWB"Track AWB 176-12345675"
vessel_schedulesUpcoming sailings between two ports, up to 8 weeks ahead.Only when sailings are found"Sailings from Shanghai to Rotterdam in the next two weeks, direct only"
transit_timeActual transit times by shipping line on a lane, over the past 1 to 12 months.Only when data is found"Which carrier is fastest from Rotterdam to Gdansk?"
search_freight_ratesOcean FCL and LCL rates from the Qubictron network on a lane, cheapest first.Free"40HC rates from Ningbo to Rotterdam"
"LCL from China to Poland ready next week"
plan_container_loadWhich and how many 20', 40' and 40'HC containers the cargo needs, with a link to a 3D plan.Only when the cargo is packed"How many containers for 300 cartons 60×40×40 cm, 12 kg each, and 4 pallets 120×100×150 cm, 400 kg?"

See Billing and limits for how charges work.

Ports#

Tools take ports as UN/LOCODEs: CNSHA, DEHAM, NLRTM. search_freight_rates also accepts city and country names.

For transit_time, Shanghai is CNSHG: in transit time data CNSHA stands for Shanghai Hongqiao airport.

Freight rate prices#

search_freight_rates prices every rate for your company, so the same rate looks different to different companies:

  • the provider of the rate sees its own QSearch Sell price;
  • a company subscribed to the provider sees the partner price plus its own markups (Library Rules);
  • any other company sees the provider's base price.

The provider's name, cost price and pricing rules are never shown. A rate without a sell price does not appear in the results.

Result cards

In assistants that support MCP Apps, such as claude.ai, results come as interactive cards right in the chat: a tracking card with a route map, cards with sailings and freight rates, and a 3D load plan. Other clients show the answer as text; Claude Code in a terminal, for example, gives a link to the 3D plan instead of the card.

3D load plans#

plan_container_load returns a link to a 3D view of the plan. The link opens only for members of your company until you click Share publicly on the plan; after that anyone with the link can open it. Plans are kept for 30 days.

Tracking cards#

A tracking card is kept for one day. To see the current status later, ask again: tracking the same reference again is free for your company.

Billing and limits

Tool calls are paid from the QCredits balance of your company, the same way as in the Qubictron cabinet. Rate search is free, tracking is charged once per reference, and the other tools only when they find something.

QCredits#

ToolCharged
track_container
track_air_waybill
Once per company and reference. Repeat lookups of the same container, B/L, booking or AWB are free for everyone in your company.
vessel_schedulesOnly when sailings are found.
transit_timeOnly when transit times are found.
plan_container_loadOnly when the cargo is packed.
search_freight_ratesFree.

If your balance is too low for a call, the tool answers with an error and a link to buy QCredits, and nothing is charged.

Rate limit#

Each user can make up to 60 requests per minute to the MCP server.

Data and privacy

What the MCP server uses, what it stores and for how long.

Your account#

The server uses the signed-in user and their company: to charge QCredits and to price freight rates for your company.

Call log#

Every tool call is logged with the user, company, assistant, tool, its arguments (shipment references, ports, cargo lines), whether it succeeded and how long it took. The log is kept for 90 days. You see your own last 50 calls in Recent activity on the AI Connector page; Qubictron administrators can see all calls.

Stored results#

  • Load plans are kept for 30 days and open only to your company until you share the link publicly.
  • Tracking cards are kept for one day.

Tokens#

OAuth access tokens last 1 hour, refresh tokens 90 days. Disconnecting an assistant on the AI Connector page revokes its tokens.

What is never shown#

Freight rates from the network never reveal the provider's name, cost price or pricing rules. All tools only read data and change nothing.


Qubictron 2026—Contact us