Isochrone

io.github.capan由 GitHub 帳號 capan 發布v0.1.4更新於 Oct 24, 2026

Berlin pedestrian isochrones: streets reachable on foot in N minutes (walk/stroller/wheelchair).

已驗證STDIO僅桌面位置與生活資料與分析

概覽

AI 產生的概覽

回答柏林的步行可達性問題:在 N 分鐘內步行、推嬰兒車或坐輪椅能到達哪些街道。

可以做什麼
只提供一個工具 reachable_area,輸入起點、時間預算(分鐘)與移動方式(walk、stroller、wheelchair),還可選填目標地點以判斷能否及時抵達。它查詢柏林的街道網路等時圈 API,回傳一段文字說明與地圖連結,而不是原始座標。可達範圍依街道圖計算,因此結果沿著實際可走的街道展開,而不是一個填滿的多邊形。
適用情境
適合讓助理回答柏林的日常問題,例如從某個地址步行 15 分鐘能走多遠,或某個目的地推嬰兒車、坐輪椅能否到達。它只涵蓋這座城市,因此僅對柏林地點有安裝價值。
執行需求
以 stdio 方式在本機執行,通常透過 npx 啟動 isochrone-mcp 這個 npm 套件,因此需要 Node.js 以及連線至託管 API 的網路。未宣告任何帳號、API 金鑰、環境變數或標頭。
安裝前請注意
README 說明各移動方式的速度係數是估計值而非實測值,嬰兒車與輪椅方式未經驗證,且部分起點落在不連通的圖形碎片上會回傳明顯偏小的結果。應把回答視為近似參考,而非無障礙或路線保證。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Isochrone,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

isochrone

[demo] [uptime]

Live: iso.huseyincapan.dev

Click anywhere on the map and see the street network you can actually reach on foot within 15 minutes — coloured by arrival time, with mobility profiles that account for stairs and unpaved paths.

OSM data → PostGIS + pgRouting → Express → Leaflet.

[Same corner, same 15 minutes, drawn two ways: the reachable street network against the hull drawn around it]

Why not a polygon?

Every isochrone map I could find answers with a filled polygon. That is wrong unless you are a pigeon: a polygon claims you can reach the middle of a block, cross a rail cutting, walk through a building. On the corner above, the same 15 minutes gives you 107.6 km of reachable streets; the hull drawn around them covers 3.28 km² and claims 30.4 km of street the walk cannot actually reach. This map draws the network.

How it works

pgr_drivingDistance walks the street graph from the vertex nearest your click until the time budget runs out, and returns every reachable edge with its arrival time. Those edges are grouped into 10 equal time bands and drawn directly.

Edge cost is length / speed in seconds, computed per request from the selected profile, so a profile is a few numbers rather than a schema change:

profilespeedstairsunpaved
walk1.4 m/shalf speednormal
stroller1.2 m/simpassable0.6×
wheelchair0.9 m/simpassableimpassable

These factors are estimates, not measurements — see Known gaps.

Where should I live?

Answer a short questionnaire weighting seven everyday layers (dining, green space, playgrounds, groceries, health, kindergartens, schools) and the whole Berlin map re-ranks to show where your weighted 15-minute city actually is, as walk, bike or wheelchair.

The trick is that nothing is routed at question time: 21 full-city reachability surfaces (7 layers × 3 profiles, ~134,000 grid cells each) are precomputed offline, so re-ranking the city is one aggregate query. Stroller is deliberately absent here: its speed factors are uncalibrated estimates and must not be published as if measured.

Ask Claude about it (MCP)

The isochrone-mcp package lets any MCP client answer reachability questions against this API:

bash
claude mcp add isochrone -- npx -y isochrone-mcp
[Claude answering a reachability question, then the isochrone drawn on the map]

One tool, reachable_area: origin + minutes + profile, optional target ("can I get there in time?"). Returns a prose summary and a map link, not coordinate soup. Details in mcp/.

Known gaps

  • Graph islands. The vertex nearest a click can sit on a disconnected fragment — 52.515,13.400 reaches 13 nodes. Fix is a one-time pgr_connectedComponents table for the vertex lookup to join against.
  • Calibration. The speeds above are guesses. Google's Isochrones API (Preview) supports WALK and returns GeoJSON, so the walk profile could be calibrated against it. It has no stroller/wheelchair mode, so those stay unvalidated.
  • Stranded origins render as a tiny blob rather than saying "unreachable with this profile".

Running it yourself

Dev setup, deployment, city import and the ops notes live in docs/OPERATIONS.md.

來源:README.md,提交 776e893

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.1.4最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分