MCP Server Studio

maplibre-mcp MCP server

An MCP server that lets AI agents check, render and show MapLibre styles

Registry name: io.github.birkskyum/maplibre-mcp

Publisher
birkskyum
Runs
Runs locally
Package
npm
Version
0.9.2
Category
AI & agents
Updated
2026-10-05

Source code on GitHub

Set up maplibre-mcp (run locally)

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "maplibre-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "MAPLIBRE_MCP_TOOLSETS": "<MAPLIBRE_MCP_TOOLSETS>",
        "MARTIN_URL": "<MARTIN_URL>"
      }
    }
  }
}

Claude Code

Run in your terminal:

claude mcp add maplibre-mcp -e MAPLIBRE_MCP_TOOLSETS='<MAPLIBRE_MCP_TOOLSETS>' -e MARTIN_URL='<MARTIN_URL>' -- npx -y [email protected]

Cursor

Add to .cursor/mcp.json:

{
  "mcpServers": {
    "maplibre-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "MAPLIBRE_MCP_TOOLSETS": "<MAPLIBRE_MCP_TOOLSETS>",
        "MARTIN_URL": "<MARTIN_URL>"
      }
    }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "maplibre-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "MAPLIBRE_MCP_TOOLSETS": "<MAPLIBRE_MCP_TOOLSETS>",
        "MARTIN_URL": "<MARTIN_URL>"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "maplibre-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "MAPLIBRE_MCP_TOOLSETS": "<MAPLIBRE_MCP_TOOLSETS>",
        "MARTIN_URL": "<MARTIN_URL>"
      }
    }
  }
}

Settings

NameRequiredWhat it is
MAPLIBRE_MCP_TOOLSETSNoThe toolsets to turn on, comma separated, like style,gl-js,martin. Defaults to style,gl-js, and all turns on every toolset.
MARTIN_URLNoThe Martin server that the martin toolset reads and renders with. Defaults to http://localhost:3000.

More ai & agents MCP servers