> ## 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.

# Cursor

> Use Data Docked API with Cursor's AI assistant

Set up Cursor to query maritime data directly in your editor.

## Prerequisites

* Cursor editor installed
* DataDocked API key ([get one here](https://datadocked.com/signup))

## Setup

<Steps>
  <Step title="Install the MCP Server">
    In the integrated terminal, run:

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

  <Step title="Configure Cursor">
    Add to your Cursor MCP settings:

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

  <Step title="Restart Cursor">
    Restart Cursor to load the MCP server.
  </Step>

  <Step title="Start querying">
    Ask Cursor AI questions like:

    * "Where is the Ever Given right now?"
    * "Show me all tankers near Singapore"
    * "Get the inspection history for vessel 9811000"
  </Step>
</Steps>
