Mapsource OpenStreetMap & Geospatial APIs

io.github.robit-man由 GitHub 账号 robit-man 发布v0.3.1更新于 Oct 25, 2026

OpenStreetMap queries, maps/styles, search, routing, terrain, analysis, pipelines, and rendering.

已验证Streamable HTTP可网页运行位置与生活数据与分析媒体与设计

概览

AI 生成的概览

面向 OpenStreetMap 与地理空间工作的远程 MCP 服务器:地点搜索、路径规划、等时圈、地形高程、几何分析、地图样式与静态地图渲染。

可以做什么
搜索地点、地址、商户和兴趣点,并按区域或出行时间范围发现要素。用受限的 Overpass QL 查询 OpenStreetMap 数据,或在边界框内查找咖啡馆、公园、医院、公交站等要素。计算途经点之间的路线、出行时间矩阵、等时圈、地图匹配和站点优化。采样地形高程,并生成沿路线的海拔剖面。对几何做缓冲、质心、面积、距离、相交、并集、简化等测量与变换。配置语义底图样式,并渲染带 GeoJSON 叠加和标记的静态 PNG 地图。
适用场景
适合需要真实地图数据而非通用知识的场景:查找地点、规划路线与可达范围、查询地形高度、对 GeoJSON 做空间分析,或生成地图图片与定制底图。
运行要求
远程 streamable HTTP 端点,无需本地安装。Authorization 请求头携带 bearer API 密钥:状态与目录等公开工具可不填,但高程、渲染、路线、等时圈、Overpass 查询等多数工具需要。部分工具也可改用经授权的 x402 付款。
安装前请注意
API 密钥通过 Authorization bearer 请求头发送,切勿放入 URL。部分工具可通过 x402 付费,可能产生费用。样式操作可保存、修订和删除已存配置,Overpass 查询与要素搜索会消耗订阅额度。高程数据明确非测量级。地图数据与查询会发送至第三方服务。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Mapsource OpenStreetMap & Geospatial APIs,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.robit-man%2Fmapsource/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "mapsource-openstreetmap-geospatial-apis": {
      "type": "http",
      "url": "https://api.mapsource.io/mcp"
    }
  }
}

工具

13

service_status

Read Overpass engine readiness, dataset timestamp, billing state, and x402 payment mode. Public. Use geo_data with operation status for the full subsystem report.

无需输入参数。

basemap_catalog

List raster and vector tile templates, source zoom ranges, dataset snapshots, and attribution. The catalog is public; tile requests require a subscription key.

无需输入参数。

elevation

Sample terrain at lat/lon. elevationMeters is clamped to zero; sampledMeters retains the raw model elevation. belowSeaLevel identifies negative samples and bathymetryTile references the source raster. Requires a subscription key. Not survey-grade.

输入参数lat必填lon必填

geo_data

Read service status, basemap catalog, point elevation, contours, usage, and metrics. Status includes subsystem availability and replication lag. Elevation returns surface and raw model heights. Metrics report request rates, success rates, latency percentiles, and dataset ages. Status and basemaps are public; other operations require a subscription key.

输入参数latlonzoombandswindowoperation必填

geo_style

Configure semantic basemap styles. Operations: explain and schema retrieve public definitions; intent generates a proposal; preview compiles changes; save, list, revisions, diff, and delete manage profiles. Submit semantic manifests or preset patches, not raw MapLibre JSON. Authenticated operations affect the current key's profiles.

输入参数tobasefromnamesaveslugpatchintentoperationdescriptionincludeStyle

geo_render

Render a static PNG map from a center and zoom or bounding box. Supports GeoJSON overlays, result handles, and up to 50 labeled markers. Dark and light styles use raster rendering; other preset or profile names use vector rendering. Requires a subscription key.

输入参数latlonbboxzoompitchstylewidthheightbearinggeojsonmarkersstyleRevision

geo_analyze

Measure or transform geometry using buffer, centroid, bbox, area, length, distance, intersect, union, difference, contains, intersects, nearest, simplify, or convex. Inputs accept GeoJSON, coordinate pairs, Overpass results, and result handles. Polygon overlay operations require areas. Use operation pipeline for up to 12 ordered steps and estimateOnly for cost estimation. Requires a subscription key.

输入参数abunitsreturnsdistancepipelineoperation必填estimateOnly

geo_navigate

Navigation operations: route, matrix, isochrone, map_match, snap, and optimize. Route accepts 2–10 waypoints and optional elevation profiles. Matrix supports up to 625 pairs. Map matching accepts up to 1,000 trace points; optimization accepts 3–20 stops. Results include geometry or travel costs and source metadata. Requires a subscription key. Unroutable requests return an error and require revised inputs.

输入参数costingsourcestargetscontourselevationlocationsoperation必填

route

Calculate a turn-by-turn route between 2–10 waypoints. Supported costing: auto, bicycle, pedestrian, truck, motor_scooter, and bus. Returns GeoJSON, distance, duration, and maneuvers. Set elevation to true for a terrain profile with gain and loss. Requires a subscription key.

输入参数costingelevationlocations必填

isochrone

Calculate reachable-area polygons from a coordinate for up to four travel-time bands. Returns GeoJSON for catchment, coverage, and accessibility analysis. Requires a subscription key.

输入参数lat必填lon必填costingcontours

overpass_query

Execute bounded Overpass QL over OSM nodes, ways, relations, tags, geometry, areas, metadata, and spatial selectors. Historical attic queries are unsupported. Requires a subscription key or authorized x402 payment. Use service_status to retrieve the dataset timestamp.

输入参数query必填responseMode

find_features

Find cafes, restaurants, buildings, parks, schools, hospitals, transit stops, drinking water, or trails within a bounding box up to 0.5 degrees per axis. Returns OSM geometry and tags, subject to the output limit. Requires a subscription key or authorized x402 payment.

输入参数east必填west必填limitnorth必填south必填category必填responseMode

版本历史

3
  1. v0.3.1最新Sep 29, 2026
  2. v0.3.0Sep 25, 2026
  3. v0.2.0Sep 16, 2026

评分

已满足适用检查项的 83%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。