Close API

city.close由 close.city 發布官方發布者v1.2.0更新於 Oct 24, 2026

Walk, bike, and transit travel times from every US census block to nearby amenities.

已驗證Streamable HTTP可網頁執行位置與生活資料與分析

概覽

AI 產生的概覽

遠端 MCP 伺服器,提供美國各人口普查街區到周邊設施的步行、自行車與大眾運輸旅行時間,依 token 計費。

可以做什麼
  • 依名稱查詢美國城市與城鎮,回傳普查地 GEOID 與中心點座標
  • 列出旅行方式與目的地類型分類,用來把類型名稱解析成數字 id
  • 計算單一或多個起點到各類目的地、或到周邊興趣點的旅行時間
  • 以 GeoJSON 等值線繪製在指定時間預算內可抵達的區域
  • 取得整座城市或指定半徑內每個普查街區的旅行時間
  • 查詢 token 餘額、發起電子郵件註冊、以驗證碼兌換 API 金鑰,並取得付費會員的 Stripe 結帳連結
適用情境
適合回答美國某地點的步行、自行車或大眾運輸便利程度,比較不同街區或社區的可及性,或為分析與製圖產生可達範圍資料與等值線。
執行需求
遠端 streamable HTTP 端點 mcp.close.city,無需本機安裝。免費工具不需金鑰;計費工具需要帳戶的 Authorization bearer API 金鑰,透過電子郵件註冊工具取得,使用者須從自己的信箱讀取六位數驗證碼。
安裝前請注意
計費工具依回傳列數或等值線數量消耗 token,批次大、limit 高或要求更多等值線都會增加花費,建議先查餘額。API 金鑰只顯示一次,須自行保存並以 Authorization bearer 傳入。註冊與會員涉及使用者信箱與 Stripe 付款頁面,付款應由使用者在自己的瀏覽器完成。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/city.close%2Fclose-api/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "close-api": {
      "type": "http",
      "url": "https://mcp.close.city/mcp"
    }
  }
}

README

該儲存庫沒有 README。

工具

10

find_place

Look up a US city or town by name (free, no key). Returns matches with their census place GEOID and centre point (lon/lat). The entry point: feed a GEOID to blocks_in_area, or a centre to walkability_summary.

輸入參數limitquery必填

get_catalog

List the travel modes and the destination-type taxonomy (free, no key). Use it to resolve type names to the numeric ids the other tools take. Modes are walk, bike, transit — there is no drive mode.

無需輸入參數。

walkability_summary

Fastest travel time from a location to each destination category, by mode (metered: 1 token per returned row). One origin: block_geoid or lat+lon. Many origins (up to 250): block_geoids or points — one batch call and one rate-limit request, with rows tagged by origin. Batching saves requests and context, not tokens: it still charges per row. A non-empty truncated (+ truncated_reason) means the balance or row budget cut the batch short. A missing category means it is not reachable within 30 minutes.

輸入參數latlonmodepointsblock_geoidblock_geoids

nearby_pois

Nearby points of interest and the travel time to each, from a location (metered: 1 token per returned row). One origin: block_geoid or lat+lon; keep limit small to control spend and context size. Many origins (up to 250): block_geoids or points — one batch call and one rate-limit request, rows tagged by origin, no limit/pagination, so filter with type/mode/max_minutes. Batching saves requests and context, not tokens: it still charges per row. A non-empty truncated (+ truncated_reason) means the balance or row budget cut the batch short.

輸入參數latlonmodetypelimitpointsblock_geoidmax_minutesblock_geoids

isochrone

The area reachable from a location within a time budget, as GeoJSON contours (metered: 10 tokens per contour). Give block_geoid or lat+lon. Defaults to a single 30-minute contour; ask for more only when needed (bodies can be large).

輸入參數latlonmodeminutescontoursdirectionblock_geoid

blocks_in_area

Per-block travel times for every census block in an area (metered: 1 token per returned row). Give place_geoid (from find_place) for a whole city, or center {lat, lon} + radius_m. Rows carry a numeric mode_id.

輸入參數latlonmodetypelimitradius_mplace_geoid

get_token_balance

Check the token balance of the API key in use, without spending any tokens. Works even at a zero balance. Requires the Authorization bearer key.

無需輸入參數。

request_sign_in

Start free sign-up for the user: email them a six-digit code. The user must read the code from their own inbox and give it to you, then call redeem_code. This is how an agent gets the user an API key (5,000 free tokens, no card).

輸入參數email必填

redeem_code

Complete sign-up with the six-digit code the user received, and return a new API key (shown once). Call request_sign_in first. The key grants 5,000 free tokens; store it and pass it as the Authorization bearer on future calls.

輸入參數code必填email必填label

join_close_plus

Get a Stripe Checkout URL for the Close+ membership ($10/month: 5,000 API tokens granted monthly plus member features on the close.city map). The user pays in their own browser: give them the returned URL and stop. Needs a fresh six-digit code from request_sign_in, read by the user from their own inbox.

輸入參數code必填email必填

版本歷史

1
  1. v1.2.0最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Close 整合