mcpField
M
MapRouter

MapRouter

Remote
maprouter.devMaps & Travel0Updated today

About MapRouter

MapRouter is an MCP server for coding agents that need to add maps to applications. It combines geocoding, time-zone lookup and MapLibre snippets with prepaid usage controls that agents cannot increase.

Key features

  1. 01Create publishable and secret keys
  2. 02Forward and reverse geocoding
  3. 03Place autocomplete and time zones
  4. 04Generate MapLibre snippets
  5. 05View usage and lower key budgets

Use cases

  1. 01Add a MapLibre map to an app
  2. 02Convert addresses to coordinates
  3. 03Check a location's time zone

MCP support

Provides mapping and key-management tools to MCP clients through a hosted HTTP endpoint or a locally run server.

Configuration

Remote servers need no local install. Pick your client, then copy the config or install in one click.

Endpointhttps://mcp.maprouter.dev/mcp
Copy install command
Claude CodeTerminal
Cursor.cursor/mcp.json
VS Code.vscode/mcp.json
Claude Desktopclaude_desktop_config.json
Windsurf~/.codeium/windsurf/mcp_config.json

Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.

Packages
npmmaprouter-mcp0.1.1

Tools

Details

From the project README

MapRouter MCP server

Maps your agent can set up, and a bill that can't run away.

This MCP server lets a coding agent add a working map to an app: it creates MapRouter keys, geocodes addresses, and writes MapLibre code for HTML, React, Vue or Svelte. MapRouter is prepaid, so the agent can read usage and lower budgets but can never add credits or raise a budget.

Use the hosted server (recommended)

No key to copy: it signs you in with GitHub.

claude mcp add --transport http maprouter https://mcp.maprouter.dev/mcp

Claude Code plugin

This repo is also a Claude Code plugin marketplace. The plugin adds the hosted server and an add-a-map skill:

/plugin marketplace add maprouter-dev/maprouter-mcp
/plugin install maprouter@maprouter

Run it locally

For clients that only run local servers. (The npm package is not published yet; until then, clone this repo and point your client at node src/stdio.ts.) Create a secret key at https://app.maprouter.dev.

{
  "mcpServers": {
    "maprouter": {
      "command": "npx",
      "args": ["-y", "maprouter-mcp"],
      "env": { "MAPROUTER_SECRET_KEY": "mr_sk_..." }
    }
  }
}

Requires Node 22.18 or later.

Tools

ToolWhat it doesCost
setup_projectCreates a publishable key (browser, origin-locked) and a secret key, returns env linesFree
geocodeAddress or place to coordinates10 credits
reverse_geocodeCoordinates to address10 credits
autocompleteSearch-as-you-type suggestions2 credits
timezoneIANA zone, UTC offset and DST at a point1 credit
get_map_snippetWorking MapLibre code with markersFree
check_usageBalance, free quota and key capsFree
set_key_budgetLowers a key's daily or monthly cap (never raises)Free

Map data © OpenStreetMap contributors.

Use it as a library

import { MapRouterClient, createServer, handleMcpRequest } from 'maprouter-mcp';

const client = new MapRouterClient({ key: process.env.MAPROUTER_SECRET_KEY! });
// Any web-standard server: Workers, Deno, Bun, Node 22+.
export default { fetch: (request: Request) => handleMcpRequest(request, client) };

Licence

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.