mapsource-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mapsource-mcpShow me the fastest route from Los Angeles to San Diego"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mapsource-mcp
Official local stdio adapter for the hosted Mapsource MCP server. It gives desktop agents and clients one connection for OpenStreetMap queries, address and business search, regional POI discovery, routing, matrices, isochrones, map matching, optimization, elevation and terrain, basemap styling, spatial analysis, rendering, usage, and service status.
npm install mapsource-mcpConnect an MCP client
The adapter reads the subscription key from the process environment and forwards tool calls to Mapsource over HTTPS. It never puts the key in a URL, package file, or log.
{
"mcpServers": {
"mapsource": {
"command": "npx",
"args": ["-y", "mapsource-mcp"],
"env": {
"MAPSOURCE_API_KEY": "your-key-from-secret-storage"
}
}
}
}Use the equivalent command, args, and secret-environment fields in your MCP client. Prefer a pinned version in managed deployments: npx -y mapsource-mcp@0.1.0.
MAPSOURCE_API_KEY="$MAPSOURCE_API_KEY" npx mapsource-mcp --checkClients that support Streamable HTTP and protected headers can connect directly to https://mapsource.io/mcp with Authorization: Bearer …; the adapter exists for stdio-first clients.
Related MCP server: geopera-mcp
Complete tool surface
The adapter discovers tool definitions from the deployed service at connection time, so a stale install does not conceal new server tools. This release also ships a provenance-recorded snapshot of all 13 tools:
geo_data— status, metrics, basemaps, elevation, terrain, contours, and usage.geo_style— inspect, compile, validate, explain, and export custom vector basemaps.geo_search— address/business lookup, regional discovery, nearby POIs, and geocoding.geo_navigate— routes, matrices, isochrones, map matching, and trip optimization.geo_analyze— result retrieval, spatial computation, and typed pipelines.geo_render— deterministic static map rendering.Compatibility tools:
service_status,basemap_catalog,elevation,find_features,route,isochrone, andoverpass_query.
See the generated tool and operation table. Machine-readable discovery is included as mapsource-mcp/mcp.json, mapsource-mcp/openapi.json, mapsource-mcp/llms.txt, mapsource-mcp/llms-full.txt, and mapsource-mcp/server.json.
The local server also exposes those snapshots as MCP resources under mapsource://contract/*. Tool calls still run against the live hosted backend and use the same plan limits as REST calls.
Programmatic use
import { createMapsourceServer } from "mapsource-mcp";
const server = await createMapsourceServer({
apiKey: process.env.MAPSOURCE_API_KEY,
});
// Connect `server` to an MCP transport owned by your application.Use MAPSOURCE_MCP_URL only for an approved HTTPS Mapsource deployment. URLs containing user info, query parameters, fragments, or an HTTP downgrade are rejected.
Contract provenance and release verification
npm run sync:contracts downloads Mapsource’s generated OpenAPI, MCP, and agent contracts with strict byte limits, validates the full inventory, records SHA-256 hashes in contracts/source.json, and regenerates tool documentation. Temporary staging is project-prefixed and cleaned in finally.
npm ci --ignore-scripts
npm run validateMaintainers can publish without placing a token in a file or command line:
printf '%s\n' "$NPM_TOKEN" | npm run publish:verified -- --token-stdinThe release gate requires a clean main, signature and vulnerability audits, formatting, linting, TypeScript checking, unit tests, a live 13-tool MCP smoke check, and a bounded package manifest. A positional token is accepted for automation compatibility, but stdin or npm trusted publishing is safer.
Related
mapsource— typed REST client and complete OpenAPI contract.
MIT © Mapsource
Related MCP Connectors
Free GeoNames MCP: countries, cities, POIs, distance & nearby. Remote HTTP + agent token signup.
HERE MCP — premium geocoding, places, and TRAFFIC-AWARE routing from HERE
Geospatial MCP server for earthquake, tsunami, volcano, disaster, and FX data queries.
- geoOAuthco.thinair
Geocoding, routing, isochrones, traffic, weather, and place search for AI agents. 19 MCP tools.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server providing geocoding and place discovery services via Nominatim and OpenStreetMap. It enables users to perform forward and reverse geocoding, extract bounding boxes, and find nearby places or administrative hierarchies.10Apache 2.0
- AlicenseCqualityDmaintenanceMCP server for the Geopera geospatial data platform that enables AI agents to discover imagery, place and manage orders, and run analytics using the same API as other Geopera clients.100MIT
- FlicenseNot gradedqualityAmaintenanceAn MCP server providing geocoding, routing, isochrones, and POI-by-proximity search through self-hosted OpenStreetMap backends.-
- AlicenseNot gradedqualityAmaintenanceGeocode, reverse geocode, and run Overpass spatial queries on OpenStreetMap data via MCP.600 npm5Apache 2.0