LogoSTMCP
Download
Baidu Map MCP Server

Baidu Map MCP Server

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), Baidu Map MCP Server bridges the gap between large language models (LLMs), AI agents, and real-world location data and services. With Baidu Map MCP Server, you can easily empower your applications, LLMs, and agents with advanced mapping, geocoding, POI search, route planning, weather, traffic, and more β€” all via standardized, developer-friendly MCP interfaces.

Tools

1. map_geocode

Convert address to geographic coordinates.

2. map_reverse_geocode

Get address, region, and POI info from coordinates.

3. map_search_places

Search for global POIs by keyword, type, region, or within a radius.

4. map_place_details

Get detailed info for a POI by its unique ID.

5. map_directions_matrix

Batch route planning for multiple origins/destinations (driving, walking, cycling).

6. map_directions

Plan routes between two points (driving, walking, cycling, transit).

7. map_weather

Query real-time and forecast weather by region or coordinates.

8. map_ip_location

Locate city and coordinates by IP address.

9. map_road_traffic

Query real-time traffic conditions for roads or regions.

10. map_poi_extract

Extract POI info from free text (requires advanced permission).

JSON Config

{
  "mcpServers": {
    "baidu-map": {
      "command": "npx",
      "args": [
        "-y",
        "@baidumap/mcp-server-baidu-map"
      ],
      "env": {
        "BAIDU_MAP_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Information

Categories