
Overspan
dev.overspanPublished by overspan.devv0.1.2Updated Nov 24, 2026
OpenStreetMap queries as MCP tools, served by the Overspan hosted Overpass API.
Overview
MCP server for Overspan's hosted Overpass API, letting an assistant query OpenStreetMap data with Overpass QL and nearby or bounding-box helpers.
- What you can do
- Run raw Overpass QL queries against full-planet OpenStreetMap data, with a QL cheat sheet and a query-writing prompt as resources and prompts to draw on. Find features by tag filters within a radius of a point, or inside a bounding box. Count matches in an area without returning them, to size a query before pulling data. Check the key's tier, limits, month-to-date quota and recent requests without consuming quota.
- When to use it
- Use it when an assistant needs OpenStreetMap features, places or counts for a location, and you want metered, hosted Overpass access rather than running your own Overpass instance. The count tool helps when you want to gauge result size before fetching data.
- Requirements
- Runs locally via npx (Node.js). Requires an Overspan API key in the OVERSPAN_API_KEY environment variable, set in the MCP client's env block; a 7-day trial or a paid plan is needed to obtain one. Optional OVERSPAN_API_URL and OVERSPAN_MAX_RESPONSE_CHARS variables tune the endpoint and response size. Network access to the Overspan API.
Installation
In SourceWeft
- Open Overspan in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
overspan-mcp
An MCP (Model Context Protocol) server for Overspan, the hosted Overpass API. It gives Claude, Cursor, and any other MCP client direct, metered access to full-planet OpenStreetMap data: raw Overpass QL plus helper tools for nearby search, bounding-box search, counting, and usage checks.
You need an Overspan API key. Try it free for 7 days at overspan.dev/trial: a trial key by email, 2,000 requests, no card. Plans start at $19/month at overspan.dev; the key arrives by email after checkout, no account needed.
Quickstart
Claude Code
Claude Desktop, Cursor, and other JSON-configured clients
The key must be in the server's env block. MCP clients start servers with their own environment, so a variable exported in your shell profile will not reach it. Treat any config file containing the key as a secret; in Claude Code's .mcp.json you can write "OVERSPAN_API_KEY": "${OVERSPAN_KEY}" to keep the key in your environment and out of the file.
Tools
The server also exposes two resources the model can read (overspan://overpass-ql, a QL cheat sheet, and overspan://differences, how Overspan differs from the public servers) and one prompt (write-bounded-overpass-query).
Behaviour worth knowing
- The key is sent as an
Authorization: Bearerheader, never in a URL. - Every successful tool result carries a quota line (
[quota] 49998 of 50000 requests remaining, window ends 2026-12-01T00:00:00Z) so an agent can pace itself. A plan's window is the month; a trial's is its 7 days.get_usagegives the full picture and is free to call. - Errors come back in plain language with the gateway's error code, what it means, and whether to retry. Rejected requests do not consume quota, and a runaway loop is bounded by the key's own rate and concurrency caps, never by a larger bill. A trial key adds two:
trial_busy(wait and retry: paying customers come first while the servers are busy) andtrial_ended(the 7 days are over; do not retry). - Oversized responses are trimmed to fit a model's context: for Overpass JSON the element list is cut and the result says how many elements were dropped. Raise the cap with
OVERSPAN_MAX_RESPONSE_CHARSif you want more. - Queries without
[timeout:]get 25 seconds. Set it explicitly for heavy queries, up to your tier's cap.
Environment variables
Data licence
Results are OpenStreetMap data, licensed under the Open Database License. Anything you publish that shows or derives from this data needs a visible credit reaching openstreetmap.org/copyright. Your Overspan subscription pays for hosting and access, not for the data, and does not change those obligations.
Development
The test suite covers the query builders, response shaping, error mapping, and a full in-memory MCP client round trip.
Links
Overspan is an independent service, not affiliated with the OpenStreetMap Foundation or the Overpass API project.
MIT licensed.
Source: README.md at commit 9412a0e
Tools
0Version history
1- v0.1.2LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts