FIRMSapi

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

사용해야 할까요

품질 및 안전성

B
설명 품질
90%
스키마 완전성
84%
이름 품질
97%
오염 위험
40%
권한 일치
100%
프로토콜 준수
100%

발견 사항 (7)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool 'lookup_firms_code' description contains placeholder textlookup_firms_code에서
  • MEDIUMTool 'validate_firms_code' description contains placeholder textvalidate_firms_code에서
  • MEDIUMTool 'get_cbp_port' description contains placeholder textget_cbp_port에서
  • INFOTool description contains placeholder or incomplete textlookup_firms_code에서
  • INFOTool description contains placeholder or incomplete textvalidate_firms_code에서
  • INFOTool description contains placeholder or incomplete textget_cbp_port에서

도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.

컨텍스트 비용

~2,017토큰 (도구 정의)
~1.8 KB일반적인 응답 크기
중간 정도의 주의 영향 (128k 컨텍스트의 1.58%)

이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.

설치

원클릭 설치

`claude_desktop_config.json` 파일에 다음을 추가하세요:

{
  "mcpServers": {
    "mcp": {
      "url": "https://api.firmsapi.com/mcp"
    }
  }
}

원격 엔드포인트

https://api.firmsapi.com/mcpstreamable-http

할 수 있는 일

도구 목록

도구 (6)

🟢 읽기 전용🟡 쓰기🔴 삭제⚪ 알 수 없음
🟢lookup_firms_code(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.

입력 스키마

{
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{4}$",
      "description": "4-character FIRMS code, e.g. E430."
    }
  },
  "required": [
    "code"
  ],
  "additionalProperties": false
}
🟢search_firms_facilities(query, state, port, types, include_deleted, ...)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "minLength": 2,
      "maxLength": 200,
      "description": "Name and/or address."
    },
    "state": {
      "type": "string",
      "pattern": "^[A-Za-z]{2}$",
      "description": "2-letter state, e.g. NJ."
    },
    "port": {
      "type": "string",
      "pattern": "^[0-9]{4}$",
      "description": "4-digit CBP port code, e.g. 4601."
    },
    "types": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "01",
          "02",
          "03",
          "04",
          "05",
          "06",
          "07",
          "08",
          "09",
          "10",
          "11"
        ]
      },
      "description": "Only these facility types: 01 Container freight station (CFS), 02 Foreign trade zone (FTZ), 03 Pier or terminal, 04 Bonded warehouse, 05 Inspection facility, 06 Importer premises, 07 DP site, 08 CBP administrative, 09 Centralized examination station (CES), 10 Rail or air terminal (inferred), 11 CBP test."
    },
    "include_deleted": {
      "type": "boolean",
      "default": false,
      "description": "Include deleted codes (ranked after active ones)."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 10
    }
  },
  "required": [
    "query"
  ],
  "additionalProperties": false
}
🟢find_nearby_firms_facilities(lat, lon, code, address, radius_km, ...)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "lat": {
      "type": "number",
      "minimum": -90,
      "maximum": 90
    },
    "lon": {
      "type": "number",
      "minimum": -180,
      "maximum": 180
    },
    "code": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{4}$",
      "description": "Search around this FIRMS code."
    },
    "address": {
      "type": "string",
      "minLength": 3,
      "maxLength": 200,
      "description": "Search around this US street address, e.g. 231 Tyler St, Newark, NJ 07114."
    },
    "radius_km": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 100,
      "default": 10
    },
    "types": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "01",
          "02",
          "03",
          "04",
          "05",
          "06",
          "07",
          "08",
          "09",
          "10",
          "11"
        ]
      },
      "description": "Only these facility types: 01 Container freight station (CFS), 02 Foreign trade zone (FTZ), 03 Pier or terminal, 04 Bonded warehouse, 05 Inspection facility, 06 Importer premises, 07 DP site, 08 CBP administrative, 09 Centralized examination station (CES), 10 Rail or air terminal (inferred), 11 CBP test."
    },
    "include_deleted": {
      "type": "boolean",
      "default": false,
      "description": "Include deleted codes (ranked after active ones)."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 20
    }
  },
  "additionalProperties": false
}
🟢validate_firms_code(code, port, use)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "code": {
      "type": "string",
      "minLength": 1,
      "maxLength": 32,
      "description": "The code as it appears in your system. A malformed code is a failed check."
    },
    "port": {
      "type": "string",
      "maxLength": 8,
      "description": "4-digit CBP port of entry of the filing."
    },
    "use": {
      "type": "string",
      "enum": [
        "warehouse_entry",
        "ftz_admission",
        "exam_site",
        "location_of_goods"
      ],
      "description": "How the code will be used; enables the facility type check."
    }
  },
  "required": [
    "code"
  ],
  "additionalProperties": false
}
🟢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.

입력 스키마

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟢get_cbp_port(port, types, include_deleted, limit, cursor)

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.

입력 스키마

{
  "type": "object",
  "properties": {
    "port": {
      "type": "string",
      "pattern": "^[0-9]{4}$",
      "description": "4-digit CBP port code, e.g. 4601."
    },
    "types": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "01",
          "02",
          "03",
          "04",
          "05",
          "06",
          "07",
          "08",
          "09",
          "10",
          "11"
        ]
      },
      "description": "Only these facility types: 01 Container freight station (CFS), 02 Foreign trade zone (FTZ), 03 Pier or terminal, 04 Bonded warehouse, 05 Inspection facility, 06 Importer premises, 07 DP site, 08 CBP administrative, 09 Centralized examination station (CES), 10 Rail or air terminal (inferred), 11 CBP test."
    },
    "include_deleted": {
      "type": "boolean",
      "default": false,
      "description": "Include deleted codes (ranked after active ones)."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "default": 100
    },
    "cursor": {
      "type": "string",
      "pattern": "^[A-Za-z0-9]{4}$",
      "description": "meta.next_cursor."
    }
  },
  "required": [
    "port"
  ],
  "additionalProperties": false
}

커뮤니티

이 서버 평가하기

증거

최근 관측

검증됨버전이 기록되지 않음도구 6개