AIS Trail MCP
An official MCP server provided by AIS Trail that exposes read-only maritime data tools to AI assistants. It allows agents to search for vessels by name or ID, retrieve live positions, query historical tracks, and list port calls using plain language queries, with live tools requiring no API key and archive tools using standard authentication.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://api.aistrail.com/mcpWhat its tools do
12 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.
Checks and signals
Each line is separate evidence, not a trust score.
- Passed Endpoint answered the live check ·
- Passed Official MCP Registry namespace is tied to aistrail.com ·
- Passed Endpoint is on the registry namespace domain ·
- Uptime 100% over 90 days
- Availability 3 of 3 checks passed in 30 days
What you can do with it
- Find ships by name, MMSI, or IMO
- Retrieve live vessel positions and tracks
- Query historical voyage data and port calls
- List ships in a specific geographic area
Source and maintenance
- Last repository push
- Maintenance checked
Protocol and capabilities
- Server
- aistrail-ais 1.7.0
- MCP protocol negotiated in check
- 2025-11-25
- Tools
- 12 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- Not advertised
{
"tools": {
"listChanged": false
}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
12 advertised
search_vessels — Search ships
Find ships by name (or part of it), MMSI (9 digits) or IMO number (7 digits). Returns live ships first, then ships out of range with their last known position (up to 7 days). List results are compact rows (mmsi, name, category, flag (ISO code from the MMSI), lat, lon, speed_kn, course_deg, length_m, destination, age_s, status, source); call get_vessel for full details of one ship. Private vessels (pleasure craft, sailing vessels and Class B transponders without a valid IMO number) are never listed or looked up individually; area and nearby results report how many were left out (private_vessels).
{
"type": "object",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 20,
"minimum": 1,
"description": "Maximum number of ships to return"
},
"query": {
"type": "string",
"maxLength": 100,
"minLength": 3,
"description": "Ship name, MMSI (9 digits) or IMO (7 digits)"
}
},
"additionalProperties": false
}{
"title": "Search ships",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}get_vessel — Ship details and position
Everything known about one ship now: identity (name, IMO, call sign, flag, type, size), last position, speed, course, heading, navigational status, destination (port codes decoded) and ETA as given by the crew, how long ago it was heard, its track over the last 40 minutes, and the data sources to credit. flag (ISO code) and flag_country come from the MMSI: the flag of the radio licence, usually but not always the registry flag. dwt_estimate is an estimate from the AIS dimensions (tonnes, size class such as Panamax or VLCC, hull, draught used), not a registry value; null for tugs, pleasure craft and other types where deadweight does not apply. For archive records and sanctions flags, use lookup_vessels (account).
{
"type": "object",
"required": [
"mmsi"
],
"properties": {
"mmsi": {
"type": "integer",
"maximum": 999999999,
"minimum": 1,
"description": "9-digit MMSI"
}
},
"additionalProperties": false
}{
"title": "Ship details and position",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}vessels_in_area — Ships in an area
Ships heard in the last hour inside a box (at most 5° on each side), largest first. List results are compact rows (mmsi, name, category, flag (ISO code from the MMSI), lat, lon, speed_kn, course_deg, length_m, destination, age_s, status, source); call get_vessel for full details of one ship. Private vessels (pleasure craft, sailing vessels and Class B transponders without a valid IMO number) are never listed or looked up individually; area and nearby results report how many were left out (private_vessels).
{
"type": "object",
"required": [
"min_lat",
"min_lon",
"max_lat",
"max_lon"
],
"properties": {
"limit": {
"type": "integer",
"default": 30,
"maximum": 100,
"minimum": 1,
"description": "Maximum number of ships to return"
},
"max_lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Northern edge of the box, decimal degrees"
},
"max_lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Eastern edge of the box, decimal degrees"
},
"min_lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Southern edge of the box, decimal degrees"
},
"min_lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Western edge of the box, decimal degrees"
},
"ship_type": {
"enum": [
"cargo",
"tanker",
"passenger",
"hsc",
"fishing",
"service",
"pleasure",
"other"
],
"type": "string",
"description": "Optional type filter"
}
},
"additionalProperties": false
}{
"title": "Ships in an area",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}vessels_near — Ships near a point or ship
Ships heard in the last hour within a radius (at most 50 nautical miles) of a point or of another ship, nearest first. List results are compact rows (mmsi, name, category, flag (ISO code from the MMSI), lat, lon, speed_kn, course_deg, length_m, destination, age_s, status, source); call get_vessel for full details of one ship. Private vessels (pleasure craft, sailing vessels and Class B transponders without a valid IMO number) are never listed or looked up individually; area and nearby results report how many were left out (private_vessels).
{
"type": "object",
"required": [],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude of the centre, decimal degrees (with lon, or give mmsi)"
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude of the centre, decimal degrees (with lat, or give mmsi)"
},
"mmsi": {
"type": "integer",
"description": "Use this ship's position as the centre instead of lat/lon"
},
"limit": {
"type": "integer",
"default": 20,
"maximum": 50,
"minimum": 1,
"description": "Maximum number of ships to return"
},
"radius_nm": {
"type": "number",
"default": 5,
"maximum": 50,
"minimum": 0.1,
"description": "Search radius in nautical miles"
}
},
"additionalProperties": false
}{
"title": "Ships near a point or ship",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}vessel_track — Ship history (account)
Where a ship has been between two times (UTC, ISO 8601), from the AIS Trail archive. Needs an AIS Trail account: sign in when the MCP client asks, or send an API key as the HTTP header 'Authorization: Bearer ap_live_…' (keys at https://aistrail.com). Resolution: raw (up to 24 h per call), 1m (up to 7 days) or 1h (up to 366 days); at most 200 points per call, as rows of [time, lat, lon, speed_kn, course_deg]. The plan's history depth, credits (as on the track endpoint: 1 per vessel-day) and rate limit apply, and the 24-hour delay on recent data on plans without live data. sources_through gives, per source, the time up to which the archive holds its data; pending_days lists days in the range a source has not delivered yet, so no points on those days does not mean the ship was absent.
{
"type": "object",
"required": [
"mmsi",
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"maxLength": 40,
"description": "End, e.g. 2026-10-02T00:00:00Z"
},
"from": {
"type": "string",
"maxLength": 40,
"description": "Start, e.g. 2026-10-01T00:00:00Z"
},
"mmsi": {
"type": "integer",
"maximum": 999999999,
"minimum": 1,
"description": "9-digit MMSI of the ship"
},
"resolution": {
"enum": [
"raw",
"1m",
"1h"
],
"type": "string",
"default": "1m",
"description": "raw: every position (up to 24 h per call); 1m: one point per minute (up to 7 days); 1h: one point per hour (up to 366 days)"
}
},
"additionalProperties": false
}{
"title": "Ship history (account)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}data_status — Coverage and freshness
How many ships are live now (live_ships_private: how many of them are private vessels, counted only), how many are known from the last 7 days, the date range of the history archive per source with available_until (the latest time vessel_track can return for that source on plans without live data), and the service status: ok or degraded, with reason codes in reasons.
{
"type": "object",
"required": [],
"properties": {},
"additionalProperties": false
}{
"title": "Coverage and freshness",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}find_port — Find ports
Find ports by name (or part of it), UN/LOCODE (e.g. FIHEL) or two-letter country code (e.g. FI) in the port reference (World Port Index and UN/LOCODE ports): id (for port_calls), name, country, UN/LOCODE, position, harbor size (World Port Index ports only) and the radius of the port area used to detect port calls. At most 20 ports, larger harbors first. No API key needed.
{
"type": "object",
"required": [],
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 20,
"minimum": 1,
"description": "Maximum number of ports to return"
},
"query": {
"type": "string",
"maxLength": 64,
"minLength": 2,
"description": "Port name"
},
"locode": {
"type": "string",
"maxLength": 6,
"minLength": 5,
"description": "UN/LOCODE"
},
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "ISO 3166-1 alpha-2 country code"
}
},
"additionalProperties": false
}{
"title": "Find ports",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}vessel_port_calls — Ship port calls (account)
Port calls of a ship between two times (UTC, ISO 8601), from the AIS Trail archive: port, arrival, departure, draught on arrival and departure, cargo estimate (loaded, ballast or unchanged, from the draught change), previous and next port. Give mmsi or imo. A port call starts when the ship stops inside a port area and ends when it leaves; departure is null while it is still in port. The sanctions column gives the codes of the sanctions lists (OFAC, UK, EU) that name the ship's IMO number; informational only, not a compliance determination. Needs an AIS Trail account: sign in when the MCP client asks, or send an API key as the HTTP header 'Authorization: Bearer ap_live_…'. At most 100 port calls per call and at most 366 days; the plan's history depth, credits (1 per port call returned), rate limit and 24-hour delay (on plans without live data) apply.
{
"type": "object",
"required": [
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"maxLength": 40,
"description": "End, e.g. 2026-10-01T00:00:00Z"
},
"imo": {
"type": "integer",
"maximum": 9999999,
"minimum": 1000000,
"description": "7-digit IMO number of the ship; give mmsi or imo"
},
"from": {
"type": "string",
"maxLength": 40,
"description": "Start, e.g. 2026-09-01T00:00:00Z"
},
"mmsi": {
"type": "integer",
"maximum": 999999999,
"minimum": 1,
"description": "9-digit MMSI of the ship; give mmsi or imo"
}
},
"additionalProperties": false
}{
"title": "Ship port calls (account)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}port_calls — Port arrivals and departures (account)
Ships that called at one port between two times (UTC, ISO 8601), from the AIS Trail archive: ship (with its flag from the MMSI), arrival, departure, draught on arrival and departure, cargo estimate, previous and next port. Get the port_id from find_port. event: any (in port at any time in the range, default), arrival or departure. The sanctions column gives the codes of the sanctions lists (OFAC, UK, EU) that name the ship's IMO number; informational only, not a compliance determination. Needs an AIS Trail account: sign in when the MCP client asks, or send an API key as the HTTP header 'Authorization: Bearer ap_live_…'. At most 100 port calls per call and at most 366 days; the plan's rules and credits (1 per port call returned) apply as for vessel_port_calls.
{
"type": "object",
"required": [
"port_id",
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"maxLength": 40,
"description": "End, e.g. 2026-09-02T00:00:00Z"
},
"from": {
"type": "string",
"maxLength": 40,
"description": "Start, e.g. 2026-09-01T00:00:00Z"
},
"event": {
"enum": [
"any",
"arrival",
"departure"
],
"type": "string",
"default": "any",
"description": "any: in port at any time in the range; arrival: arrived in the range; departure: departed in the range"
},
"port_id": {
"type": "integer",
"maximum": 99999999,
"minimum": 1,
"description": "Port id from find_port"
}
},
"additionalProperties": false
}{
"title": "Port arrivals and departures (account)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}expected_arrivals — Ships expected at a port (account)
Ships that have not arrived yet at one port, from the port's own records: estimated arrival and departure (UTC), berth and declared previous port, from 6 hours ago to 14 days ahead, in arrival order. Available for Finnish ports; elsewhere the list is empty. Get the port_id from find_port. Needs an AIS Trail account (sign in when the MCP client asks, or send an API key as the HTTP header 'Authorization: Bearer ap_live_…') and a plan with live data (Pro or Business); at most 200 ships per call, 1 credit per ship returned.
{
"type": "object",
"required": [
"port_id"
],
"properties": {
"port_id": {
"type": "integer",
"maximum": 99999999,
"minimum": 1,
"description": "Port id from find_port"
}
},
"additionalProperties": false
}{
"title": "Ships expected at a port (account)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}vessel_events — Ship events (account)
Events of a ship between two times (UTC, ISO 8601), computed from the AIS Trail archive. from and to are optional: without to, now (24 hours ago on plans without live data); without from, 7 days before to (on Free, no earlier than the oldest day the plan includes), as on the REST endpoint. Give mmsi or imo (with imo, every MMSI that reported that IMO number in the range). Types: ENTER_ZONE and EXIT_ZONE (arrival at and departure from a port or anchorage; port_id for port_calls, zone port or anchorage), STATE_CHANGED (MOVING, NOT_MOVING, LONG_STOP), NAME_CHANGED, IMO_CHANGED, CALLSIGN_CHANGED, DESTINATION_CHANGED and DRAUGHT_CHANGED (old and new value); only when asked by name or with types ['all']: AIS_GAP (long AIS silence while under way; old_value hours, new_value nautical miles), ENCOUNTER (slow close approach to another ship outside port areas, a candidate ship-to-ship transfer; new_value the other ship's MMSI), FLAG_CHANGED (the IMO number reappears under an MMSI with another flag) and POSITION_JUMP (a physically impossible position jump). Rows: [time, event, old_value, new_value, lat, lon, mmsi, port_id, zone, sanctions, detail]; detail says more about behaviour events. The sanctions column gives the codes of the sanctions lists (OFAC, UK, EU) that name the ship's IMO number; informational only, not a compliance determination. Needs an AIS Trail account: sign in when the MCP client asks, or send an API key as the HTTP header 'Authorization: Bearer ap_live_…'. At most 200 events per call and at most 31 days; the plan's history depth, credits (1 per event returned), rate limit and 24-hour delay (on plans without live data) apply.
{
"type": "object",
"required": [],
"properties": {
"to": {
"type": "string",
"maxLength": 40,
"description": "End, e.g. 2026-10-08T00:00:00Z; default: now (24 hours ago on plans without live data)"
},
"imo": {
"type": "integer",
"maximum": 9999999,
"minimum": 1000000,
"description": "7-digit IMO number; covers every MMSI that reported it in the range. Give mmsi or imo"
},
"from": {
"type": "string",
"maxLength": 40,
"description": "Start, e.g. 2026-10-01T00:00:00Z; default: 7 days before to (on Free, no earlier than the oldest day the plan includes)"
},
"mmsi": {
"type": "integer",
"maximum": 999999999,
"minimum": 1,
"description": "9-digit MMSI of the ship; give mmsi or imo"
},
"types": {
"type": "array",
"items": {
"enum": [
"ENTER_ZONE",
"EXIT_ZONE",
"STATE_CHANGED",
"NAME_CHANGED",
"IMO_CHANGED",
"CALLSIGN_CHANGED",
"DESTINATION_CHANGED",
"DRAUGHT_CHANGED",
"AIS_GAP",
"ENCOUNTER",
"FLAG_CHANGED",
"POSITION_JUMP",
"all"
],
"type": "string"
},
"maxItems": 12,
"description": "Event types; default: every type except AIS_GAP, ENCOUNTER, FLAG_CHANGED, POSITION_JUMP. ['all'] for every type."
}
},
"additionalProperties": false
}{
"title": "Ship events (account)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}lookup_vessels — Ship records and sanctions (account)
Records of up to 20 ships at once from the AIS Trail archive, by mmsi and/or imo (lists): identity and particulars (name, IMO, call sign, type, flag from the MMSI, length, beam, estimated deadweight, first and last seen) and sanctions flags by IMO number from three official lists: OFAC SDN, UK Sanctions List and EU Regulation 833/2014 Annex XLII (list, programmes, date listed). An IMO number resolves to the MMSI that reported it last; ships not in the plan's sources come back with found false. Sanctions flags are informational, not a compliance determination: only ships a list names by IMO number are matched, ownership-based sanctions are not covered. Needs an AIS Trail account: sign in when the MCP client asks, or send an API key as the HTTP header 'Authorization: Bearer ap_live_…'. Credits: 1 per ship returned (none for ships not found); the plan's sources and 24-hour delay (on plans without live data) apply.
{
"type": "object",
"required": [],
"properties": {
"imo": {
"type": "array",
"items": {
"type": "integer",
"maximum": 9999999,
"minimum": 1000000
},
"maxItems": 20,
"description": "7-digit IMO numbers; mmsi and imo together at most 20"
},
"mmsi": {
"type": "array",
"items": {
"type": "integer",
"maximum": 999999999,
"minimum": 100000000
},
"maxItems": 20,
"description": "9-digit MMSIs"
}
},
"additionalProperties": false
}{
"title": "Ship records and sanctions (account)",
"readOnlyHint": true,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}Prompts
Not advertised
Resources
Not advertised
90-day uptime
A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.
- 2026-11-02: 4 of 4 checks answered
- 2026-11-03: 4 of 4 checks answered
- 2026-11-04: 4 of 4 checks answered
- 2026-11-05: 4 of 4 checks answered
- 2026-11-06: 4 of 4 checks answered
- 2026-11-07: 2 of 2 checks answered
- 2026-11-09: 1 of 1 checks answered
- 2026-11-10: 2 of 2 checks answered
- 2026-11-11: 1 of 1 checks answered
- 2026-11-12: 1 of 1 checks answered
- 2026-11-14: 1 of 1 checks answered
- 2026-11-15: 2 of 2 checks answered
- 2026-11-16: 4 of 4 checks answered
- 2026-11-17: 5 of 5 checks answered
- 2026-11-18: 5 of 5 checks answered
- 2026-11-19: 4 of 4 checks answered
- 2026-11-20: 2 of 2 checks answered
- 2026-11-21: 4 of 4 checks answered
- 2026-11-22: 4 of 4 checks answered
- 2026-11-23: 4 of 4 checks answered
- 2026-11-24: 4 of 4 checks answered
- 2026-11-25: 4 of 4 checks answered
- 2026-11-26: 4 of 4 checks answered
- 2026-11-27: 4 of 4 checks answered
- 2026-11-28: 3 of 3 checks answered
- 2026-11-29: 4 of 4 checks answered
- 2026-11-30: 4 of 4 checks answered
- 2026-12-01: 4 of 4 checks answered
- 2026-12-02: 4 of 4 checks answered
- 2026-12-03: 4 of 4 checks answered
- 2026-12-04: 2 of 2 checks answered
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 3 of 3 (100%)
- Average latency
- 1523 ms
- 95th percentile latency
- 1645 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 1351 ms · 12 tool(s)
- · probe · passed · 1654 ms · 12 tool(s)
- · probe · passed · 1563 ms · metadata changed · 12 tool(s)
- · repository · passed · updated
- · repository · passed · metadata changed · unchanged
- · repository · passed · metadata changed · updated
- · registry · passed · metadata changed · Source metadata updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Try asking
Reviewed prompts from cited playbooks. Connect the listed servers before using them.
List all tankers currently located in the Strait of Gibraltar. Provide their MMSI, name, and current speed.Retrieve the historical track and port calls for the vessel with IMO 9892690 between 2026-10-01 and 2026-10-07. Include speed, course, and navigational status for each position.Agent playbooks using this server
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http ais-trail-mcp https://api.aistrail.com/mcpCodex
codex mcp add ais-trail-mcp --url https://api.aistrail.com/mcpCursor
{
"mcpServers": {
"ais-trail-mcp": {
"url": "https://api.aistrail.com/mcp"
}
}
}Cline
{
"mcpServers": {
"ais-trail-mcp": {
"type": "streamableHttp",
"url": "https://api.aistrail.com/mcp",
"disabled": false
}
}
}VS Code
{
"servers": {
"ais-trail-mcp": {
"type": "http",
"url": "https://api.aistrail.com/mcp"
}
}
}Gemini CLI
gemini mcp add --transport http ais-trail-mcp https://api.aistrail.com/mcpClaude Desktop
https://api.aistrail.com/mcpWindsurf
{
"mcpServers": {
"ais-trail-mcp": {
"serverUrl": "https://api.aistrail.com/mcp"
}
}
}Let your agent find its tools
Find servers like AIS Trail MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other data and analytics servers
Do you run AIS Trail MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.