Atlas / MCP servers / baidu-maps / Baidu Maps

Baidu MapsSAFE

mcp/baidu-maps/baidu-maps

Baidu Map MCP Server

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
11 11r · 0w · 0d
Transport
stdio
License
MIT
Stars
445
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

中文| English

[](https://github.com/baidu-maps/mcp) [](LICENSE) [](https://pypi.org/project/mcp-server-baidu-maps/) [](https://www.npmjs.com/package/@baidumap/mcp-server-baidu-map)

🚀 Introduction

Baidu Map MCP Server is a fully MCP-compliant, open-source Location-Based Service (LBS) solution, providing a comprehensive suite of geospatial APIs and tools for developers and AI agents. As the first map service provider in China to support the Model Context Protocol (MCP), Baidu Map MCP Server bridges the gap between large language models (LLMs), AI agents, and real-world location data and services.

With Baidu Map MCP Server, you can easily empower your applications, LLMs, and agents with advanced mapping, geocoding, POI search, route planning, weather, traffic, and more — all via standardized, developer-friendly MCP interfaces.

Key Features:

  • Full MCP Protocol Support: Seamless integration with any MCP-compliant agent, LLM, or platform.
  • Rich LBS Capabilities: Geocoding, reverse geocoding, POI search, route planning (driving, walking, cycling, transit), weather, IP location, real-time traffic, and more.
  • Cross-Platform SDKs: Official Python and TypeScript SDKs, easy CLI and cloud deployment.
  • Enterprise-Grade Data: Powered by Baidu Maps' authoritative, up-to-date geospatial data.
  • High Performance & Stability: Recommended SSE (Server-Sent Events) access for low latency and high reliability.
  • **Open
Read from source at commit 234a07e200f3OBSERVED · 2026-09-30
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add mcp-server-baidu-map --env BAIDU_MAPS_API_KEY=${BAIDU_MAPS_API_KEY} --env BAIDU_MAP_API_KEY=${BAIDU_MAP_API_KEY} -- npx -y @baidumap/[email protected]
claude-desktop
{
  "mcpServers": {
    "mcp-server-baidu-map": {
      "command": "npx",
      "args": [
        "-y",
        "@baidumap/[email protected]"
      ],
      "env": {
        "BAIDU_MAPS_API_KEY": "${BAIDU_MAPS_API_KEY}",
        "BAIDU_MAP_API_KEY": "${BAIDU_MAP_API_KEY}"
      }
    }
  }
}
03

Exposed tools (11)

11 read · 0 write · 0 destructive.

ToolRiskDescription
map_directionsread路线规划服务, 计算出发地到目的地的距离、路线用时、路线方案
map_directions_matrixread批量算路服务: 根据起点和终点坐标计算路线规划距离和行驶时间.
map_distance_matrixread计算多个出发地和目的地的距离和路线用时
map_geocoderead地理编码服务
map_ip_locationread通过IP地址获取位置信息
map_place_detailsread地点详情检索服务
map_poi_extractreadPOI智能标注
map_reverse_geocoderead全球逆地理编码
map_road_trafficread根据城市和道路名称查询具体道路的实时拥堵评价和拥堵路段、拥堵距离、拥堵趋势等信息
map_search_placesread地点检索服务(包括城市检索、圆形区域检索、多边形区域检索)
map_weatherread通过行政区划代码或者经纬度坐标获取实时天气信息和未来5天天气预报
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
declared (5 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (1)

LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
src/baidu-map/node/package.json
@types/node-fetch, node-fetch, shx, typescript
Why it matters. 4 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-09-30 · audit v0.4.1 · source sha 234a07e200f3full audit observations/trust-audit/mcp-server/baidu-maps__baidu-maps.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-09-30234a07e200f3SAFEB89first audit
06

Questions

What is the Baidu Maps MCP server?

Baidu Map MCP Server

What tools does Baidu Maps expose?

11 in total: 11 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is Baidu Maps safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does Baidu Maps need?

It reads BAIDU_MAPS_API_KEY and BAIDU_MAP_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Baidu Maps run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as @baidumap/mcp-server-baidu-map at 1.0.3.

How current is this page?

The grade is for one exact copy of the source (234a07e200f3), read on 2026-09-30. The repository is watched and re-audited when it changes.

Advertisement