MCP Catalogs
Home

mcp

by baidu-maps·426·Score 47

Baidu Map MCP Server provides comprehensive geospatial APIs for location-based services through MCP protocol.

ai-llmdeveloper-toolsother
46
Forks
14
Open issues
9 mo ago
Last commit
2d ago
Indexed

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:

you:Building travel planning assistants with location-aware recommendations
you:Optimizing logistics and delivery with batch route calculations
you:Creating smart city applications with real-time traffic and weather integration
you:Do I need a B Maps API key to use this MCP server?
you:Are there any rate limits or usage restrictions?

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 README
  • 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.

  • 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).

Comparable tools

mapbox-mcposm-mcpgoogle-maps-mcp

Installation

Installation

Python

pip install mcp-server-baidu-maps

Node.js/TypeScript

npm install @baidumap/mcp-server-baidu-map

Claude 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

GitHub →

Last updated · Auto-generated from public README + GitHub signals.