Baidu Map

Featured
Created bybaidu-mapsbaidu-maps

Baidu Maps' core API is now fully compatible with the MCP protocol, making it the first map service provider in China to be compatible with the MCP protocol.

Overview

What is Baidu Map?

Baidu Map is a core API service that is fully compatible with the MCP protocol, making it the first map service provider in China to support this protocol.

How to Use Baidu Map?

To use Baidu Map, you need to create a server-side API key (AK) on the Baidu Map Open Platform and then integrate the API using Python or TypeScript SDKs.

Key Features of Baidu Map

  • Provides 8 core API interfaces, including geocoding, reverse geocoding, place search, route planning, and weather queries.
  • Supports integration with intelligent assistants compatible with the MCP protocol.

Use Cases of Baidu Map

  1. Converting addresses to coordinates (geocoding).
  2. Retrieving detailed information about points of interest (POIs).
  3. Planning routes for driving, walking, or public transport.
  4. Querying current weather based on location.

FAQ from Baidu Map

  • What is the MCP protocol?

    The MCP protocol is a standard for integrating various services and tools in a unified manner. More details can be found in the official MCP documentation.

  • Is there a cost to use the Baidu Map API?

    The usage cost of the Baidu Map API may vary; please check the Baidu Map Open Platform for pricing details.

  • How can I troubleshoot issues with the API?

    You can refer to the official documentation or community forums for troubleshooting tips.

Details

Server Config

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

Project Info

Featured
Author
baidu-maps
Created At
Jun 21, 2025
Star
293
Language
Python