FIRMSapi

com.firmsapi由 firmsapi.com 发布官方发布者v1.0.0更新于 Oct 27, 2026

Look up, search and validate U.S. CBP FIRMS facility codes for piers, CFS, warehouses and FTZs.

已验证Streamable HTTP可网页运行位置与生活商业与电商

概览

AI 生成的概览

远程 MCP 服务器,用于查询、搜索和校验美国 CBP FIRMS 设施代码(码头、CFS、仓库和 FTZ)。

可以做什么
  • 查询单个 FIRMS 代码,返回设施名称、状态、类型、地址、CBP 口岸及同地址的其他代码
  • 按设施名称和/或街道地址搜索,支持容错匹配并给出 0-100 排名分数,可选择包含已删除代码
  • 按经纬度、另一个 FIRMS 代码或美国街道地址查找附近设施,由近到远排列
  • 对代码做申报前校验,包括格式、是否存在、是否有效、口岸及设施类型是否匹配
  • 列出有 FIRMS 代码的 CBP 口岸及设施数量,并分页查看某个口岸的设施
适用场景
适合报关行、进口商和物流团队在申报前确认 FIRMS 代码、为货物找到正确设施,或查找附近的保税仓库、CFS、FTZ 和查验场地。
运行要求
远程 streamable HTTP 端点,无需本地安装。需要 FIRMSapi API 密钥,通过 x-api-key 请求头发送,可在服务商应用中获取。测试密钥返回示例数据,正式密钥计入套餐用量。
安装前请注意
API 密钥属于机密,通过 x-api-key 请求头传输。正式密钥的调用会计入套餐额度,部分工具每次搜索或每页都算一次调用。测试密钥返回的是示例数据,并非真实设施记录。

安装

在 SourceWeft 中

  1. 打开 控制台中的 FIRMSapi,将其添加到工作区。
  2. 连接 x-api-key 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

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

交给智能体安装

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

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

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

其他 MCP 客户端

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

{
  "mcpServers": {
    "firmsapi": {
      "type": "http",
      "url": "https://api.firmsapi.com/mcp",
      "headers": {
        "x-api-key": "<YOUR_API_KEY>"
      }
    }
  }
}

工具

6

lookup_firms_code

Look up a FIRMS code

Get the CBP FIRMS record for one code: facility name, status (active or deleted), facility type, address, CBP port, location, and the other codes registered at the same address. Deleted codes and "DO NOT USE" placeholders (junk: true) are returned with warnings. A code that is not on the list returns a not_found error, which still counts as a call. Wraps GET /v1/firms/{code}. Live keys (fapi_live_...): one counted call. Test keys (fapi_test_...): fixture sample data, not counted.

输入参数code必填

search_firms_facilities

Search facilities by name or address

Find FIRMS codes from a facility name and/or street address, e.g. 'maher terminal elizabeth' or '231 tyler st newark'. Typo-tolerant; returns ranked matches with a 0-100 score. Active codes only unless include_deleted is true. One call per search, however many results. Wraps GET /v1/search. Live keys (fapi_live_...): one counted call. Test keys (fapi_test_...): fixture sample data, not counted.

输入参数portlimitquery必填statetypesinclude_deleted

find_nearby_firms_facilities

Find facilities near a point, code or address

List FIRMS facilities within radius_km, nearest first. Pass exactly one origin: lat and lon; code (another FIRMS facility, left out of the results); or address (a US street address, geocoded unless it is a FIRMS facility's own address). meta.origin says which point was used. Facilities whose address could not be geocoded are not included. Test keys use approximate coordinates. Wraps GET /v1/nearby. Live keys (fapi_live_...): one counted call. Test keys (fapi_test_...): fixture sample data, not counted.

输入参数latloncodelimittypesaddressradius_kminclude_deleted

validate_firms_code

Check a FIRMS code before filing

Pre-filing checks of a FIRMS code against the published CBP list, in order: format, exists (catches ACE reject 158), active (159), in the stated port (164), facility type fits the use (warehouse_entry: bonded warehouse 04; ftz_admission: FTZ 02; exam_site: CES 09; location_of_goods: not 07 or 08), not a placeholder. Returns valid, checks_passed, checks_failed, checks_skipped, checks_not_possible (bond status, FTZ zone ID, direct delivery, port clusters: not in the FIRMS list) and a note. valid: true is not ACE acceptance: FIRMSapi has no ACE connection, so confirm in ACE before filing. A failing code is a normal result (valid: false) and counts as a call. Wraps POST /v1/validate. Live keys (fapi_live_...): one counted call. Test keys (fapi_test_...): fixture sample data, not counted.

输入参数usecode必填port

list_cbp_ports

List CBP ports

Every CBP port that has FIRMS codes, with name, state, region, facility_count and active_count, in one call. Wraps GET /v1/ports. Live keys (fapi_live_...): one counted call. Test keys (fapi_test_...): fixture sample data, not counted.

无需输入参数。

get_cbp_port

Get a CBP port and its facilities

One CBP port with a page of its FIRMS facilities, ordered by code. Placeholders are left out; active codes only unless include_deleted is true. For the next page pass cursor = meta.next_cursor (null on the last page); each page is one call. Wraps GET /v1/ports/{port}. Live keys (fapi_live_...): one counted call. Test keys (fapi_test_...): fixture sample data, not counted.

输入参数port必填limittypescursorinclude_deleted

版本历史

1
  1. v1.0.0最新Oct 26, 2026

评分

已满足适用检查项的 83%

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

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

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

  • 许可证不适用

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