Osmaps
FreeNot checkedMCP server for calculating route distances and travel times using free OpenStreetMap services
About
MCP server for calculating route distances and travel times using free OpenStreetMap services
README
MCP server for route distance calculations using OSRM and Nominatim.
Features
- Route Distance: Calculate driving distance and travel time between two locations
- Geocoding: Converts addresses to coordinates using Nominatim (OpenStreetMap)
- Coordinate Support: Accepts both addresses and lat,lng coordinates
- No API Key Required: Uses free OpenStreetMap services
Requirements
- Node.js 18+
Installation
npm install
npm run setup
This builds the project and links the osmaps-mcp binary globally.
Configuration
After running npm run setup, configure your MCP client to use osmaps-mcp:
Claude Desktop
Add to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"osmaps": {
"command": "osmaps-mcp"
}
}
}
Claude Code
Add via CLI:
claude mcp add --transport stdio osmaps -- osmaps-mcp
Or add to ~/.claude.json:
{
"mcpServers": {
"osmaps": {
"command": "osmaps-mcp"
}
}
}
Cursor
Create .cursor/mcp.json in your project root:
{
"mcpServers": {
"osmaps": {
"command": "osmaps-mcp"
}
}
}
Windsurf
Add to your Windsurf MCP configuration:
{
"mcpServers": {
"osmaps": {
"command": "osmaps-mcp"
}
}
}
OpenCode
Add to your opencode.json config file:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"osmaps": {
"type": "local",
"command": ["osmaps-mcp"],
"enabled": true
}
}
}
Gemini CLI
Add via CLI:
gemini mcp add osmaps osmaps-mcp -t stdio
Or add to your Gemini CLI configuration file:
{
"mcpServers": {
"osmaps": {
"command": "osmaps-mcp"
}
}
}
Tools
get-route-distance
Calculate driving route distance and travel time between two locations.
Parameters:
origin- Starting location (address or lat,lng coordinates)destination- Ending location (address or lat,lng coordinates)
Example:
origin: "Berlin, Germany"
destination: "Paris, France"
Returns: 452.31 km, 265 min
Coordinate example:
origin: "52.5200,13.4050"
destination: "48.8566,2.3522"
APIs Used
Installing Osmaps
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/dodbrian/osmaps-mcpFAQ
Is Osmaps MCP free?
Yes, Osmaps MCP is free — one-click install via Unyly at no cost.
Does Osmaps need an API key?
No, Osmaps runs without API keys or environment variables.
Is Osmaps hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Osmaps in Claude Desktop, Claude Code or Cursor?
Open Osmaps on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiSupabase
Database, auth and storage
by SupabaseEverything
Reference / test server with prompts, resources, and tools.
Git
Tools to read, search, and manipulate Git repositories.
Sequential Thinking
Dynamic and reflective problem-solving through thought sequences.
Time
Time and timezone conversion capabilities.
Compare Osmaps with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
