About Yandex Maps MCP Server
Yandex Maps MCP Server exposes Yandex Maps geocoding and static map rendering to MCP clients. It supports address-coordinate conversion in both directions and PNG maps with optional placemarks.
Key features
- 01Forward geocoding
- 02Reverse geocoding
- 03PNG map rendering
- 04Optional map placemarks
Use cases
- 01Convert an address to coordinates
- 02Find an address from coordinates
- 03Render a location map with markers
MCP support
Exposes geocoding and map-rendering tools to MCP clients. Supports stdio and Streamable HTTP transports.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEYandex Maps MCP Server
MCP Server for the Yandex Maps API.
"Show me the map of Berlin"
"Show me location of ..."
Tools
-
maps_geocode- Convert address to coordinates
- Inputs:
country(string) - The country namelang(string) - Language code (e.g., 'ru_RU', 'en_US')state(string, optional) - The state, region or province namecity(string, optional) - The city or locality namedistrict(string, optional) - The district or neighborhood within the citystreet(string, optional) - The street namehouse_number(string, optional) - The house or building number
- Returns: location, formatted_address, address_components
-
maps_reverse_geocode- Convert coordinates to address
- Inputs:
latitude(number)longitude(number)lang(string) - Language code (e.g., 'ru_RU', 'en_US')
- Returns: location, formatted_address, address_components
-
maps_render- Render a map as a png image
- Inputs:
latitude(number) - Latitude coordinate of map centerlongitude(number) - Longitude coordinate of map centerlatitude_span(number) - Height of map image in degreeslongitude_span(number) - Width of map image in degreeslang(string) - Language code (e.g., 'ru_RU', 'en_US')placemarks(array, optional) - Array of placemarks to display on the map with style "pm2rdm"- Each placemark should have
latitudeandlongitudeproperties
- Each placemark should have
- Returns: PNG image of the map
Setup
API Keys
You'll need two Yandex Maps API keys:
- "JavaScript and Geocoder API" key for geocoding functions
- Static API key for map rendering
To generate API keys:
- Open https://developer.tech.yandex.ru/ and authorize
- Click "Connect APIs". Choose "JavaScript and Geocoder API" and fill the form
- Navigate to API's dashboard page and copy API key there
- Repeat from step 2 for Static API.
Local Run
- Clone the repository
- Install dependencies:
npm install - Set your API keys:
export YANDEX_MAPS_API_KEY="your-geocoder-api-key" export YANDEX_MAPS_STATIC_API_KEY="your-static-api-key" - Build server
npm run build - Run the server:
node dist/index.js
Usage with Claude Desktop (stdio)
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"yandex-maps": {
"command": "node",
"args": [
"path/to/index.js"
],
"env": {
"YANDEX_MAPS_API_KEY": "<YOUR_GEOCODER_API_KEY>",
"YANDEX_MAPS_STATIC_API_KEY": "<YOUR_STATIC_API_KEY>"
}
}
}
}
Usage as HTTP Server
The server supports Streamable HTTP transport for remote access and web-based clients like n8n.
Starting the HTTP Server
# Set required environment variables
export YANDEX_MAPS_API_KEY="your-geocoder-api-key"
export YANDEX_MAPS_STATIC_API_KEY="your-static-api-key"
export MCP_TRANSPORT="http"
export MCP_PORT="3000" # Optional, defaults to 3000
export MCP_AUTH_TOKEN="your-secret-token" # Optional but recommended
# Run the server
node dist/index.js
Configuration
The HTTP server is stateless and uses the following environment variables:
MCP_TRANSPORT: Set to"http"to enable HTTP mode (default:"stdio")MCP_PORT: Port number for HTTP server (default:3000)MCP_AUTH_TOKEN: Optional Bearer token for authentication. If not set, the server runs without authentication (not recommended for production)YANDEX_MAPS_API_KEY: Your Yandex Geocoder API key (required)YANDEX_MAPS_STATIC_API_KEY: Your Yandex Static Maps API key (required)
Authentication
When MCP_AUTH_TOKEN is set, clients must include it in the Authorization header:
Authorization: Bearer your-secret-token
Usage with n8n
To use with n8n, configure the MCP Client node with:
- Server Transport:
HTTP Streamable - URL:
http://your-server:3000(adjust host and port as needed) - Authentication: Add Bearer token if configured
Known Limitations
Yandex Maps Places API has no free tier, which means that LLMs cannot retrieve organization addresses and coordinates through the Yandex Maps MCP. It can only geocode places whose addresses or coordinates are already known to the model or retrieved from other sources such as explicit user input, Web Search, or third-party MCPs.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.