Baidu Map

Author:@baidu-maps
View on GitHub

Overview

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 offer this support.

To use Baidu Map, you must first create a server-side API key (AK) on the Baidu Map Open Platform. Integration can then be done using the provided Python or Typescript SDKs.

Key features include eight core API interfaces: geocoding, reverse geocoding, place search, route planning, and weather queries. The service also supports integration with intelligent assistants that are compatible with the MCP protocol.

Common use cases are: converting addresses to geographic coordinates (geocoding), retrieving details for points of interest (POIs), planning routes for driving, walking, or public transport, and querying current weather conditions based on a location.

Frequently asked questions: The MCP protocol is a standard for unified integration of services and tools; refer to the official MCP documentation for details. Costs for the Baidu Map API vary; please check the Baidu Map Open Platform for pricing. For troubleshooting API issues, consult the official documentation or community forums.

Configuration

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