MCP.Market

Searoute MCP server

by mayurrawte·io.github.mayurrawte/searoute·v0.1.1·10 stars

Real shortest sea routes between ports: distance, canals/straits, GeoJSON. UN/LOCODE aware.

A92/100grade A
What users say
No reviews yet
Be the first
Safety scan
A92/100

full report

Adoption
Growing

10 stars50 downloads/wk

Reviews

Write one

Nobody has reviewed Searoute yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Searoute tools (2)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • sea_route

    Compute the shortest maritime route between two points (UN/LOCODE port codes like "CNSHA", or [lon, lat] coordinates). Returns distance, optional duration, the canals/straits traversed, and the route GeoJSON. Supports passage restrictions (e.g. avoid Suez), arctic gating, and vessel-draft-aware canal avoidance.

  • sea_route_alternatives

    Return up to k distinct alternative maritime routes between two points, each blocking a different combination of major canals/straits (e.g. baseline vs. no-Suez vs. no-Panama), sorted by distance. Useful for comparing "via Suez" against "via Cape of Good Hope".

Public scan report

scanner v0.1.10 · 2026-10-30 · same rubric, same numbers if you re-run it

no findings
  • Code scan7 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 4 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 92/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How Searoute compares

Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
92/100
higher than 95% of 48,255 servers
Tools
2
the typical server has 7
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
GitHub stars
10
more than 88% of 28,688 servers
Downloads a week
50
more than 42% of 12,191 servers with a package

What its tools let an agent do: 2 read

Install Searoute in Claude Code, Cursor or VS Code

Runs npx -y @searoute-ts/mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add searoute -- npx -y @searoute-ts/mcp
Add to Cursor

What the publisher says

From the Searoute repository's README, as published. We do not edit it. Read it on GitHub

searoute-ts

Shortest sea route between any two points on Earth. A TypeScript / JavaScript

library for maritime route planning, port-to-port distance, ETA estimation, and

shipping-lane visualisation — powered by the 2025 Eurostat maritime network.

npm install searoute-ts
import { seaRoute } from 'searoute-ts';

const route = seaRoute([121.5, 31.0], [4.4, 51.9]);
// Shanghai → Rotterdam → GeoJSON LineString, ~10,664 nm via Suez Canal

🗺️ Try the interactive demo — click two points on a map and see the route, with all options live. (source)

Works from plain JavaScript too — the package ships compiled .js plus

.d.ts declarations. The -ts in the name is for searchability, not a

language requirement.

Why searoute-ts

Malacca, Gibraltar, Dover, Kiel, Corinth, Bering, Magellan, NW/NE Passage labels.

  • 🚢 Realistic shipping routes, not great-circle lines through Eurasia.
  • 🗺️ Returns GeoJSON — drop straight into Leaflet, Mapbox, deck.gl, MapLibre.
  • 🌊 2025 Eurostat marnet with explicit Suez, Panama, Bab-el-Mandeb,

disruption with one option.

  • 🚫 Canal & strait restrictions — force Cape of Good Hope during a Red Sea

(7 m), Corinth (7.3 m) when the vessel exceeds the canal limit.

  • 📦 Vessel-draft gating — auto-block Panama (15.2 m), Suez (20.1 m), Kiel

plus up to N realistic alternatives.

  • 🛤️ K-shortest alternatives — seaRouteAlternatives returns the baseline

Node 18+, zero peer deps.

  • 🧭 Multi-leg waypoints — seaRouteMulti for port rotations and itineraries.
  • ⏱️ ETA from speed — speedKnots → durationHours.
  • 🛠️ Modern toolchain — TypeScript 5, ESM + CJS dual build, types included,

Quick examples

Basic — shortest route

import { seaRoute } from 'searoute-ts';

const route = seaRoute([-74.04, 40.69], [-0.13, 51.5]); // NYC → London
// route.properties.length  // ≈ 3 362 nm
// route.properties.units   // 'nauticalmiles'

With ETA and units

seaRoute(shanghai, rotterdam, {
  units: 'kilometers',
  speedKnots: 22,
});
// → 19 753 km, properties.durationHours ≈ 485 h (≈ 20 days)

Red Sea / Suez disruption — force Cape of Good Hope

seaRoute(shanghai, rotterdam, {
  restrictions: ['suez', 'babelmandeb'],
});
// → routes via Cape of Good Hope, ~25 800 km

Vessel-aware — Ultra Large Container Ship

seaRoute(shanghai, newYork, {
  vesselDraftMeters: 16,  // exceeds Panama's 15.2 m TFW
});
// → Panama auto-blocked, route goes via Suez

Port codes (UN/LOCODE)

import 'searoute-ts/ports'; // enables UN/LOCODE strings on the core API
import { seaRoute } from 'searoute-ts';

seaRoute('CNSHA', 'NLRTM'); // Shanghai → Rotterdam
seaRoute('CNSHA', [4.4, 51.9]); // mixing a code and coordinates is fine too

The ~1 600-port dataset lives behind the searoute-ts/ports subpath so the core stays lean — importing it registers the resolver. You can also resolve codes yourself:

import { lookupPort, resolvePort } from 'searoute-ts/ports';

lookupPort('SGSIN'); // → { code, name: 'Singapore', country, coordinates: [lon, lat] }
resolvePort('SGSIN'); // → [103.85, 1.28]

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Searoute: common questions

Is Searoute MCP server safe?
Yes, by our scan: it is graded A (92/100). Read the Searoute safety report
How do I install Searoute?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does Searoute need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is Searoute maintained?
The last commit was 9 days ago (2026-10-26). The latest release is v0.1.1.
How does Searoute compare with other MCP servers?
safety score 92/100 (higher than 95% of 48,255 servers); tools 2 (the typical server has 7); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.