MCP Catalogs
首页

mcp

by baidu-maps·426·综合分 47

百度地图 MCP 服务器通过 MCP 协议提供全面的地理空间 API 服务。

ai-llmdeveloper-toolsother
46
Forks
14
活跃 Issue
9 个月前
最近提交
2 天前
收录于

概述

百度地图 MCP 服务器是一个完全符合 MCP 规范的解决方案,使 AI 代理和大语言模型能够访问现实世界的位置数据和服务。它提供全面的地理空间 API 套件,包括地理编码、兴趣点搜索、路线规划、天气、交通信息等。该服务器支持 Python 和 TypeScript SDK,可通过 CLI 或云平台部署,并提供低延迟的服务器发送事件访问。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:构建具有位置感知推荐功能的旅行助手
:使用批量路线计算优化物流和配送
:创建集成实时交通和天气的智慧城市应用
:使用此 MCP 服务器是否需要百度地图 API 密钥?
:是否有使用限制或速率限制?

什么时候选它

当您在中国需要全面的地理空间数据和基于位置的服务,或需要百度地图权威位置数据的应用时,选择此 MCP 服务器。

什么时候不要选它

如果您需要中国以外的位置服务,偏好开源地图数据,或需要百度地图未提供的更高级功能,请避免使用。

此 server 暴露的工具

从 README 抽取出 10 个工具
  • 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).

可对比工具

mapbox-mcposm-mcpgoogle-maps-mcp

安装

安装

Python

pip install mcp-server-baidu-maps

Node.js/TypeScript

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

Claude Desktop 配置

{
  "mcpServers": {
    "baidu-maps": {
      "command": "python",
      "args": ["-m", "mcp_server_baidu_maps"],
      "env": {
        "BAIDU_MAPS_API_KEY": "<您的API密钥>"
      }
    }
  }
}

Node.js 配置

{
  "mcpServers": {
    "baidu-map": {
      "command": "npx",
      "args": [
        "-y",
        "@baidumap/mcp-server-baidu-map"
      ],
      "env": {
        "BAIDU_MAP_API_KEY": "<您的API密钥>"
      }
    }
  }
}

FAQ

使用此 MCP 服务器是否需要百度地图 API 密钥?
是的,您需要在百度地图开放平台注册并创建服务器端 API 密钥,并启用'MCP (SSE)'服务以获得最佳性能。
是否有使用限制或速率限制?
某些高级功能如兴趣点提取需要额外权限。请参阅百度地图文档了解具体的速率限制和定价详情。

mcp 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。