MapGO MCP
Provides geospatial tools for AI assistants to determine location hierarchy, border distance, coastline distance, and point-to-point distance using MapGO.
README
MapGO MCP Server
Give your AI assistant (Claude Desktop, Claude Code, Cursor, …) live geospatial tools powered by MapGO:
| Tool | What it answers |
|---|---|
mapgo_location_hierarchy |
"What country/region/municipality is this coordinate in?" |
mapgo_border_distance |
"How far is this point from the nearest country border?" |
mapgo_coastline_distance |
"How far is this point from the sea?" |
mapgo_point_distance |
"How far apart are these two points, and in which direction?" |
All coordinates are decimal degrees (latitude −90..90, longitude −180..180).
Requirements
- A MapGO account on a paid plan — tool calls count against your monthly request quota.
- An API key: go to mapgo.io/dashboard/api-keys,
click Generate, and copy the
mapgo_sk_...key (it is shown only once).
Install in Claude Desktop — one file, no terminal (recommended)
The easiest way. No Node install, no config files, no command line — Claude Desktop runs everything for you.
- Download
mapgo.mcpb(from mapgo.io, or from this repo). - Open Claude Desktop → the ☰ menu → Settings → Extensions.
- Drag
mapgo.mcpbonto the Extensions page (or double-click the file). - When prompted, paste your MapGO API Key (
mapgo_sk_...) into the box and click install / enable. - Ask Claude a location question — e.g. "How far is Paris from the coastline?"
That's it. The key is stored securely by your operating system; everything else is bundled inside the file.
The options below are for developer tools (Claude Code, Cursor) or for running from source. Most users only need the one-file install above.
Requirements for the developer / source options
- Node.js 18 or newer.
Install — run from source
Until the npm package is published, clone and build this repo once:
git clone https://github.com/Nomit83/mapgo_mcp.git
cd mapgo_mcp
npm install
npm run build
Then use node /full/path/to/mapgo_mcp/dist/index.js as the server command in the
configs below (in place of npx -y @mapgo/mcp-server). For example, for Claude Code:
claude mcp add mapgo --env MAPGO_API_KEY=mapgo_sk_YOUR_KEY_HERE -- node /full/path/to/mapgo_mcp/dist/index.js
Claude Desktop
Add this to claude_desktop_config.json (Settings → Developer → Edit Config),
then restart Claude Desktop:
{
"mcpServers": {
"mapgo": {
"command": "npx",
"args": ["-y", "@mapgo/mcp-server"],
"env": { "MAPGO_API_KEY": "mapgo_sk_YOUR_KEY_HERE" }
}
}
}
Claude Code
claude mcp add mapgo --env MAPGO_API_KEY=mapgo_sk_YOUR_KEY_HERE -- npx -y @mapgo/mcp-server
Cursor
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"mapgo": {
"command": "npx",
"args": ["-y", "@mapgo/mcp-server"],
"env": { "MAPGO_API_KEY": "mapgo_sk_YOUR_KEY_HERE" }
}
}
}
Try it
Ask your assistant:
"How far is Kraków from the coast, and which country border is nearest?"
Troubleshooting
- "Invalid or missing MapGO API key" — re-check the key in your config; generate a new one at mapgo.io/dashboard/api-keys if lost.
- "requires a paid plan" — API access (including MCP) is for paid plans.
- "Monthly MapGO quota exceeded" — each tool call uses 1 request from your plan's monthly quota; it resets on the 1st of the month.
Environment variables
| Variable | Required | Default | Purpose |
|---|---|---|---|
MAPGO_API_KEY |
yes | — | Your mapgo_sk_... API key |
MAPGO_API_BASE |
no | https://mapgo.io |
Override for local testing (http://localhost:3000) |
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.