@solosync/here-mcp-server
v1.0.0
Published
MCP server for HERE Routing and Geocoding APIs
Maintainers
Readme
HERE MCP Server
MCP server for HERE Routing and Geocoding APIs v8. Provides routing, matrix routing, and geocoding functionality through the Model Context Protocol.
Installation
Local Installation
npm install
npm run buildGlobal Installation (for npm package)
npm install -g @solosync/here-mcp-serverUsage
With Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"here-routing": {
"command": "node",
"args": [
"/path/to/here-mcp-server/dist/mcp-server.js"
],
"env": {
"HERE_API_KEY": "your-here-api-key-here"
}
}
}
}Or if installed globally:
{
"mcpServers": {
"here-routing": {
"command": "here-mcp-server",
"env": {
"HERE_API_KEY": "your-here-api-key-here"
}
}
}
}Tools
here_calculate_route
Calculate a route between origin and destination using HERE Routing API v8.
Parameters:
origin(required): Origin location as lat,lng (e.g., "52.5308,13.3847")destination(required): Destination location as lat,lng (e.g., "52.5264,13.3686")apiKey(optional): HERE API key (uses HERE_API_KEY env var if not provided)transportMode(optional): car, truck, pedestrian, bicycle, scooter, taxi, or busreturn(optional): Array of fields to return (e.g., ["polyline", "summary", "actions"])routingMode(optional): fast (default) or shortalternatives(optional): Number of alternative routes (0-6)
here_calculate_matrix
Calculate a routing matrix (many-to-many routes) using HERE Matrix Routing API.
Parameters:
origins(required): Array of origin locations as lat,lngdestinations(required): Array of destination locations as lat,lngapiKey(optional): HERE API key (uses HERE_API_KEY env var if not provided)transportMode(optional): car, truck, pedestrian, bicycle, scooter, taxi, or busroutingMode(optional): fast (default) or short
here_geocode_forward
Forward geocoding - convert address to coordinates using HERE Geocoding API.
Parameters:
q(required): Address or place name to geocode (e.g., "425 W Randolph St, Chicago, IL")apiKey(optional): HERE API key (uses HERE_API_KEY env var if not provided)limit(optional): Maximum number of results to return (default: 5)
here_geocode_reverse
Reverse geocoding - convert coordinates to address using HERE Geocoding API.
Parameters:
at(required): Coordinates as lat,lng (e.g., "41.8842,-87.6388")apiKey(optional): HERE API key (uses HERE_API_KEY env var if not provided)
Environment Variables
HERE_API_KEY: Your HERE API key (required)
License
MIT
