
Security News
Lovable’s OJ Rewrites Vite’s Dev Server in Rust as AI Lowers the Cost of Forking Open Source
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.
@searoute-ts/mcp
Advanced tools
Model Context Protocol server exposing searoute-ts sea-route tools (sea_route, sea_route_alternatives) to AI agents.
A Model Context Protocol server that exposes
searoute-ts to AI agents, so they
can compute real shortest sea routes ("how far is Shanghai to Rotterdam by sea,
avoiding Suez?") instead of guessing.
It's a thin wrapper over the searoute-ts public API — no new routing logic —
and accepts UN/LOCODE port codes (e.g. CNSHA) as well as [lon, lat]
coordinates.
sea_routeShortest maritime route between two points. Returns distance, optional duration, the canals/straits traversed, detour ratio, and the route GeoJSON.
| Argument | Type | Notes |
|---|---|---|
origin, destination | port code string or [lon, lat] | required |
units | "nauticalmiles" | "kilometers" | "miles" | default nauticalmiles |
restrictions | passage name array | e.g. ["suez","babelmandeb"] to force Cape of Good Hope |
allowArctic | boolean | allow the (default-blocked) Northwest/Northeast Passages |
speedKnots | number | fills an estimated duration in hours |
vesselDraftMeters | number | auto-avoids canals too shallow for the vessel |
maxSnapDistanceKm | number | reject inputs too far from the sea network |
includeGeometry | boolean | include the route GeoJSON (default true) |
sea_route_alternativesUp to k distinct alternatives, each blocking a different combination of major
canals/straits (baseline vs. no-Suez vs. no-Panama …), sorted by distance —
useful for comparing "via Suez" against "via Cape of Good Hope".
npm install -g @searoute-ts/mcp # or use npx, below
The server speaks MCP over stdio.
claude CLIclaude mcp add searoute -- npx -y @searoute-ts/mcp
{
"mcpServers": {
"searoute": {
"command": "npx",
"args": ["-y", "@searoute-ts/mcp"]
}
}
}
"What's the sea distance from Shanghai to Rotterdam, and how much longer is it if we avoid the Suez Canal?"
The agent calls sea_route('CNSHA', 'NLRTM') (≈ 19,753 km via Suez) and
sea_route('CNSHA', 'NLRTM', { restrictions: ['suez', 'babelmandeb'] })
(≈ 25,315 km via the Cape of Good Hope).
npm install
npm run build # tsc -> dist/
npm test # vitest — exercises the tool handlers
npm run dev # run from source with tsx
MIT — see the root repository.
FAQs
Model Context Protocol server exposing searoute-ts sea-route tools (sea_route, sea_route_alternatives) to AI agents.
The npm package @searoute-ts/mcp receives a total of 181 weekly downloads. As such, @searoute-ts/mcp popularity was classified as not popular.
We found that @searoute-ts/mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Lovable’s OJ rewrites Vite’s dev server in Rust, reducing memory use and preview times as AI lowers the cost of open source reimplementation.

Security News
It has been one year since Shai-Hulud made its first appearance on npm.

Research
/Security News
Operators behind PolinRider used a compromised GitHub account to plant malware in four development versions of a Packagist package with 700,000+ downloads.