4,000+ servers built on vurb.ts
Vinkius
Mastra AISDK
Mastra AI
OpenStreetMap MCP Server

Bring Geospatial
to Mastra AI

Learn how to connect OpenStreetMap to Mastra AI and start using 33 AI agent tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code.

MCP Inspector GDPR Free for Subscribers
Close ChangesetClose NoteComment NoteCreate ChangesetCreate ElementCreate NoteDelete ElementDelete MessageDownload ChangesetGet Auth User DetailsGet ChangesetGet ElementGet Element HistoryGet ElementsGet Gpx DataGet Gpx MetadataGet InboxGet Map DataGet MessageGet NoteGet OutboxGet PermissionsGet UserGet User PreferencesList NotesList User GpxQuery ChangesetsSearch NotesSend MessageUpdate ChangesetUpdate ElementUpdate Message StatusUpload Gpx

Compatible with every major AI agent and IDE

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
OpenStreetMap

What is the OpenStreetMap MCP Server?

Connect your AI agent to the world's largest open geographic database. This server enables full interaction with the OpenStreetMap API (v0.6), allowing you to query, create, and update geospatial data through natural conversation.

What you can do

  • Map Data Retrieval — Fetch raw OSM data (nodes, ways, relations) within specific bounding boxes for analysis or visualization.
  • Element Management — Create, read, update, or delete map elements including points of interest (nodes), roads (ways), and complex boundaries (relations).
  • Changeset Workflows — Open, update, and close changesets to group your edits and provide meaningful metadata to the OSM community.
  • Historical Analysis — Retrieve the full version history of any map element to track changes over time.
  • Advanced Querying — Filter changesets by user, time range, or geographic area to monitor local mapping activity.

How it works

  1. Subscribe to this server
  2. Enter your OpenStreetMap OAuth Token
  3. Start exploring and editing the map from Claude, Cursor, or any MCP-compatible client

Your AI can now act as a GIS specialist, helping you audit map data or contribute to open-source geography without leaving your workspace.

Who is this for?

  • GIS Analysts — quickly extract raw map data for specific regions without manual exports
  • Open Source Contributors — automate the creation of map elements and manage changesets via chat
  • Developers — inspect map element metadata and history directly while building location-based services

Built-in capabilities (33)

close_changeset

Close a changeset

close_note

Close a map note

comment_note

Add a comment to an existing map note

create_changeset

Create a new changeset

create_element

Create a new node, way, or relation

create_note

Create a new map note

delete_element

Delete a node, way, or relation

delete_message

Delete a message

download_changeset

Download a changeset in OsmChange format

get_auth_user_details

Get details for the authenticated user

get_changeset

Read a changeset by ID

get_element

Read a node, way, or relation by ID

get_element_history

Get the history of a node, way, or relation

get_elements

Multi-fetch nodes, ways, or relations

get_gpx_data

Download data for a GPS trace

get_gpx_metadata

Read metadata for a GPS trace

get_inbox

Get the authenticated user's message inbox

get_map_data

Get map data (nodes, ways, relations) within a bounding box

get_message

Read a specific message

get_note

Read a map note by ID

get_outbox

Get the authenticated user's message outbox

get_permissions

Get OAuth permissions for the authenticated user

get_user

Get details for a specific user

get_user_preferences

Get preferences for the authenticated user

list_notes

List map notes within a bounding box

list_user_gpx

List GPS traces for the authenticated user

query_changesets

Query changesets with filters

search_notes

Search for map notes

send_message

Send a private message to another user

update_changeset

Update tags of an open changeset

update_element

Update an existing node, way, or relation

update_message_status

Update the read status of a message

upload_gpx

Upload a GPS trace (GPX)

Why Mastra AI?

Mastra's agent abstraction provides a clean separation between LLM logic and OpenStreetMap tool infrastructure. Connect 33 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

  • Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add OpenStreetMap without touching business code

  • Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

  • TypeScript-native: full type inference for every OpenStreetMap tool response with IDE autocomplete and compile-time checks

  • One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

M
See it in action

OpenStreetMap in Mastra AI

AI AgentVinkius
High Security·Kill Switch·Plug and Play
Why Vinkius

OpenStreetMap and 4,000+ other MCP servers. One platform. One governance layer.

Teams that connect OpenStreetMap to Mastra AI through Vinkius don't need to source, host, or maintain individual MCP servers. Every tool call runs inside a hardened runtime with credential isolation, DLP, and a signed audit chain.

4,000+MCP Servers ready
<40msCold start
60%Token savings
Raw MCP
Vinkius
Server catalogFind and host yourself4,000+ managed
InfrastructureSelf-hostedSandboxed V8 isolates
Credential handlingPlaintext in configVault + runtime injection
Data loss preventionNoneConfigurable DLP policies
Kill switchNoneGlobal instant shutdown
Financial circuit breakersNonePer-server limits + alerts
Audit trailNoneEd25519 signed logs
SIEM log streamingNoneSplunk, Datadog, Webhook
HoneytokensNoneCanary alerts on leak
Custom domainsNot applicableDNS challenge verified
GDPR complianceManual effortAutomated purge + export
Enterprise Security

Why teams choose Vinkius for OpenStreetMap in Mastra AI

The OpenStreetMap MCP Server runs on Vinkius-managed infrastructure inside AWS — a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts. All 33 tools execute in hardened sandboxes optimized for native MCP execution.

Your AI agents in Mastra AI only access the data you authorize, with DLP that blocks sensitive information from ever reaching the model, kill switch for instant shutdown, and up to 60% token savings. Enterprise-grade infrastructure, zero maintenance.

OpenStreetMap
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

The Vinkius Advantage

How Vinkius secures OpenStreetMap for Mastra AI

Every tool call from Mastra AI to the OpenStreetMap MCP Server is protected by DLP redaction, cryptographic audit chains, V8 sandbox isolation, kill switch, and financial circuit breakers.

< 40msCold start
Ed25519Signed audit chain
60%Token savings
FAQ

Frequently asked questions

01

How can I download map data for a specific region?

Use the get_map_data tool by providing a bounding box string (left, bottom, right, top). The agent will retrieve all nodes, ways, and relations within those coordinates.

02

Can I see who edited a specific road or building?

Yes! Use the get_element_history tool with the element type (node, way, or relation) and its ID. It will return the full version history, including timestamps and user information.

03

Is it possible to search for recent map updates in a city?

You can use query_changesets with a bbox (bounding box) parameter. This will list all changesets that intersect with that area, allowing you to inspect recent mapping activity.

04

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.

05

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.

06

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

07

createMCPClient not exported

Install: npm install @mastra/mcp

Explore More MCP Servers

View all →