Basic information
About Baidu Maps MCP Server
Integrate Baidu Maps API for geocoding, route planning, and location search within the Baidu Maps ecosystem.
Baidu Maps is a MCP server in the Developer Tools category listed in the AddMCP.net directory, published by baidu-maps. It exposes 10 tools, including map_geocode, map_reverse_geocode, map_search_places, map_place_details and more. Supported transport: stdio. Runtime: Python. License: MIT. The repository has 436 GitHub stars. Source code is hosted on github.com. Related topics: baidu-map, developer-tools, lbs, location-services, map.
Setup
{
"mcpServers": {
"baidu-map": {
"command": "npx",
"args": [
"-y",
"@baidumap/mcp-server-baidu-map"
],
"env": {
"BAIDU_MAP_API_KEY": "<YOUR_API_KEY>"
}
}
}
}
{
"mcpServers": {
"baidu-map": {
"command": "npx",
"args": [
"-y",
"@baidumap/mcp-server-baidu-map"
],
"env": {
"BAIDU_MAP_API_KEY": "<YOUR_API_KEY>"
}
}
}
}
{
"servers": {
"baidu-map": {
"command": "npx",
"args": [
"-y",
"@baidumap/mcp-server-baidu-map"
],
"env": {
"BAIDU_MAP_API_KEY": "<YOUR_API_KEY>"
}
}
}
}
Baidu Maps MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"baidu-map": {
"command": "npx",
"args": [
"-y",
"@baidumap/mcp-server-baidu-map"
],
"env": {
"BAIDU_MAP_API_KEY": "<YOUR_API_KEY>"
}
}
}
}
Baidu Maps MCP Server tools
-
map_geocode
— 地理编码服务
address:string* -
map_reverse_geocode
— 全球逆地理编码
latitude:number*, longitude:number* -
map_search_places
— 地点检索服务(包括城市检索、圆形区域检索、多边形区域检索)
query:string*, region:string, bounds:string, location:string -
map_place_details
— 地点详情检索服务
uid:string*, scope:string -
map_distance_matrix
— 计算多个出发地和目的地的距离和路线用时
origins:array*, destinations:array*, mode:string -
map_directions
— 路线规划服务, 计算出发地到目的地的距离、路线用时、路线方案
origin:string*, destination:string*, mode:string -
map_weather
— 通过行政区划代码或者经纬度坐标获取实时天气信息和未来5天天气预报
districtId:string, location:string -
map_ip_location
— 通过IP地址获取位置信息
ip:string* -
map_road_traffic
— 根据城市和道路名称查询具体道路的实时拥堵评价和拥堵路段、拥堵距离、拥堵趋势等信息
roadName:string, city:string, bounds:string, vertexes:string, center:string, radius:number -
map_poi_extract
— POI智能标注
textContent:string*
Overview
What is Baidu Maps?
百度地图 MCP Server 是一个完全符合 MCP 协议的开源位置服务(LBS)解决方案,为开发者和 AI 代理提供一整套地理空间 API 与工具。作为中国首个支持 MCP 的地图服务提供方,它连接大语言模型、AI 代理与真实的定位数据和服务。
How to use Baidu Maps?
通过 Python 或 Node.js 安装对应 SDK,获取百度地图开放平台的服务端 API 密钥,并在 MCP 客户端(如 Claude、Cursor)中配置命令、参数与环境变量。推荐使用 SSE 传输方式以获得低延迟和稳定性。
Key features of Baidu Maps
- Full MCP protocol support for seamless AI integration.
- Rich LBS: geocoding, POI search, route planning, weather.
- Cross-platform Python and TypeScript SDKs.
- Enterprise-grade geospatial data from Baidu Maps.
- High performance with SSE access recommended.
- Open source under MIT license, easy to customize.
Use cases of Baidu Maps
- Build a travel planning assistant combining POI search, directions, and weather.
- Optimize logistics with batch route matrix calculations.
- Extract POI information from free text using map_poi_extract.
- Provide real-time
Videos
Tutorials, guides, and showcases related to Baidu Maps MCP Server. The player loads when you press play.
Videos belong to their creators. Relevance is approximate; check the channel and description before following setup steps.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In