百度地图 MCP Server logo

百度地图 MCP Server

by baidu-maps

百度地图 MCP Server provides a set of APIs compatible with the MCP protocol, enabling integration with various AI assistants. It includes 10 standard MCP API interfaces, covering reverse geocoding, place search, route planning, and more.

View on GitHub

Last updated: N/A

What is 百度地图 MCP Server?

百度地图 MCP Server is a service that provides a set of APIs compliant with the MCP (Model Context Protocol) standard. It allows developers to integrate Baidu Maps functionalities, such as geocoding, reverse geocoding, place search, and route planning, into their AI assistants and other applications.

How to use 百度地图 MCP Server?

The server can be accessed using Python or Typescript. First, obtain an AK (API Key) from the Baidu Maps Open Platform. Then, configure your MCP client (e.g., Claude.app) with the server's command and environment variables, including the AK. Detailed instructions are provided for both Python (using uvx or pip) and Typescript (using Node.js) integration.

Key features of 百度地图 MCP Server

  • MCP Protocol Compatibility

  • 10 Standard API Interfaces

  • Geocoding and Reverse Geocoding

  • Place Search and Details

  • Route Planning and Distance Matrix

  • Weather Inquiry and IP Location

  • Real-time Traffic Information

  • POI Extraction (with advanced permissions)

Use cases of 百度地图 MCP Server

  • Integrating Baidu Maps functionalities into AI assistants like Claude and Cursor

  • Building location-aware applications

  • Developing travel planning tools

  • Creating applications that require real-time traffic information

  • Enabling POI extraction from text content

FAQ from 百度地图 MCP Server

What is MCP?

MCP stands for Model Context Protocol. It's a standard protocol for AI models to interact with external tools and services.

How do I get an AK (API Key)?

You need to create a server-side AK in the Baidu Maps Open Platform console.

What coordinate system is used?

The server uses the Guojia Cejiju (GCJ-02) coordinate system, also known as gcj02ll.

What is the format for administrative division codes?

The administrative division codes are based on the Baidu adcode mapping table.

How do I get advanced permissions?

Contact the Baidu Maps Open Platform team to request advanced permissions for features like IPV6 IP location and POI extraction.