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.
将地址解析为对应的位置坐标. 参数: address (string) - 地址信息. 输出: location (coordinate).
根据纬经度坐标, 获取对应位置的地址描述. 参数: latitude (float) - 纬度坐标, longitude (float) - 经度坐标. 输出: formatted_address, uid, addressComponent.
支持检索城市内的地点信息. 参数: query (string) - 检索关键词, tag (optional string) - 检索的类型偏好, region (optional string) - 检索的行政区划, location (optional string) - 圆形检索中心点纬经度, radius (optional int) - 圆形检索的半径. 输出: POI列表.
根据POI的uid,检索其相关的详情信息. 参数: uid (string) - POI的唯一标识. 输出: POI详情.
根据起点和终点坐标计算路线规划距离和行驶时间. 参数: origins (string) - 起点纬经度列表, destinations (string) - 终点纬经度列表, mode (string) - 算路类型. 输出: 每条路线的耗时和距离.
根据起终点坐标规划出行路线和耗时. 参数: origin (string) - 起点纬经度, destination (string) - 终点纬经度, model (string) - 出行类型. 输出: 路线详情.
通过行政区划或经纬度坐标查询实时天气信息及未来5天天气预报. 参数: district_id (string) - 行政区划编码, location (string) - 经纬度坐标. 输出: 天气信息.
根据请求的IP获取当前请求的位置. 参数: ip (string) - 请求的IP地址. 输出: 当前所在城市和城市中点.
查询实时交通拥堵情况. 参数: model (string) - 路况查询类型, road_name (string) - 道路名称, city (string) - 城市名称, bounds (string) - 区域坐标, vertexes (string) - 多边形区域的顶点坐标, center (string) - 圆形区域的中心点, radius (int) - 圆形区域的半径. 输出: 路况信息.
根据所给文本内容提取相关POI信息. 参数: text_content (string) - 用于提取POI的文本描述信息. 输出: 相关的POI信息.
No reviews yet. Be the first to review!
Sign in to join the conversation