> ## Documentation Index
> Fetch the complete documentation index at: https://docs.datadocked.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Server

> Maritime intelligence for any AI assistant — Claude, Cursor, Windsurf, and more

<Note>
  Connect live maritime data to your AI assistant. Ask in plain English — no API knowledge needed.
</Note>

**Once connected, ask things like:**

* "Where is the Ever Given right now?"
* "Show me all tankers near Singapore"
* "Generate a risk report for vessel 9811000"

***

## Connect Your Platform

<Tabs>
  <Tab title="Claude Desktop">
    <Steps>
      <Step title="Get your API key">
        Sign up at [datadocked.com](https://datadocked.com/signup) and copy your API key from the dashboard.
      </Step>

      <Step title="Install the MCP server">
        ```bash theme={null}
        npm install -g datadocked-mcp
        ```
      </Step>

      <Step title="Add to Claude Desktop config">
        Open `~/Library/Application Support/Claude/claude_desktop_config.json` and add:

        ```json theme={null}
        {
          "mcpServers": {
            "datadocked": {
              "command": "npx",
              "args": ["datadocked-mcp"],
              "env": {
                "DATADOCKED_API_KEY": "your_api_key_here"
              }
            }
          }
        }
        ```
      </Step>

      <Step title="Restart Claude Desktop">
        Restart the app. Maritime data tools are now available in your conversations.
      </Step>
    </Steps>
  </Tab>

  <Tab title="Cursor">
    <Steps>
      <Step title="Get your API key">
        Sign up at [datadocked.com](https://datadocked.com/signup) and copy your API key from the dashboard.
      </Step>

      <Step title="Install the MCP server">
        ```bash theme={null}
        npm install -g datadocked-mcp
        ```
      </Step>

      <Step title="Add to Cursor MCP settings">
        Open **Cursor Settings → MCP** and add:

        ```json theme={null}
        {
          "mcpServers": {
            "datadocked": {
              "command": "npx",
              "args": ["datadocked-mcp"],
              "env": {
                "DATADOCKED_API_KEY": "your_api_key_here"
              }
            }
          }
        }
        ```
      </Step>

      <Step title="Restart Cursor">
        Restart the editor. Maritime data tools are now available in the AI panel.
      </Step>
    </Steps>
  </Tab>

  <Tab title="Windsurf">
    <Steps>
      <Step title="Get your API key">
        Sign up at [datadocked.com](https://datadocked.com/signup) and copy your API key from the dashboard.
      </Step>

      <Step title="Install the MCP server">
        ```bash theme={null}
        npm install -g datadocked-mcp
        ```
      </Step>

      <Step title="Add to Windsurf MCP settings">
        Open **Windsurf Settings → MCP** and add:

        ```json theme={null}
        {
          "mcpServers": {
            "datadocked": {
              "command": "npx",
              "args": ["datadocked-mcp"],
              "env": {
                "DATADOCKED_API_KEY": "your_api_key_here"
              }
            }
          }
        }
        ```
      </Step>

      <Step title="Restart Windsurf">
        Restart the editor. Maritime data tools are now available in Cascade.
      </Step>
    </Steps>
  </Tab>

  <Tab title="Claude Code">
    <Steps>
      <Step title="Get your API key">
        Sign up at [datadocked.com](https://datadocked.com/signup) and copy your API key from the dashboard.
      </Step>

      <Step title="Install & configure">
        Run the setup wizard — it configures the MCP server and optionally installs [Skills](/mcp/skills):

        ```bash theme={null}
        npm install -g datadocked-mcp && datadocked-mcp --setup
        ```
      </Step>

      <Step title="Start a Claude Code session">
        ```bash theme={null}
        claude
        ```

        Maritime data tools are now available. Install [Skills](/mcp/skills) for slash command shortcuts like `/track-vessel` and `/vessel-dossier`.
      </Step>
    </Steps>
  </Tab>
</Tabs>

***

## What You Can Do

<CardGroup cols={2}>
  <Card title="Track Any Vessel" icon="location-dot">
    Real-time position, speed, course, and ETA — by name, IMO, or MMSI.

    *"Where is MSC Oscar right now?"*
  </Card>

  <Card title="Search by Area" icon="map-location-dot">
    Find all vessels within a region, filtered by type, flag, or status.

    *"Show me all tankers within 50km of Singapore"*
  </Card>

  <Card title="Full Intelligence Reports" icon="file-lines">
    Complete vessel dossiers: specs, management, port history, PSC records.

    *"Generate a full dossier on vessel 9811000"*
  </Card>

  <Card title="Compliance & Risk" icon="clipboard-check">
    PSC inspection history and risk assessments by IMO number.

    *"Check the compliance risk for IMO 9321483"*
  </Card>

  <Card title="Port Activity" icon="anchor">
    Arrivals, departures, and traffic analysis for any port worldwide.

    *"What's happening at the port of Rotterdam today?"*
  </Card>

  <Card title="Fleet Monitoring" icon="radar">
    Track multiple vessels at once with a dashboard-style summary.

    *"Status update on my fleet: 9811000, 9321483, 9454450"*
  </Card>
</CardGroup>

***

## FAQ

<AccordionGroup>
  <Accordion title="What is MCP?">
    MCP (Model Context Protocol) is an open standard that lets AI assistants connect to external data sources. Once configured, your AI queries live maritime data directly in conversation — no copy-pasting, no switching tabs.
  </Accordion>

  <Accordion title="How does authentication work?">
    Your DataDocked API key is stored locally in the MCP config file on your machine. It is never sent to the AI provider — only used to authenticate requests from your machine to the DataDocked API.
  </Accordion>

  <Accordion title="Does using MCP cost credits?">
    Yes. Each tool call deducts credits the same as a direct API call. The MCP server shows estimated costs before running compound operations. Check your balance anytime: *"How many credits do I have left?"*
  </Accordion>

  <Accordion title="What tools are available?">
    18 tools covering vessel tracking, area search, bulk lookups, port calls, inspection records, weather, route planning, and more. [See the full tool list →](/mcp/tools)
  </Accordion>

  <Accordion title="What are Claude Code Skills?">
    Skills are slash commands that run pre-built maritime workflows inside Claude Code — `/track-vessel`, `/vessel-dossier`, `/fleet-monitor`, and more. [See Skills →](/mcp/skills)
  </Accordion>

  <Accordion title="Which AI assistants are supported?">
    Any MCP-compatible assistant: Claude Desktop, Claude Code, Cursor, and Windsurf. More platforms are adding MCP support regularly.
  </Accordion>
</AccordionGroup>

***

## Next Steps

<CardGroup cols={2}>
  <Card title="Available Tools" icon="wrench" href="/mcp/tools">
    All 18 MCP tools with credit costs and parameters
  </Card>

  <Card title="Claude Code Skills" icon="terminal" href="/mcp/skills">
    Slash command workflows for maritime intelligence
  </Card>
</CardGroup>
