
Security News
MCP Steering Committee Launches Official MCP Registry in Preview
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
@baidumap/mcp-server-baidu-map
Advanced tools
MCP Server for the Baidu Map API.
map_geocode
address
(string): 待解析的地址。最多支持84个字节。
可以输入两种样式的值,分别是
location
: { lat: number, lng: number }precise
: numberconfidence
: numbercomprehension
: numberlevel
: stringmap_reverse_geocode
latitude
(number)longitude
(number)place_id
: stringlocation
: { lng: number, lat: number }formatted_address
: stringformatted_address_poi
: stringbusiness
: stringbusiness_info
: Array of {
name
: stringlocation
: { lng: number, lat: number }adcode
: numberdistance
: numberdirection
: string
}addressComponent
: {
country
: stringprovince
: stringcity
: stringdistrict
: stringstreet
: stringstreet_number
: stringpois
: Array of POI informationroads
: Array of nearby roadspoiRegions
: Array of POI regionssematic_description
: stringcityCode
: numbermap_search_places
query
(string): 检索关键字region
(string, 可选): 检索行政区划区域,如"北京"bounds
(string, 可选): 检索多边形区域,格式如"38.76623,116.43213,39.54321,116.46773"location
(string, 可选): 圆形区域检索中心点,格式如"39.915,116.404"
注意:region、bounds、location 三个参数必须且只能选择其中一个result_type
: stringquery_type
: stringplaces
: Array of {
name
: stringlocation
: { lat: number, lng: number }address
: stringprovince
: stringcity
: stringarea
: stringstreet_id
: stringtelephone
: stringdetail
: numberuid
: string
}map_place_details
地点详情检索服务
Inputs:
uid
(string): poi的uidscope
(string, 可选): 检索结果详细程度
Returns: 基本信息 (scope=1):
uid
: stringstreet_id
: stringname
: stringlocation
: { lng: number, lat: number }address
: stringprovince
: stringcity
: stringarea
: stringdetail
: number详细信息 (scope=2): 包含基本信息,并额外返回:
detail_info
: {
tag
: stringnavi_location
: { lng: number, lat: number }new_catalog
: stringshop_hours
: stringdetail_url
: stringtype
: stringoverall_rating
: stringimage_num
: stringcomment_num
: stringcontent_tag
: string
}map_distance_matrix
origins
(string[])destinations
(string[])mode
(optional): "driving" | "walking" | "riding" | "motorcycle"map_directions
origin
(string)destination
(string)mode
(optional): "driving" | "walking" | "riding" | "transit"map_weather
districtId
(string)map_ip_location
ip
(string)map_road_traffic
roadName
(string)city
(string)map_poi_extract
textContent
(string) POI文本描述内容jumpUrl
stringtitle
stringdesc
stringimage
stringpoi
Array of POI informationGet a Baidu Map API key by following the instructions here.
Add the following to your claude_desktop_config.json
:
{
"mcpServers": {
"baidu-map": {
"command": "npx",
"args": [
"-y",
"@baidumap/mcp-server-baidu-map"
],
"env": {
"BAIDU_MAP_API_KEY": "<YOUR_API_KEY>"
}
}
}
}
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
FAQs
MCP server for using the Baidu Map API
The npm package @baidumap/mcp-server-baidu-map receives a total of 223 weekly downloads. As such, @baidumap/mcp-server-baidu-map popularity was classified as not popular.
We found that @baidumap/mcp-server-baidu-map demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP Steering Committee has launched the official MCP Registry in preview, a central hub for discovering and publishing MCP servers.
Product
Socket’s new Pull Request Stories give security teams clear visibility into dependency risks and outcomes across scanned pull requests.
Research
/Security News
npm author Qix’s account was compromised, with malicious versions of popular packages like chalk-template, color-convert, and strip-ansi published.