Developers
Build on the same tested calculations.
A public MCP endpoint, the same functions behind the calculators, and branded embeds for websites. Outputs are indicative and carry their limits.
MCP
Remote tools over JSON-RPC.
POST to https://maritime-gpt.com/api/mcp using Streamable HTTP with JSON responses. Methods: initialize, tools/list and tools/call.
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "port_distance",
"arguments": { "from": "Singapore", "to": "Rotterdam", "routing": "avoid_suez" }
}
}| Tool | What it returns |
|---|---|
port_distance | Modelled sea-route distance in the 111-port network, with canal options |
eca_check | Emission Control Area screening for a route |
voyage_time | Transit days at a service speed |
unit_convert | Maritime unit conversion |
laytime_calc | Laytime and demurrage from allowed and used days |
ukc_calc | Under-keel clearance with a Barrass squat estimate |
emissions_calc | Voyage CO2 on IMO carbon factors |
cargo_intake | Cargo intake from hold volume and stowage factor |
imo_validate | IMO number checksum or MMSI flag decode |
slow_steam | Two-speed fuel and CO2 comparison |
list_ports | Ports in the 111-port modelled network |
search_articles | Search the research library |
The endpoint is public. Please keep request volumes reasonable. Results are indicative and do not replace official publications.
Embeds
Embed a calculator on your site.
Every embed displays the Maritime GPT banner and logo. The calculator is shown only inside that banner, and we ask you to keep the attribution in place.
<iframe src="https://maritime-gpt.com/embed/port-distance-calculator/"
width="640" height="720" style="border:0;border-radius:12px;max-width:100%"
loading="lazy" title="Port distance calculator — Maritime GPT"></iframe>- Keep the Maritime GPT banner and logo. Embeds without them are not supported.
- Link the banner to the full tool, as the embed already does.
- Do not present embedded results as navigational, compliance or legal advice.
- Embedded pages are not indexed (noindex). Your page carries the search value.
Get in touch
Need a bespoke integration?
Tell us the workflow. We will say what is feasible with the current data and licences.