AIS Trail

Official registry Other

Live AIS ship positions, vessel history, port calls and events, plus sanctions flags. Read-only.

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

Remote (streamable-http)
Claude Code
claude mcp add --transport http ais-trail 'https://api.aistrail.com/mcp' --header 'Authorization: <Optional. "Bearer <your AIS Trail API key>" for the archive tools (vessel_track, vessel_port_calls, port_calls, vessel_events, lookup_vessels). The live tools work without it.>'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "ais-trail": {
            "type": "http",
            "url": "https://api.aistrail.com/mcp",
            "headers": {
                "Authorization": "<Optional. \"Bearer <your AIS Trail API key>\" for the archive tools (vessel_track, vessel_port_calls, port_calls, vessel_events, lookup_vessels). The live tools work without it.>"
            }
        }
    }
}

Documentation

From the project's README on GitHub, refreshed weekly. Links open on GitHub.

Contents
  1. AIS Trail MCP server
  2. Connect
  3. Tools
  4. Data
  5. Support

AIS Trail MCP server

Ship data for AI assistants: live AIS positions, vessel history, port calls, vessel events and sanctions flags. A hosted, read-only MCP server; there is nothing to install.

This repository holds the documentation for the hosted server. The server runs at AIS Trail.

Connect

The live tools work without a key. The archive tools need an AIS Trail API key, sent as Authorization: Bearer <key>. You can get one at https://aistrail.com (the Free plan includes one).

Claude Code:

claude mcp add --transport http aistrail https://api.aistrail.com/mcp \
  --header "Authorization: Bearer $AIS_TRAIL_KEY"

Clients that take a JSON config (VS Code, Cursor and others):

{
  "servers": {
    "aistrail": {
      "type": "http",
      "url": "https://api.aistrail.com/mcp",
      "headers": { "Authorization": "Bearer YOUR_AIS_TRAIL_KEY" }
    }
  }
}

Leave out headers to use only the live tools.

Tools

ToolWhat it answersKey
search_vesselsFind ships by name, MMSI or IMO numberNo
get_vesselOne ship now: identity, flag, size, position, speed, course, destination and ETANo
vessels_in_areaShips heard in the last hour inside a boxNo
vessels_nearShips heard in the last hour near a point or another shipNo
find_portPorts by name, UN/LOCODE or countryNo
data_statusLive ship count, archive coverage and data freshnessNo
vessel_trackWhere a ship has been between two timesYes
vessel_port_callsA ship's port calls with draught and cargo estimateYes
port_callsArrivals and departures at one portYes
vessel_eventsPort arrivals and departures, stops, changes of name, IMO, destination or flag, AIS gaps and close encountersYes
lookup_vesselsRecords of up to 20 ships at once, with sanctions list flags (OFAC, UK, EU)Yes

Archive tools use the credits of your AIS Trail plan, the same way as the REST API. See the docs for the details.

Data

Support

Open an issue in this repository or write to hello@aistrail.com.

Frequently asked questions

What is AIS Trail?

Live AIS ship positions, vessel history, port calls and events, plus sanctions flags. Read-only.

How do I install AIS Trail?

It runs as a remote server. In Claude Code: claude mcp add --transport http ais-trail 'https://api.aistrail.com/mcp' --header 'Authorization: <Optional. "Bearer <your AIS Trail API key>" for the archive tools (vessel_track, vessel_port_calls, port_calls, vessel_events, lookup_vessels). The live tools work without it.>'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does AIS Trail need an API key?

Yes. It expects Authorization, which you set in its configuration.

Is AIS Trail open source?

Its code is public on GitHub, but the repository does not declare a standard license.

Who maintains AIS Trail?

It is published by aistrail. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.