mcp
by baidu-maps·★ 426·Score 47
Baidu Map MCP Server provides comprehensive geospatial APIs for location-based services through MCP protocol.
Overview
Baidu Map MCP Server is a fully MCP-compliant solution that enables AI agents and LLMs to access real-world location data and services. It offers a comprehensive suite of geospatial APIs including geocoding, POI search, route planning, weather, traffic information, and more. The server supports both Python and TypeScript SDKs and can be deployed via CLI or cloud platforms with low-latency Server-Sent Events access.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this MCP server when you need comprehensive geospatial data and location-based services in China or for applications requiring Baidu Maps' authoritative location data.
When NOT to choose this
Avoid if you need location services outside of China, prefer open-source map data, or require more advanced features not offered by Baidu Maps.
Tools this server exposes
10 tools extracted from the READMEmap_geocodeConvert address to geographic coordinates.
map_reverse_geocodeGet address, region, and POI info from coordinates.
map_search_placesSearch for global POIs by keyword, type, region, or within a radius.
map_place_detailsGet detailed info for a POI by its unique ID.
map_directions_matrixBatch route planning for multiple origins/destinations.
map_directionsPlan routes between two points (driving, walking, cycling, transit).
map_weatherQuery real-time and forecast weather by region or coordinates.
map_ip_locationLocate city and coordinates by IP address.
map_road_trafficQuery real-time traffic conditions for roads or regions.
map_poi_extractExtract POI info from free text (requires advanced permission).
Comparable tools
Installation
Installation
Python
pip install mcp-server-baidu-mapsNode.js/TypeScript
npm install @baidumap/mcp-server-baidu-mapClaude Desktop Configuration
{
"mcpServers": {
"baidu-maps": {
"command": "python",
"args": ["-m", "mcp_server_baidu_maps"],
"env": {
"BAIDU_MAPS_API_KEY": "<YOUR_API_KEY>"
}
}
}
}Node.js Configuration
{
"mcpServers": {
"baidu-map": {
"command": "npx",
"args": [
"-y",
"@baidumap/mcp-server-baidu-map"
],
"env": {
"BAIDU_MAP_API_KEY": "<YOUR_API_KEY>"
}
}
}
}FAQ
- Do I need a B Maps API key to use this MCP server?
- Yes, you need to register and create a server-side API Key at Baidu Maps Open Platform and enable the 'MCP (SSE)' service for best performance.
- Are there any rate limits or usage restrictions?
- Some advanced features like POI extraction require additional permissions. Refer to the Baidu Maps documentation for specific rate limits and pricing details.
Compare mcp with
Last updated · Auto-generated from public README + GitHub signals.