🗺️ MCP server to help plan routes using OpenRouteService.org, for activities such as hiking or mountain biking
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add openroute --env OPENROUTESERVICE_API_KEY='<OPENROUTESERVICE_API_KEY>' -- uvx openroute-mcp~/.codex/config.toml
[mcp_servers.openroute]
command = "uvx"
args = ["openroute-mcp"]
env = { OPENROUTESERVICE_API_KEY = "<OPENROUTESERVICE_API_KEY>" }
# codex mcp add openroute --env OPENROUTESERVICE_API_KEY='<OPENROUTESERVICE_API_KEY>' -- uvx openroute-mcp~/.cursor/mcp.json
{
"mcpServers": {
"openroute": {
"command": "uvx",
"args": [
"openroute-mcp"
],
"env": {
"OPENROUTESERVICE_API_KEY": "<OPENROUTESERVICE_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"openroute": {
"type": "stdio",
"command": "uvx",
"args": [
"openroute-mcp"
],
"env": {
"OPENROUTESERVICE_API_KEY": "<OPENROUTESERVICE_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"openroute": {
"command": "uvx",
"args": [
"openroute-mcp"
],
"env": {
"OPENROUTESERVICE_API_KEY": "<OPENROUTESERVICE_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"openroute": {
"command": "uvx",
"args": [
"openroute-mcp"
],
"env": {
"OPENROUTESERVICE_API_KEY": "<OPENROUTESERVICE_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"openroute": {
"command": "uvx",
"args": [
"openroute-mcp"
],
"env": {
"OPENROUTESERVICE_API_KEY": "<OPENROUTESERVICE_API_KEY>"
}
}
}
}Environment variables
OPENROUTESERVICE_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.