Baidu Maps
Summary
Baidu Map MCP Server provides a standardized interface for accessing Baidu Maps API services, available in both Node.js and Python implementations. The server enables location-based operations through the Model Context Protocol, allowing applications to interact with Baidu's mapping services without directly managing API credentials or implementation details. Useful for applications requiring geocoding, route planning, location search, and other geospatial functionalities within the Baidu Maps ecosystem.
Available Actions(10)
map_geocode
将地址解析为对应的位置坐标, 地址结构越完整, 地址内容越准确, 解析的坐标精度越高. 参数: address (string) - 地址信息. 输出: location (coordinates).
map_reverse_geocode
根据纬经度坐标, 获取对应位置的地址描述, 所在行政区划, 道路以及相关POI等信息. 参数: latitude (float), longitude (float). 输出: formatted_address, uid, addressComponent等.
map_search_places
支持检索城市内的地点信息, 也可支持圆形区域内的周边地点信息检索. 参数: query (string), tag (optional string), region (optional string), location (optional string), radius (optional int). 输出: POI列表.
map_place_details
根据POI的uid,检索其相关的详情信息, 如评分、营业时间等. 参数: uid (string). 输出: POI详情.
map_distance_matrix
根据起点和终点坐标计算路线规划距离和行驶时间. 参数: origins (string), destinations (string), mode (optional string). 输出: 每条路线的耗时和距离.
map_directions
根据起终点坐标规划出行路线和耗时. 参数: origin (string), destination (string), model (optional string). 输出: 路线详情.
map_weather
通过行政区划或经纬度坐标查询实时天气信息及未来5天天气预报. 参数: district_id (string), location (string). 输出: 天气信息.
map_ip_location
根据请求的IP获取当前请求的位置. 参数: ip (string). 输出: 当前所在城市和城市中点.
map_road_traffic
查询实时交通拥堵情况. 参数: model (optional string), road_name (string), city (string), bounds (optional string), vertexes (optional string), center (optional string), radius (optional int). 输出: 路况信息.
map_poi_extract
根据所给文本内容提取其中的相关POI信息. 参数: text_content (string). 输出: 相关的POI信息.
Community Reviews
No reviews yet. Be the first to review!
Sign in to join the conversation