Skip to content
VS Code

grandline mcp for VS Code

io.github.dmsnavin/grandline-mcp

Empirical maritime distances from real AIS tracks: 4 route variants, port lookup, bulk matrix

client:VS Code transport:stdio runtime:pypi

Install grandline mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "grandline-api-key",
      "description": "GRANDLINE_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "grandline-api-url",
      "description": "GRANDLINE_API_URL",
      "password": true
    }
  ],
  "servers": {
    "grandline-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "grandline-mcp"
      ],
      "env": {
        "GRANDLINE_API_KEY": "${input:grandline-api-key}",
        "GRANDLINE_API_URL": "${input:grandline-api-url}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

grandline mcp in other clients