vessel-traffic-mcp is a read-only Model Context Protocol (MCP) server that provides vessel tracking and shipping schedule data for AI agents. It lets Claude, ChatGPT, Codex, MCP Inspector, and other MCP clients access maritime data through a unified tool interface.
[Purpose] The server can be used when an agent needs the following capabilities: search for or retrieve vessel context through a general connector-style MCP tool; resolve vessels from vessel names, MMSI, IMO, call signs, or bill of lading text; query a vessel's current position, historical track, or which vessels are in a given area; search container shipping schedules by port pair or vessel; return the original provider and source URL for every live or public result; safely test maritime workflows before purchasing paid AIS or schedule APIs.
[Main capabilities] The capabilities exposed by the server include: searching vessels by vessel name, MMSI, IMO, or call sign; querying the latest position; performing area queries; querying port calls; querying carrier schedules; querying vessel schedules; and performing schedule delay judgment heuristics. The registered read-only schedule tools include: carrier_schedule_search, vessel_schedule, schedule_delay_predict. The registered read-only provider/settings tools include: provider_status, credential_profiles, provider_onboarding. Among them, provider_onboarding can view provider registration URLs, required environment variables, configured profile status, and verification steps, and is read-only; it does not create accounts, accept terms, solve CAPTCHAs, complete email verification, set payment information, or issue API keys. All live or public provider responses must expose source information: source.provider and source.landingUrl, so users can be directed back to the original service.
[Usage] For Claude Desktop, Claude Code, Codex CLI, Cursor, VS Code, or any stdio MCP client, install using the npm package, then restart the client. For complete client setup, see docs/runbooks/clients.md; for Codex details, see docs/runbooks/codex.md; for source checkout configuration snippets, see the shared MCP configuration snippets. For remote MCP clients, run Streamable HTTP at /mcp and provide a public /health. When VESSEL_MCP_AUTH_TOKEN is set, MCP requests require Authorization: Bearer <token>. See docs/runbooks/streamable-http-server.md and docs/runbooks/deployment-https.md for details. Local visual inspection: run the local vessel map UI, open http://127.0.0.1:8787 and search for EVER GIVEN or MMSI 353136000, and the interface will display map markers and visible source links. Default verification uses only sanitized fixtures, does not call paid or live providers, and does not require an API key, account, or network access. Public adapters captured from the browser need to be explicitly enabled: myshiptracking (vessel autocomplete, latest position query by selected MMSI, map extent query), tradlinx (FCL/LCL carrier schedule query), aisfriends (regional position query based on public map bounding-box, does not support vessel name search), shipfinder (vessel search and detail API shape used for explicit provider routing). Paid or credential-requiring providers can only use BYOK. Currently, credentialed providers that can be enabled at runtime include marinetraffic, vesselfinder, aisstream, aishub, barentswatch, searates-schedules, routescanner-connect, vesselapi, datadocked, datalastic, globalfishingwatch. Providers with a default credential profile set are registered automatically.
[Use cases] Suitable for developers who need to integrate maritime data queries into AI workflows, logistics/shipping software builders, and teams that want to test maritime workflows before purchasing paid AIS or schedule APIs. The project is aimed at public-interest interoperability, workflow testing, and maritime data access with source attribution.
[Limitations] This project does not bypass provider terms, paywalls, CAPTCHAs, or access controls. It is not a navigation product, and AIS data returned by configured providers may be delayed, incomplete, or inaccurate, so it must not be used for safety-critical navigation. The project does not store raw cookies, bearer tokens, API keys, private HAR files, raw scraping, or private browser sessions. Users must comply with applicable laws, provider terms, account permissions, rate limits, data licenses, and internal company policies on their own, and must not use it to bypass authentication, paywalls, CAPTCHAs, access controls, robots policies, or commercial restrictions. The project uses the MIT license, is in the Pre-1.0 stage, and the API and tool interface may change. Copying, redistributing, rebranding, bypassing, or abusing third-party services is not authorized.