
About
Baidu Map MCP Server is a fully MCP-compliant, open-source Location-Based Service (LBS) solution, providing a comprehensive suite of geospatial APIs and tools for developers and AI agents. As the first map service provider in China to support the Model Context Protocol (MCP), it bridges the gap between large language models (LLMs), AI agents, and real-world location data and services.
Powered by Baidu Maps' authoritative, up-to-date geospatial data, this server provides advanced mapping, geocoding, POI search, route planning, weather, traffic, and more via standardized, developer-friendly MCP interfaces.
Key Features
- Full MCP Protocol Support: Seamless integration with any MCP-compliant agent, LLM, or platform
- Rich LBS Capabilities: Geocoding, reverse geocoding, POI search, route planning (driving, walking, cycling, transit), weather, IP location, real-time traffic, and more
- Cross-Platform SDKs: Official Python and TypeScript SDKs, easy CLI and cloud deployment
- Enterprise-Grade Data: Powered by Baidu Maps' authoritative geospatial data
- High Performance & Stability: Recommended SSE (Server-Sent Events) access for low latency and high reliability
- Open Source & Extensible: MIT licensed, easy to customize and extend
Tools & APIs
- map_geocode - Convert address to geographic coordinates
- map_reverse_geocode - Get address, region, and POI info from coordinates
- map_search_places - Search for global POIs by keyword, type, region, or within a radius
- map_place_details - Get detailed info for a POI by its unique ID
- map_directions_matrix - Batch route planning for multiple origins/destinations (driving, walking, cycling)
- map_directions - Plan routes between two points (driving, walking, cycling, transit)
- map_weather - Query real-time and forecast weather by region or coordinates
- map_ip_location - Locate city and coordinates by IP address
- map_road_traffic - Query real-time traffic conditions for roads or regions
- map_poi_extract - Extract POI info from free text (requires advanced permission)
Use Cases
- Travel Planning Assistant: Build agents that plan optimal sightseeing routes, check weather, and recommend POIs
- Batch Route Matrix: Calculate multiple routes and durations for logistics or delivery optimization
- Text-to-POI Extraction: Extract POIs from user input or travel notes
- Real-time Traffic & Weather-aware Navigation: Dynamic, context-aware travel suggestions
- LLM Integration: Seamlessly connect to Claude, Qianfan, AppBuilder, and other LLM platforms for natural language geospatial reasoning
Whether you're building a navigation app, delivery service, smart city solution, or enhancing an AI agent with location awareness, Baidu Map MCP Server provides the essential geospatial intelligence and tools you need.
This server runs through your single 1Server connection. No extra config required.