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。

  • 授權條款不適用

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