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。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。