New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

vesselapi-mcp

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vesselapi-mcp

MCP server for the VesselAPI — maritime vessel tracking, port events, emissions, and navigation data

latest
Source
npmnpm
Version
1.3.0
Version published
Weekly downloads
6
-53.85%
Maintainers
1
Weekly downloads
 
Created
Source

VesselAPI MCP Server

CI npm Node License: MIT

An MCP (Model Context Protocol) server that exposes maritime data from the VesselAPI to AI assistants like Claude Desktop, Cursor, Windsurf, and Claude Code.

Prerequisites

  • Sign up at dashboard.vesselapi.com
  • Create an API token in your dashboard
  • Use the token as VESSELAPI_API_KEY in the configuration below

Resources: Documentation | API Explorer | Dashboard | Contact Support

Features

  • 23 tools covering vessels, ports, location search, emissions, and maritime safety
  • Vessel search, positions (single and batch), ETA, classification, ownership, emissions, inspections, and casualties
  • Port search, details, port events (arrivals/departures), and global port event search
  • Geographic vessel search (bounding box and radius)
  • NAVTEX maritime safety messages
  • Manual pagination to control API quota usage

Quick Start

No installation required — just configure your AI client with npx:

{
  "mcpServers": {
    "vesselapi": {
      "command": "npx",
      "args": ["-y", "vesselapi-mcp"],
      "env": {
        "VESSELAPI_API_KEY": "your-api-key"
      }
    }
  }
}

Configuration

Add the JSON above to the config file for your client:

ClientConfig file
Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Cursor.cursor/mcp.json or ~/.cursor/mcp.json
Claude Code.claude/settings.json or ~/.claude/settings.json
Windsurf~/.codeium/windsurf/mcp_config.json

Tools

Vessel Tools

ToolDescription
search_vesselsSearch vessels by name, IMO, MMSI, flag, type, callsign, year built, class society, or owner
get_vesselGet detailed vessel information
get_vessel_positionGet current vessel position (lat/lon, speed, heading)
get_vessel_etaGet vessel estimated time of arrival
get_vessel_classificationGet classification details (class society, surveys, hull)
get_vessel_ownershipGet ownership details (owner, manager, operator)
get_vessel_emissionsGet emissions data (CO2, fuel consumption)
get_vessel_inspectionsGet port state control inspections
get_vessel_casualtiesGet marine casualty records
get_vessel_inspection_detailGet detailed information about a specific inspection
get_vessel_positions_batchGet positions for multiple vessels at once (with optional time range)

Port Tools

ToolDescription
search_portsSearch ports by name, country, type, size, region, harbor size, or harbor use
get_portGet port details by UN/LOCODE
get_port_eventsGet arrivals/departures for a port
get_port_events_by_vesselGet port events for a vessel
list_port_eventsList port events globally with filters for time, country, port, vessel, or event type
search_port_events_by_portSearch port events by port name
search_port_events_by_vesselSearch port events by vessel name
get_vessel_last_port_eventGet the most recent port event for a vessel

Emissions Tools

ToolDescription
list_emissionsList global vessel emissions data with optional year filter

Location Tools

ToolDescription
get_vessels_in_areaFind vessels in a bounding box (with optional time range)
get_vessels_in_radiusFind vessels within a radius of a point (with optional time range)

Safety Tools

ToolDescription
get_navtex_messagesGet NAVTEX maritime safety messages

Pagination

All list endpoints support limit and nextToken parameters for manual pagination. When more results exist, the response includes a nextToken — pass it in the next call to get the next page.

Development

git clone https://github.com/vessel-api/vesselapi-mcp.git
cd vesselapi-mcp
npm install
npm run build
npm run build        # Build the server
npm run typecheck    # Type-check without emitting
npm run clean        # Remove build artifacts

Testing with MCP Inspector

VESSELAPI_API_KEY=your-key npx @modelcontextprotocol/inspector node dist/index.js

License

MIT

Keywords

mcp

FAQs

Package last updated on 17 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts