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 集成