Skip to main content
MCP server CX Codex

searoute — Claude Code MCP server: what it does, how to install

Computes sea transit routes between ports or coordinates with canal controls and draft limits. Returns GeoJSON line geometries.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add searoute -- npx -y @searoute-ts/mcp
Open on GitHub

What searoute does

This server plans realistic maritime paths across the 2025 Eurostat network instead of drawing straight lines across continents. It accepts geographic coordinates or standard UN/LOCODE identifiers for roughly 1600 ports. Outputs arrive as GeoJSON LineString features with length in nautical miles or kilometers.

You can generate alternative routes or evaluate multi-stop itineraries. Specifying vessel speed in knots yields voyage duration in hours. The engine supports passage exclusions, such as bypassing Suez or the Bab-el-Mandeb strait. Canal draft thresholds trigger automated detours; exceeding 15.2 meters automatically excludes the Panama Canal.

Routing fails immediately with UnknownPortError if an unrecognised port code is passed. Because the routing graph ships directly with the package, calculations run locally without mandatory external network requests.

What it helps with

  • calculate realistic sea routes between UN/LOCODE ports
  • export maritime trajectories as GeoJSON for map rendering
  • divert voyages away from restricted straits or canals
  • verify waterway access against maximum vessel draft
  • estimate sailing duration based on vessel speed in knots

Example prompts for the agent

  • Find the sea route from CNSHA to NLRTM avoiding the Suez Canal.
  • Calculate maritime distance and duration from New York to London at 22 knots.
  • Generate alternative shipping routes between coordinates [-74.04, 40.69] and [-0.13, 51.5].

How to install searoute

Platform CLI

claude mcp add searoute -- npx -y @searoute-ts/mcp

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about searoute

How do I install searoute in Claude Code?

Run claude mcp add searoute -- npx -y @searoute-ts/mcp in your terminal.

What does searoute do?

It determines navigable sea routes between ports or coordinates. Responses provide travel distance, voyage duration, and complete GeoJSON path geometry.

How does draft gating work?

Supplying vessel draft prompts the routing engine to avoid shallow waterways. Routes automatically bypass the Panama Canal when vessel draft surpasses 15.2 meters.

Similar MCP servers

All MCP servers for Data and databases →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor