Skip to content
MCP server

maplibre-mcp

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

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.9.2
Listing updated
5 days ago

About maplibre-mcp

maplibre-mcp is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Install

Run in a terminal

claude mcp add maplibre-mcp -- npx -y maplibre-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "maplibre-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "maplibre-mcp"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "maplibre-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "maplibre-mcp"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "maplibre-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "maplibre-mcp"
      ]
    }
  }
}

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

{
  "mcpServers": {
    "maplibre-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "maplibre-mcp"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "maplibre-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "maplibre-mcp"
      ]
    }
  }
}

Configuration

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

Pricing

Open source

Prices change. Check birkskyum.github.io before you buy.

maplibre-mcp FAQ

Is maplibre-mcp free?

Yes. maplibre-mcp is open source, so you can use and self-host it for free.

How do I add maplibre-mcp to Claude Code?

Run this command in your terminal: claude mcp add maplibre-mcp -- npx -y maplibre-mcp