npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vesselapi-mcp

v1.0.1

Published

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

Readme

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

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

Resources: Documentation | API Explorer | Dashboard | Contact Support

Features

  • 16 tools covering vessels, ports, location search, and maritime safety
  • Vessel search, positions, ETA, classification, ownership, emissions, inspections, and casualties
  • Port search, details, and port events (arrivals/departures)
  • 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:

| Client | Config 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

| Tool | Description | |---|---| | search_vessels | Search vessels by name, IMO, MMSI, flag, type, or callsign | | get_vessel | Get detailed vessel information | | get_vessel_position | Get current vessel position (lat/lon, speed, heading) | | get_vessel_eta | Get vessel estimated time of arrival | | get_vessel_classification | Get classification details (class society, surveys, hull) | | get_vessel_ownership | Get ownership details (owner, manager, operator) | | get_vessel_emissions | Get emissions data (CO2, fuel consumption) | | get_vessel_inspections | Get port state control inspections | | get_vessel_casualties | Get marine casualty records |

Port Tools

| Tool | Description | |---|---| | search_ports | Search ports by name, country, type, or region | | get_port | Get port details by UN/LOCODE | | get_port_events | Get arrivals/departures for a port | | get_port_events_by_vessel | Get port events for a vessel |

Location Tools

| Tool | Description | |---|---| | get_vessels_in_area | Find vessels in a bounding box | | get_vessels_in_radius | Find vessels within a radius of a point |

Safety Tools

| Tool | Description | |---|---| | get_navtex_messages | Get 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