Allowances API

U.S. government per diem and overseas allowance rates from GSA, DTMO OCONUS and State DSSR tables.

使うべきか

品質と安全性

A
説明の品質
94%
スキーマの完全性
88%
命名の品質
98%
ポイズニングのリスク
80%
権限の一致
100%
プロトコルへの準拠
100%

検出事項(12)

  • HIGHTool poisoning patterns detected
  • MEDIUMTool 'get_dtmo_conus_locations' description contains placeholder textget_dtmo_conus_locations 内
  • LOWTool 'get_perdiem_allowance_by_location' description lacks action verbget_perdiem_allowance_by_location 内
  • LOWTool 'get_perdiem_allowance_by_postcode' description lacks action verbget_perdiem_allowance_by_postcode 内
  • LOWTool 'get_mileage' description lacks action verbget_mileage 内
  • LOWTool 'get_fleet_rates_by_sin' description lacks action verbget_fleet_rates_by_sin 内
  • LOWTool 'get_user' has short descriptionget_user 内
  • LOWTool 'get_perdiem_allowance_by_location' name length outside 3-30 rangeget_perdiem_allowance_by_location 内
  • LOWTool 'get_perdiem_allowance_by_postcode' name length outside 3-30 rangeget_perdiem_allowance_by_postcode 内
  • LOWTool 'get_gsa_perdiem_by_zipcode_year' name length outside 3-30 rangeget_gsa_perdiem_by_zipcode_year 内

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~12,133トークン数(ツール定義)
~1.9 KB一般的なレスポンスサイズ
注意への影響は大きい(128k コンテキストの 9.48%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "per-diem-allowances": {
      "url": "https://mcp.allowancesapi.com/mcp"
    }
  }
}

リモートエンドポイント

https://mcp.allowancesapi.com/mcpstreamable-http

できること

ツール一覧

ツール(42)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢get_allowances(country_iso_code, type, verification_url, date)

DSSR allowances by country

入力スキーマ

{
  "type": "object",
  "properties": {
    "country_iso_code": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).",
      "examples": [
        "BE",
        "JP",
        "KE"
      ],
      "title": "Country Iso Code"
    },
    "type": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "Allowance type",
      "description": "Filter returned allowances. Unknown values are ignored.<br/>If not specified, all allowances are returned.<br/>Canonical values: cola, hardship, lqa, danger_pay, education, perdiem.<br/>Aliases accepted: cost_of_living, cost-of-living, danger, danger-pay, livingquarters.",
      "enum": [
        "cola",
        "hardship",
        "lqa",
        "danger_pay",
        "education"
      ]
    },
    "verification_url": {
      "type": "boolean",
      "title": "Verification URL",
      "description": "If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.",
      "default": false
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Specific date in YYYY-MM-DD format",
      "title": "Date"
    }
  },
  "required": [
    "country_iso_code"
  ]
}
🟢get_allowances_by_location(location, country_iso_code, type, verification_url, date)

DSSR allowances by location name

入力スキーマ

{
  "type": "object",
  "properties": {
    "location": {
      "type": "string",
      "description": "Location name, case insensitive",
      "openapi_examples": {
        "adelaide": {
          "summary": "Adelaide, Australia",
          "value": "Adelaide"
        },
        "tokyo": {
          "summary": "Tokyo, Japan (lowercase)",
          "value": "tokyo"
        },
        "partial": {
          "summary": "Tokyo, Japan (partial)",
          "value": "toky"
        }
      },
      "title": "Location"
    },
    "country_iso_code": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).",
      "examples": [
        "BE",
        "JP",
        "KE"
      ],
      "title": "Country Iso Code"
    },
    "type": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "Allowance type",
      "description": "Filter returned allowances. Unknown values are ignored.<br/>If not specified, all allowances are returned.<br/>Canonical values: cola, hardship, lqa, danger_pay, education, perdiem.<br/>Aliases accepted: cost_of_living, cost-of-living, danger, danger-pay, livingquarters.",
      "enum": [
        "cola",
        "hardship",
        "lqa",
        "danger_pay",
        "education"
      ]
    },
    "verification_url": {
      "type": "boolean",
      "title": "Verification URL",
      "description": "If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.",
      "default": false
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Specific date in YYYY-MM-DD format",
      "title": "Date"
    }
  },
  "required": [
    "location",
    "country_iso_code"
  ]
}
🟡get_allowances_by_postcode(postcode, country_iso_code, type, verification_url, date)

DSSR allowances by location post code

入力スキーマ

{
  "type": "object",
  "properties": {
    "postcode": {
      "type": "integer",
      "maximum": 99999,
      "minimum": 10000,
      "title": "DSSR post code",
      "description": "5-digit DSSR post code (no zero-padding)"
    },
    "country_iso_code": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).",
      "examples": [
        "BE",
        "JP",
        "KE"
      ],
      "title": "Country Iso Code"
    },
    "type": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "title": "Allowance type",
      "description": "Filter returned allowances. Unknown values are ignored.<br/>If not specified, all allowances are returned.<br/>Canonical values: cola, hardship, lqa, danger_pay, education, perdiem.<br/>Aliases accepted: cost_of_living, cost-of-living, danger, danger-pay, livingquarters.",
      "enum": [
        "cola",
        "hardship",
        "lqa",
        "danger_pay",
        "education"
      ]
    },
    "verification_url": {
      "type": "boolean",
      "title": "Verification URL",
      "description": "If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.",
      "default": false
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Specific date in YYYY-MM-DD format",
      "title": "Date"
    }
  },
  "required": [
    "postcode",
    "country_iso_code"
  ]
}
🟢search_perdiem(q, date)

Search DSSR Per Diem by country/location name Search globally by case-insensitive substring of a location or country name. The date selects effective and seasonal rates and defaults to today. The response effective_date is the first day of the selected month. Missing, blank, or fewer than three characters after trimming returns HTTP 422. A valid search with no matching rates returns HTTP 404.

入力スキーマ

{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "minLength": 3,
      "description": "Required case-insensitive substring of a location or country name; at least three characters after trimming.",
      "title": "Q"
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Specific date in YYYY-MM-DD format",
      "title": "Date"
    }
  },
  "required": [
    "q"
  ]
}
🟢get_perdiem_allowance(country_iso_code, verification_url, date)

DSSR per diem by country

入力スキーマ

{
  "type": "object",
  "properties": {
    "country_iso_code": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).",
      "examples": [
        "BE",
        "JP",
        "KE"
      ],
      "title": "Country Iso Code"
    },
    "verification_url": {
      "type": "boolean",
      "title": "Verification URL",
      "description": "If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.",
      "default": false
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Specific date in YYYY-MM-DD format",
      "title": "Date"
    }
  },
  "required": [
    "country_iso_code"
  ]
}
🟢get_perdiem_allowance_by_location(location, country_iso_code, verification_url, date)

DSSR per diem by location name

入力スキーマ

{
  "type": "object",
  "properties": {
    "location": {
      "type": "string",
      "description": "Location name, case insensitive",
      "openapi_examples": {
        "adelaide": {
          "summary": "Adelaide, Australia",
          "value": "Adelaide"
        },
        "tokyo": {
          "summary": "Tokyo, Japan (lowercase)",
          "value": "tokyo"
        },
        "partial": {
          "summary": "Tokyo, Japan (partial)",
          "value": "toky"
        }
      },
      "title": "Location"
    },
    "country_iso_code": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).",
      "examples": [
        "BE",
        "JP",
        "KE"
      ],
      "title": "Country Iso Code"
    },
    "verification_url": {
      "type": "boolean",
      "title": "Verification URL",
      "description": "If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.",
      "default": false
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Specific date in YYYY-MM-DD format",
      "title": "Date"
    }
  },
  "required": [
    "location",
    "country_iso_code"
  ]
}
🟡get_perdiem_allowance_by_postcode(postcode, country_iso_code, verification_url, date)

DSSR per diem by location post code

入力スキーマ

{
  "type": "object",
  "properties": {
    "postcode": {
      "type": "integer",
      "maximum": 99999,
      "minimum": 10000,
      "title": "DSSR post code",
      "description": "5-digit DSSR post code (no zero-padding)"
    },
    "country_iso_code": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).",
      "examples": [
        "BE",
        "JP",
        "KE"
      ],
      "title": "Country Iso Code"
    },
    "verification_url": {
      "type": "boolean",
      "title": "Verification URL",
      "description": "If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.",
      "default": false
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Specific date in YYYY-MM-DD format",
      "title": "Date"
    }
  },
  "required": [
    "postcode",
    "country_iso_code"
  ]
}
🟢get_dssr_locations(q, offset, limit)

List DSSR locations Return DSSR locations, optionally filtered by q=<name>. The response is paginated and includes the total number of matching locations (ignoring pagination) along with the offset and limit that were applied.

入力スキーマ

{
  "type": "object",
  "properties": {
    "q": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 2
        },
        {
          "type": "null"
        }
      ],
      "description": "Search by name",
      "title": "Q"
    },
    "offset": {
      "type": "integer",
      "default": 0,
      "title": "Offset"
    },
    "limit": {
      "type": "integer",
      "maximum": 20,
      "default": 10,
      "title": "Limit"
    }
  }
}
🟢get_countries(q, offset, limit)

Resolve a country name to its ISO code and list its posts

入力スキーマ

{
  "type": "object",
  "properties": {
    "q": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 2
        },
        {
          "type": "null"
        }
      ],
      "description": "Search by country name",
      "title": "Q"
    },
    "offset": {
      "type": "integer",
      "default": 0,
      "title": "Offset"
    },
    "limit": {
      "type": "integer",
      "maximum": 300,
      "default": 20,
      "title": "Limit"
    }
  }
}
🟢get_country(country_iso_code)

Get country by ISO code

入力スキーマ

{
  "type": "object",
  "properties": {
    "country_iso_code": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).",
      "examples": [
        "BE",
        "JP",
        "KE"
      ],
      "title": "Country Iso Code"
    }
  },
  "required": [
    "country_iso_code"
  ]
}
🟢get_dssr_locations_by_country(country_iso_code)

List DSSR locations by country Return all DSSR locations for a specific country using its ISO alpha-2 code (e.g., 'AF', 'DE')

入力スキーマ

{
  "type": "object",
  "properties": {
    "country_iso_code": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).",
      "examples": [
        "BE",
        "JP",
        "KE"
      ],
      "title": "Country Iso Code"
    }
  },
  "required": [
    "country_iso_code"
  ]
}
⚪cola_calculator_by_postcode(postcode, family_size, base_salary, date)

DSSR COLA calculator by postcode Returns the rate in percentage, the annual and the biweekly amounts of cost of living allowance (COLA) for a given DSSR postcode. Use this endpoint to automate your COLA calculations and replace the official excel file.

入力スキーマ

{
  "type": "object",
  "properties": {
    "postcode": {
      "type": "integer",
      "maximum": 99999,
      "minimum": 10000,
      "title": "DSSR post code",
      "description": "5-digit DSSR post code (no zero-padding)"
    },
    "family_size": {
      "type": "integer",
      "minimum": 1,
      "description": "The number of family members, including the FS/DoS employee/contractor",
      "title": "Family Size"
    },
    "base_salary": {
      "type": "integer",
      "minimum": 1000,
      "description": "Basic annual salary, excluding U.S. locality pay; including Overseas Comparability Pay.",
      "title": "Base Salary"
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Specific date in YYYY-MM-DD format",
      "title": "Date"
    }
  },
  "required": [
    "postcode",
    "family_size",
    "base_salary"
  ]
}
🟡get_gsa_perdiem_by_destination(destination_id, verification_url, date)

GSA per diem rate by destination Return the GSA per diem rate in effect for a specific GSA destination on a given date. A destination is a rate area defined by GSA and may represent a city, metropolitan area, county, or the Standard CONUS area. It is not necessarily a single municipality. `destination_id` is the numeric identifier assigned to that GSA rate area in the source data. Use [`GET /v1/gsa/destinations`](/docs#tag/GSA---CONUS-locations/operation/get_destinations_v1_gsa_destinations_get) to browse the available destinations and find the ID for the location you need. Destination ID `0` represents the Standard CONUS rate. The response contains the seasonal lodging rate applicable on the requested date and the daily meals and incidental expenses (M&IE) rate. When `date` is omitted, today's rate is returned. Set `verification_url=true` to include the corresponding official GSA lookup URL.

入力スキーマ

{
  "type": "object",
  "properties": {
    "destination_id": {
      "type": "integer",
      "description": "GSA's numeric identifier for a rate area. Retrieve valid IDs from `GET /v1/gsa/destinations`; ID 0 is the Standard CONUS rate.",
      "title": "Destination Id"
    },
    "verification_url": {
      "type": "boolean",
      "description": "Include the official GSA per diem lookup URL in the response when true.",
      "default": false,
      "title": "Verification Url"
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Specific date in YYYY-MM-DD format",
      "title": "Date"
    }
  },
  "required": [
    "destination_id"
  ]
}
🟡get_gsa_perdiem_by_state(state_iso, location, verification_url, date)

GSA per diem rates by state and date Return every GSA destination rate in a state that applies on a specific date. Each result contains the seasonal lodging rate in effect on that date and the daily meals and incidental expenses (M&IE) rate. When `date` is omitted, today's rates are returned. Use the optional `location` parameter to filter by a GSA destination or location-defined name. Matching is case-insensitive and accepts partial names. If the state has no non-standard destination rate, the Standard CONUS rate is returned. This endpoint covers GSA CONUS rates; unsupported or unknown state codes return 404. Set `verification_url=true` to include the corresponding official GSA state lookup URL.

入力スキーマ

{
  "type": "object",
  "properties": {
    "state_iso": {
      "type": "string",
      "description": "Two-letter US postal abbreviation for the state or District of Columbia.",
      "title": "State Iso"
    },
    "location": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional case-insensitive partial match against the GSA destination name or location-defined name.",
      "title": "Location"
    },
    "verification_url": {
      "type": "boolean",
      "description": "Include the official GSA state lookup URL in the response when true.",
      "default": false,
      "title": "Verification Url"
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Specific date in YYYY-MM-DD format",
      "title": "Date"
    }
  },
  "required": [
    "state_iso"
  ]
}
🟡get_gsa_perdiem_by_state_year(state_iso, year, location, verification_url)

GSA per diem rates by state and fiscal year Return every GSA destination rate in a state for a US fiscal year. Each result contains the lodging rate for every month and the daily meals and incidental expenses (M&IE) rate. A US fiscal year begins October 1 of the preceding calendar year and ends September 30. Use the optional `location` parameter to filter destinations by their GSA destination or location-defined name. Matching is case-insensitive and accepts partial names. Set `verification_url=true` to include the corresponding official GSA state lookup URL.

入力スキーマ

{
  "type": "object",
  "properties": {
    "state_iso": {
      "type": "string",
      "description": "Two-letter US postal abbreviation for the state or District of Columbia.",
      "title": "State Iso"
    },
    "year": {
      "type": "integer",
      "description": "Four-digit US fiscal year. Fiscal year 2026 runs from 2025-10-01 through 2026-09-30.",
      "title": "Year"
    },
    "location": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Optional case-insensitive partial match against the GSA destination name or location-defined name.",
      "title": "Location"
    },
    "verification_url": {
      "type": "boolean",
      "description": "Include the official GSA state lookup URL in the response when true.",
      "default": false,
      "title": "Verification Url"
    }
  },
  "required": [
    "state_iso",
    "year"
  ]
}
🟡get_gsa_perdiem_by_zipcode(zipcode, verification_url, date)

GSA per diem rates by ZIP code and date Return every GSA destination rate associated with a US ZIP code that applies on a specific date. Each result contains the seasonal lodging rate in effect on that date and the daily meals and incidental expenses (M&IE) rate. When `date` is omitted, today's rates are returned. A ZIP code can map to more than one GSA destination. When that happens, `results` contains every applicable rate, and the API does not choose one automatically. Use the returned county or a geocoder to determine which destination applies to the travel location. If a known ZIP code has no non-standard destination, the Standard CONUS rate is returned. The path accepts either a five-digit ZIP code or ZIP+4. ZIP+4 values are normalized to their first five digits. Set `verification_url=true` to include the corresponding official GSA lookup URL.

入力スキーマ

{
  "type": "object",
  "properties": {
    "zipcode": {
      "type": "string",
      "description": "Five-digit US ZIP code, or ZIP+4. ZIP+4 values are normalized to the first five digits.",
      "title": "Zipcode"
    },
    "verification_url": {
      "type": "boolean",
      "description": "Include the official GSA per diem lookup URL in the response when true.",
      "default": false,
      "title": "Verification Url"
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Specific date in YYYY-MM-DD format",
      "title": "Date"
    }
  },
  "required": [
    "zipcode"
  ]
}
🟡get_gsa_perdiem_by_zipcode_year(zipcode, year, verification_url)

GSA per diem rates by ZIP code and fiscal year Return the GSA lodging rates for every month of a US fiscal year and the daily meals and incidental expenses (M&IE) rate associated with a ZIP code. A US fiscal year begins October 1 of the preceding calendar year and ends September 30. A ZIP code can map to more than one GSA destination. When that happens, `results` contains every applicable rate. The API does not choose a destination automatically; use the returned county or a geocoder to determine which rate applies. ZIP codes without a non-standard destination return the Standard CONUS rate. ZIP+4 input is accepted and normalized to its first five digits. Set `verification_url=true` to include the corresponding official GSA lookup URL.

入力スキーマ

{
  "type": "object",
  "properties": {
    "zipcode": {
      "type": "string",
      "description": "Five-digit US ZIP code, or ZIP+4. ZIP+4 values are normalized to the first five digits.",
      "title": "Zipcode"
    },
    "year": {
      "type": "integer",
      "description": "Four-digit US fiscal year. Fiscal year 2026 runs from 2025-10-01 through 2026-09-30.",
      "title": "Year"
    },
    "verification_url": {
      "type": "boolean",
      "description": "Include the official GSA ZIP-code lookup URL in the response when true.",
      "default": false,
      "title": "Verification Url"
    }
  },
  "required": [
    "zipcode",
    "year"
  ]
}
🟢get_zipcode(zipcode)

Get ZIP code metadata Look up every state associated with a US ZIP code. Most ZIP codes belong to one state, but some cross state boundaries. In that case, `states` contains every matching state; the API does not choose one on the caller's behalf. This is a geographic metadata endpoint; it does not return GSA per diem rates. Use `/v1/gsa/perdiem/zipcode/{zipcode}` for rates. The path accepts either a five-digit ZIP code or ZIP+4. ZIP+4 values are normalized to their first five digits before lookup, and the normalized five-digit ZIP is returned in the response. Leading zeroes are significant, so ZIP codes must be sent as strings.

入力スキーマ

{
  "type": "object",
  "properties": {
    "zipcode": {
      "type": "string",
      "description": "US ZIP (12345) or ZIP+4 (12345-6789)",
      "openapi_examples": {
        "normal": {
          "summary": "Five digits postcode",
          "value": "12084"
        },
        "zip_plus_four": {
          "summary": "Zip+4 format",
          "value": "12084-1234"
        }
      },
      "title": "Zipcode"
    }
  },
  "required": [
    "zipcode"
  ]
}
🟢get_destination_by_id(destination_id)

Get GSA destination metadata by ID Return the geographic metadata for one GSA destination rate area. A destination may represent a city, metropolitan area, county, group of jurisdictions, or the Standard CONUS area rather than a single municipality. `name` is GSA's short display name, while `defined_name` describes the geographic scope of the rate area. `destination_id` is GSA's numeric identifier for that rate area. Use [`GET /v1/gsa/destinations`](/docs#tag/GSA---CONUS-locations/operation/get_destinations_v1_gsa_destinations_get) to browse available destinations and find an ID. ID `0` identifies the Standard CONUS rate area. This endpoint returns destination metadata only. Use `GET /v1/gsa/perdiem/destination/{destination_id}` to retrieve the per diem rate in effect for a particular date.

入力スキーマ

{
  "type": "object",
  "properties": {
    "destination_id": {
      "type": "integer",
      "description": "GSA's numeric identifier for a destination rate area. Retrieve valid IDs from `GET /v1/gsa/destinations`; ID 0 is Standard CONUS.",
      "title": "Destination Id"
    }
  },
  "required": [
    "destination_id"
  ]
}
🟢get_destinations(offset, limit)

List GSA destinations Return the paginated list of GSA destination rate areas and their numeric IDs. A destination is an area for which GSA publishes a per diem rate; it may represent a city, metropolitan area, county, locality, or the Standard CONUS area rather than a single municipality. Use `destination_id` with `GET /v1/gsa/perdiem/destination/{destination_id}` to retrieve the rate in effect for that destination. ID `0` identifies the Standard CONUS rate. `name` is GSA's display name, while `defined_name`, `county`, and state fields provide the geographic context needed to select the correct rate area. Results are ordered by `destination_id`. Use `offset` and `limit` to page through the list. An offset beyond the available records returns an empty list, not a 404 response.

入力スキーマ

{
  "type": "object",
  "properties": {
    "offset": {
      "type": "integer",
      "description": "Number of destination records to skip before returning results.",
      "default": 0,
      "title": "Offset"
    },
    "limit": {
      "type": "integer",
      "maximum": 200,
      "description": "Maximum number of destinations to return. The maximum is 200.",
      "default": 100,
      "title": "Limit"
    }
  }
}
🟡get_city_pair_locations(q, date)

City Pair airport and city codes List or search the three-letter codes used by GSA City Pair awards for the fiscal year of `date` (today by default), with GSA's own city, state and country labels. Awards use IATA airport codes (DCA, IAD, BWI) for most domestic pairs and metropolitan city codes (WAS, NYC, LON) for others; only GSA decides which, so resolve the code here before calling the fare lookup. Several codes can share one city label. Without `q`, every code of the fiscal year is returned, ordered by code. With `q` (3+ characters), a code matches exactly and city/country names match by substring, case-insensitively. Plan/date rules are those of the fare lookup: Sandbox and Google add-on today only; Pro the current US fiscal year; Business (including Enterprise accounts) any loaded fiscal year. Example: ```sh curl --get 'https://api.allowancesapi.com/v1/gsa/city-pairs/locations' -H 'X-API-Key: YOUR_KEY' --data-urlencode 'q=washington' ``` Labels mirror the latest imported awards table and change with it.

入力スキーマ

{
  "type": "object",
  "properties": {
    "q": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "minLength": 3,
      "description": "Match a code exactly or a city/country name by substring; case-insensitive. Omit to list every code of the fiscal year.",
      "examples": [
        "washington",
        "LON"
      ],
      "title": "Q"
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Specific date in YYYY-MM-DD format",
      "title": "Date"
    }
  }
}
🟡get_city_pairs(origin, destination, verification_url, date)

City Pair contract airfares Return every GSA contract award matching the airport/city code pair and date (today by default). Codes are returned in alphabetical order; fares are one-way USD and valid in either direction. Source start/end dates are inclusive; overlapping amendments are both returned. No fallback to other fiscal years or dates. Null fare categories are unavailable. Sandbox and Google add-on: today only. Pro: current US fiscal year. Business (including Enterprise accounts): any loaded fiscal year, including published future awards. Data reflects the latest imported table, not past publication snapshots. These are eligible government travelers' contract prices, not live seat availability or booking offers. Domestic fares exclude passenger facility, segment and security fees; international fares exclude taxes/fees but include fuel surcharges. Book through the agency's authorized system. [Official CPP rules and price caveats](https://www.gsa.gov/travel/plan-a-trip/transportation-airfare-rates-pov-rates/airfare-rates-city-pair-program); [fare definitions](https://www.gsa.gov/travel/plan-a-trip/transportation-airfare-rates-pov-rates/airfare-rates-city-pair-program/government-airfare-types). Example (fixed date; use Business access for dates outside the current fiscal year): ```sh curl --get 'https://api.allowancesapi.com/v1/gsa/city-pairs/ABE/ATL' -H 'X-API-Key: YOUR_KEY' -H 'X-Bypass-Cache: 1' --data-urlencode 'date=2026-10-28' --data-urlencode 'verification_url=true' ``` See the 200 response example for all result fields. Importing does not invalidate existing cached responses; use X-Bypass-Cache: 1 to verify newly imported data.

入力スキーマ

{
  "type": "object",
  "properties": {
    "origin": {
      "type": "string",
      "description": "Three-letter airport or international city code; case-insensitive. No city-name expansion.",
      "examples": [
        "ABE",
        "LON"
      ],
      "title": "Origin"
    },
    "destination": {
      "type": "string",
      "description": "Three-letter airport or international city code; case-insensitive. No city-name expansion.",
      "examples": [
        "ABE",
        "LON"
      ],
      "title": "Destination"
    },
    "verification_url": {
      "type": "boolean",
      "title": "Verification URL",
      "description": "If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.",
      "default": false
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Specific date in YYYY-MM-DD format",
      "title": "Date"
    }
  },
  "required": [
    "origin",
    "destination"
  ]
}
🟢get_mileage(type, verification_url, date)

POV mileage reimbursement rates Return the privately owned vehicle (POV) mileage reimbursement rates in effect on the given date. If date is not specified, today's rates will be returned.

入力スキーマ

{
  "type": "object",
  "properties": {
    "type": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "airplane",
            "automobile",
            "government_furnished_automobile",
            "motorcycle",
            "moving"
          ],
          "title": "MileageType"
        },
        {
          "type": "null"
        }
      ],
      "description": "Filter by mileage type",
      "title": "Type"
    },
    "verification_url": {
      "type": "boolean",
      "title": "Verification URL",
      "description": "If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.",
      "default": false
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Specific date in YYYY-MM-DD format",
      "title": "Date"
    }
  }
}
🟡get_mie_breakdowns(region, total, verification_url, date)

M&IE meal breakdowns Return how daily M&IE totals break down into breakfast, lunch, dinner and incidental expenses, as in effect on the given date. The CONUS table breaks down the five standard CONUS M&IE tiers and is returned by default. Set region=oconus for the generic DTMO/DSSR M&IE total table. If date is not specified, today's breakdowns will be returned.

入力スキーマ

{
  "type": "object",
  "properties": {
    "region": {
      "type": "string",
      "enum": [
        "conus",
        "oconus"
      ],
      "title": "MieBreakdownRegion",
      "description": "Breakdown table to return; defaults to CONUS",
      "default": "conus"
    },
    "total": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 1
        },
        {
          "type": "null"
        }
      ],
      "description": "Filter by daily M&IE total in USD",
      "title": "Total"
    },
    "verification_url": {
      "type": "boolean",
      "title": "Verification URL",
      "description": "If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.",
      "default": false
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Specific date in YYYY-MM-DD format",
      "title": "Date"
    }
  }
}
🟢get_fleet_rates_by_sin(rate_type, sin, verification_url, year)

GSA Fleet vehicle leasing rates by SIN Return the GSA Fleet vehicle leasing rates (monthly lease rate and rate per mile) for the vehicle type identified by its Standard Item Number (SIN), from the standard (US) or europe rate schedule. If year is not specified, the current fiscal year's rates will be returned. Rates are available from fiscal year 2022.

入力スキーマ

{
  "type": "object",
  "properties": {
    "rate_type": {
      "type": "string",
      "enum": [
        "standard",
        "europe"
      ],
      "title": "Fleet rate schedule",
      "description": "The GSA Fleet rate schedule: 'standard' covers vehicles leased in the United States, 'europe' covers vehicles leased in Europe."
    },
    "sin": {
      "type": "string",
      "title": "GSA Fleet SIN",
      "description": "Standard Item Number (SIN) identifying a GSA Fleet leased vehicle type, case insensitive."
    },
    "verification_url": {
      "type": "boolean",
      "title": "Verification URL",
      "description": "If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.",
      "default": false
    },
    "year": {
      "anyOf": [
        {
          "type": "integer",
          "description": "A fiscal year starts Oct 1st, ends Sep 30th",
          "openapi_examples": {
            "recent": {
              "value": 2026
            },
            "historic": {
              "value": 2005
            }
          }
        },
        {
          "type": "null"
        }
      ],
      "title": "Year"
    }
  },
  "required": [
    "rate_type",
    "sin"
  ]
}
🟢calculate_mileage_reimbursement(distance, vehicle_type, government_vehicle_available, date)

Calculate POV mileage reimbursement Calculate mileage reimbursement using the official GSA rate in effect on the travel date. Provide a distance in miles and select automobile, airplane, motorcycle, or moving mileage. For automobile travel, indicate whether a government-furnished automobile was authorized and available; this determines whether the standard or reduced rate applies. If no travel date is supplied, today's date is used. The response identifies the selected rate category, rate and effective date, and the reimbursement amount rounded to the nearest cent.

入力スキーマ

{
  "type": "object",
  "properties": {
    "distance": {
      "type": "number",
      "multipleOf": 0.001,
      "maximum": 100000,
      "exclusiveMinimum": 0,
      "title": "Distance",
      "description": "One-way or total travel distance in miles, from 0.001 through 100,000.",
      "example": 125.5
    },
    "vehicle_type": {
      "type": "string",
      "enum": [
        "automobile",
        "airplane",
        "motorcycle",
        "moving"
      ],
      "title": "MileageCalculatorVehicleType",
      "description": "Vehicle or travel category used to select the applicable GSA mileage rate.",
      "example": "automobile"
    },
    "government_vehicle_available": {
      "type": "boolean",
      "title": "Government Vehicle Available",
      "description": "Optional for automobile calculations and defaults to false. Use true when a government-furnished automobile is authorized and available; false selects the standard privately owned automobile rate.",
      "default": false,
      "example": false
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Date",
      "description": "Travel date used to select the effective rate. Accepts YYYY-MM-DD or YYYYMMDD; defaults to today.",
      "example": "2026-07-11"
    }
  },
  "required": [
    "distance",
    "vehicle_type"
  ]
}
🟢calculate_trip_per_diem(stops, deductible_meals, verification_url)

Calculate a GSA CONUS trip per diem entitlement <p>Calculate estimated lodging and meals and incidental expenses (M&amp;IE) reimbursement for a trip within the continental United States. The response provides a daily breakdown and trip totals.</p> <h3 class="text-xl">Describe the trip</h3> <ul class="list-disc"> <li>Add each temporary-duty stop in travel order, with inclusive arrival and departure dates.</li> <li>Identify each stop with a GSA destination ID or ZIP code. A stop represents the temporary-duty locality, which may differ from the hotel location.</li> <li>Optionally provide the actual nightly lodging cost and any meals that must be deducted.</li> <li>When one stop ends on the same date another begins, the arriving stop applies to that date.</li> </ul> <h3 class="text-xl">Calculation rules</h3> <ul class="list-disc"> <li>The calculator selects the GSA rate in effect for each day, including seasonal and fiscal-year changes.</li> <li>First and last travel days receive 75% of the M&amp;IE rate; intermediate days receive 100%.</li> <li>Submitted meal deductions use the official GSA meal values while preserving the required incidental expense amount.</li> <li>Lodging reimbursement is limited to the nightly GSA cap. Any amount above the cap is reported as <code>overage</code> and is not included in the payable total.</li> </ul> <h3 class="text-xl">Important notes</h3> <ul class="list-disc"> <li>Submit only meals that you have determined must be deducted under FTR 301-11.21.</li> <li>Single-day reimbursement applies only when the traveler is in eligible travel status for more than 12 hours.</li> <li>If a lodging cost is omitted, the response still shows the nightly cap, but lodging and overall payable totals are <code>null</code>.</li> <li>The response includes the calculation version and a source fingerprint to support auditing.</li> </ul>

入力スキーマ

{
  "type": "object",
  "properties": {
    "stops": {
      "items": {
        "properties": {
          "location": {
            "properties": {
              "zipcode": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Zipcode",
                "description": "Five-digit US ZIP or ZIP+4. ZIP+4 is normalized to five digits.",
                "examples": [
                  "20001",
                  "20001-1234"
                ]
              },
              "destination_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Destination Id",
                "description": "GSA destination identifier. Destination 0 is Standard CONUS.",
                "examples": [
                  123
                ]
              }
            },
            "additionalProperties": false,
            "type": "object",
            "title": "GSATripLocationRequest",
            "description": "TDY locality for the stop; not merely the hotel location."
          },
          "arrival_date": {
            "type": "string",
            "format": "date",
            "title": "Arrival Date",
            "description": "First calendar date owned by this stop."
          },
          "departure_date": {
            "type": "string",
            "format": "date",
            "title": "Departure Date",
            "description": "Shared boundary/return date; the arriving next stop owns a transition date."
          },
          "lodging_cost_per_night": {
            "anyOf": [
              {
                "type": "number",
                "maximum": 100000,
                "minimum": 0
              },
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lodging Cost Per Night",
            "description": "Optional actual room cost applied to every lodging night in this stop. Must be a JSON number with no more than two decimal places.",
            "examples": [
              250
            ]
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "location",
          "arrival_date",
          "departure_date"
        ],
        "title": "GSATripStopRequest"
      },
      "type": "array",
      "maxItems": 50,
      "minItems": 1,
      "title": "Stops",
      "description": "Ordered, contiguous TDY-locality stops for the trip."
    },
    "deductible_meals": {
      "items": {
        "properties": {
          "date": {
            "type": "string",
            "format": "date",
            "title": "Date",
            "description": "Inclusive trip date on which meals are deducted."
          },
          "meals": {
            "items": {
              "type": "string",
              "enum": [
                "breakfast",
                "lunch",
                "dinner"
              ],
              "title": "GSATripMeal"
            },
            "type": "array",
            "minItems": 1,
            "title": "Meals",
            "description": "Non-empty unique breakfast/lunch/dinner deductions for the date."
          }
        },
        "additionalProperties": false,
        "type": "object",
        "required": [
          "date",
          "meals"
        ],
        "title": "GSATripDeductibleMealsRequest"
      },
      "type": "array",
      "title": "Deductible Meals",
      "description": "Sparse caller-determined meal deductions, keyed by trip date."
    },
    "verification_url": {
      "type": "boolean",
      "title": "Verification Url",
      "description": "Include deduplicated official GSA verification URLs when true.",
      "default": false
    }
  },
  "required": [
    "stops"
  ]
}
🟢get_dtmo_perdiem_conus(state_iso, year, verification_url, q, offset, ...)

Get perdiem CONUS Department of Defense per diem for the continental U.S. by state code (e.g. 'TX'); Alaska, Hawaii and the territories are served by the OCONUS endpoint. Returns lodging, local and proportional meal rates, incidentals and the maximum per diem (lodging + meals + incidentals) per season. `q` filters by location name. `date` selects the rates in force on that day, `year` a fiscal year (Oct 1 to Sep 30); omit both for the current fiscal year.

入力スキーマ

{
  "type": "object",
  "properties": {
    "state_iso": {
      "type": "string",
      "description": "US state code: US- followed by the postal abbreviation, e.g. US-CA for California.",
      "examples": [
        "US-AL",
        "US-CA"
      ],
      "title": "State Iso"
    },
    "year": {
      "type": "integer",
      "description": "A fiscal year starts Oct 1st, ends Sep 30th",
      "openapi_examples": {
        "recent": {
          "value": 2026
        },
        "historic": {
          "value": 2005
        }
      },
      "title": "Year"
    },
    "verification_url": {
      "type": "boolean",
      "title": "Verification URL",
      "description": "If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.",
      "default": false
    },
    "q": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "minLength": 3,
      "description": "Search by location name or state/country name",
      "title": "Q"
    },
    "offset": {
      "type": "integer",
      "default": 0,
      "title": "Offset"
    },
    "limit": {
      "type": "integer",
      "default": 50,
      "title": "Limit"
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Specific date in YYYY-MM-DD format",
      "title": "Date"
    }
  },
  "required": [
    "state_iso"
  ]
}
🟢get_dtmo_perdiem_oconus(oconus_iso_code, year, verification_url, q, offset, ...)

Get perdiem OCONUS Department of Defense per diem outside the continental U.S.: foreign countries by ISO alpha-2 code (e.g. 'PG'), and Alaska, Hawaii and U.S. territories by 'US-XX' code. Returns lodging, local and proportional meal rates, incidentals and the maximum per diem (lodging + meals + incidentals) per season. `q` filters by location name. `date` selects the rates in force on that day, `year` a fiscal year (Oct 1 to Sep 30); omit both for the current fiscal year.

入力スキーマ

{
  "type": "object",
  "properties": {
    "oconus_iso_code": {
      "type": "string",
      "description": "Foreign country ISO 3166-1 alpha-2 code (e.g. BE), or one of the OCONUS state codes US-AK, US-HI, US-PR, US-GU, US-VI, US-AS, US-MP, US-UM. Resolve a country name to its code with get_countries (q=name).",
      "examples": [
        "US-AK",
        "BE"
      ],
      "title": "Oconus Iso Code"
    },
    "year": {
      "type": "integer",
      "description": "A fiscal year starts Oct 1st, ends Sep 30th",
      "openapi_examples": {
        "recent": {
          "value": 2026
        },
        "historic": {
          "value": 2005
        }
      },
      "title": "Year"
    },
    "verification_url": {
      "type": "boolean",
      "title": "Verification URL",
      "description": "If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.",
      "default": false
    },
    "q": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "minLength": 3,
      "description": "Search by location name or state/country name",
      "title": "Q"
    },
    "offset": {
      "type": "integer",
      "default": 0,
      "title": "Offset"
    },
    "limit": {
      "type": "integer",
      "default": 50,
      "title": "Limit"
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Specific date in YYYY-MM-DD format",
      "title": "Date"
    }
  },
  "required": [
    "oconus_iso_code"
  ]
}
🟢search_dtmo_perdiem(q, year, verification_url, date)

Search by location name Department of Defense per diem by location name (e.g. 'Kabul') or country/state name (e.g. 'Afghanistan'), across CONUS and OCONUS. `date` selects the rates in force on that day, `year` a fiscal year (Oct 1 to Sep 30); omit both for the current fiscal year.

入力スキーマ

{
  "type": "object",
  "properties": {
    "q": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "minLength": 3,
      "description": "Search by location name or state/country name",
      "title": "Q"
    },
    "year": {
      "type": "integer",
      "description": "A fiscal year starts Oct 1st, ends Sep 30th",
      "openapi_examples": {
        "recent": {
          "value": 2026
        },
        "historic": {
          "value": 2005
        }
      },
      "title": "Year"
    },
    "verification_url": {
      "type": "boolean",
      "title": "Verification URL",
      "description": "If 'True', will include a verification url in the payload, pointing to the official government source. This is useful to crosscheck that the API returns the proper data and for auditing.",
      "default": false
    },
    "date": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "description": "Specific date in YYYY-MM-DD format",
      "title": "Date"
    }
  }
}
🟡get_dtmo_conus_locations(state_iso)

Get DTMO CONUS locations # todo add filter by location Return all DTMO locations for a specific state using its US State Code (e.g., 'US-CA')

入力スキーマ

{
  "type": "object",
  "properties": {
    "state_iso": {
      "type": "string",
      "description": "US state code: US- followed by the postal abbreviation, e.g. US-CA for California.",
      "examples": [
        "US-AL",
        "US-CA"
      ],
      "title": "State Iso"
    }
  },
  "required": [
    "state_iso"
  ]
}
🟢get_dtmo_oconus_locations(country_iso_code, location)

Get DTMO OCONUS locations Return DTMO locations for a specific country using its ISO Code (e.g., 'AU', 'BE'). The optional `location` filter performs case-insensitive substring matching. Omitted or empty filters return all locations in the country. Nonempty input is literal, including spaces and wildcard characters. No matches returns [].

入力スキーマ

{
  "type": "object",
  "properties": {
    "country_iso_code": {
      "type": "string",
      "description": "ISO 3166-1 alpha-2 country code, e.g. PG for Papua New Guinea; ZZ stands for 'Other Foreign Localities', not a country. Resolve a country name to its code with get_countries (q=name).",
      "examples": [
        "BE",
        "JP",
        "KE"
      ],
      "title": "Country Iso Code"
    },
    "location": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "description": "Filter by location name",
      "title": "Location"
    }
  },
  "required": [
    "country_iso_code"
  ]
}
🟢search_fema_hotels(q, state, offset, limit)

Search FEMA-listed properties by name and town Return the properties whose name or city contains every word of `q`, case-insensitively, as a plain substring: `courtyard dallas` matches Courtyard properties in Dallas, `mint house alexandria` the Mint House in Alexandria. There is no fuzzy matching, so `hampton inn` does not find "Hampton by Hilton". Words of one character are ignored. `state` narrows the search to one state or territory (404 for a code FEMA does not list). Results are ordered by name then city and paginated with `offset` and `limit` (50 by default, 200 at most); `total` counts every match. No match returns an empty `results` list. The Hotel and Motel Fire Safety Act of 1990 requires federal travelers to stay at a property on FEMA's Hotel and Motel National Master List to be reimbursed for lodging. Each property on the list has a FEMA ID. FEMA publishes the current list only; `as_of` is the date of the snapshot the results come from. This endpoint returns no rates: combine it with the GSA per diem lookups for the lodging ceiling.

入力スキーマ

{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "minLength": 3,
      "description": "Words to find in the property name or city, all required, case-insensitive.",
      "examples": [
        "mint house alexandria"
      ],
      "title": "Q"
    },
    "state": {
      "anyOf": [
        {
          "type": "string",
          "description": "2-digits US State ISO Code, format XX",
          "examples": [
            "AL",
            "CA"
          ]
        },
        {
          "type": "null"
        }
      ],
      "description": "Restrict the search to one state or territory.",
      "title": "State"
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of properties to skip.",
      "default": 0,
      "title": "Offset"
    },
    "limit": {
      "type": "integer",
      "maximum": 200,
      "minimum": 1,
      "description": "Properties per page, 200 at most.",
      "default": 50,
      "title": "Limit"
    }
  },
  "required": [
    "q"
  ]
}
🟢get_fema_hotel_by_id(fema_id)

FEMA-listed property by FEMA ID Return the property registered under a FEMA ID, or 404 when the ID is not on the list. The Hotel and Motel Fire Safety Act of 1990 requires federal travelers to stay at a property on FEMA's Hotel and Motel National Master List to be reimbursed for lodging. Each property on the list has a FEMA ID. FEMA publishes the current list only; `as_of` is the date of the snapshot the results come from. This endpoint returns no rates: combine it with the GSA per diem lookups for the lodging ceiling.

入力スキーマ

{
  "type": "object",
  "properties": {
    "fema_id": {
      "type": "string",
      "description": "FEMA ID of the property as printed on the Hotel and Motel National Master List, two letters followed by digits. Case-insensitive.",
      "examples": [
        "VA6026"
      ],
      "title": "Fema Id"
    }
  },
  "required": [
    "fema_id"
  ]
}
🟢get_fema_hotels_by_zipcode(zipcode)

FEMA-listed properties by ZIP code Return every property on the list in a US ZIP code, ordered by name. The path accepts a five-digit ZIP or ZIP+4, normalized to the first five digits. A known ZIP with no listed property returns an empty `results` list; an unknown ZIP returns 404. The Hotel and Motel Fire Safety Act of 1990 requires federal travelers to stay at a property on FEMA's Hotel and Motel National Master List to be reimbursed for lodging. Each property on the list has a FEMA ID. FEMA publishes the current list only; `as_of` is the date of the snapshot the results come from. This endpoint returns no rates: combine it with the GSA per diem lookups for the lodging ceiling.

入力スキーマ

{
  "type": "object",
  "properties": {
    "zipcode": {
      "type": "string",
      "description": "US ZIP (12345) or ZIP+4 (12345-6789)",
      "openapi_examples": {
        "normal": {
          "summary": "Five digits postcode",
          "value": "12084"
        },
        "zip_plus_four": {
          "summary": "Zip+4 format",
          "value": "12084-1234"
        }
      },
      "title": "Zipcode"
    }
  },
  "required": [
    "zipcode"
  ]
}
🟢get_fema_hotels_by_state_city(state_iso, city, offset, limit)

FEMA-listed properties by state, optionally filtered by city Return the properties on the list in a state, ordered by city then name and paginated with `offset` and `limit` (50 by default, 200 at most); `total` is the number of matches across all pages. The optional `city` is matched case-insensitively as a partial name, so `york` matches New York and Yorktown. The state path accepts the 50 states, DC and the territories FEMA lists (AS, GU, MP, PR, PW, VI); other codes return 404. A city that matches nothing returns an empty `results` list. The Hotel and Motel Fire Safety Act of 1990 requires federal travelers to stay at a property on FEMA's Hotel and Motel National Master List to be reimbursed for lodging. Each property on the list has a FEMA ID. FEMA publishes the current list only; `as_of` is the date of the snapshot the results come from. This endpoint returns no rates: combine it with the GSA per diem lookups for the lodging ceiling.

入力スキーマ

{
  "type": "object",
  "properties": {
    "state_iso": {
      "type": "string",
      "description": "2-digits US State ISO Code, format XX",
      "examples": [
        "AL",
        "CA"
      ],
      "title": "State Iso"
    },
    "city": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 2
        },
        {
          "type": "null"
        }
      ],
      "description": "Case-insensitive partial match on the city name.",
      "examples": [
        "Alexandria"
      ],
      "title": "City"
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "description": "Number of properties to skip.",
      "default": 0,
      "title": "Offset"
    },
    "limit": {
      "type": "integer",
      "maximum": 200,
      "minimum": 1,
      "description": "Properties per page, 200 at most.",
      "default": 50,
      "title": "Limit"
    }
  },
  "required": [
    "state_iso"
  ]
}
🟢get_opm_localities(location, state)

GS locality pay areas, optionally by county or city List the locality pay areas of the latest pay year, with the code to use on the pay endpoints. The optional `location` keeps the areas whose name contains every word, and the areas of the counties and cities with that name. `state` narrows `location` to one state and has no effect without it. County and city names must match exactly, ignoring case; a trailing `county` is optional. A place outside every listed area returns Rest of U.S. (`RUS`). Area names keep matching on any word they contain. `matched_places` lists the counties and cities behind each result. A place name can return several areas: the same name can exist in several states, which `state` narrows, and a city can span several areas, in which case all of them are returned and the official duty station decides. City data is not published by OPM, so for payroll use `/v1/opm/localities/county/{fips}`. An empty result does not mean Rest of U.S.: the name may be misspelled, and U.S. territories are not covered.

入力スキーマ

{
  "type": "object",
  "properties": {
    "location": {
      "anyOf": [
        {
          "type": "string",
          "minLength": 2
        },
        {
          "type": "null"
        }
      ],
      "description": "County, city or locality area name.",
      "examples": [
        "evanston"
      ],
      "title": "Location"
    },
    "state": {
      "anyOf": [
        {
          "type": "string",
          "description": "2-digits US State ISO Code, format XX",
          "examples": [
            "AL",
            "CA"
          ]
        },
        {
          "type": "null"
        }
      ],
      "description": "Restrict `location` to one state.",
      "title": "State"
    }
  }
}
🟢get_opm_locality_by_county(fips)

GS locality pay area of a county Return the locality pay area of a county for the latest pay year, using OPM's own definitions. A county that OPM doesn't list under an area falls under Rest of U.S. (`RUS`), and every county in Alaska or Hawaii returns that state's area. Returns 404 for an unknown code and for a Connecticut planning region, as OPM defines Connecticut by its eight legacy counties. U.S. territories fall under Rest of U.S. in OPM's definitions, but their county codes are not available here and return 404. Burlington County, NJ (`34005`) returns the Philadelphia area, while three military sites inside it (Fort Dix, Joint Base McGuire-Dix-Lakehurst and McGuire Air Force Base) belong to the New York area.

入力スキーマ

{
  "type": "object",
  "properties": {
    "fips": {
      "type": "string",
      "pattern": "^\\d{5}$",
      "description": "Five-digit county FIPS code: two for the state and three for the county.",
      "examples": [
        "17031"
      ],
      "title": "Fips"
    }
  },
  "required": [
    "fips"
  ]
}
🟢search_opm_pay(q, grade, step)

Search GS pay by locality area Return the latest pay tables whose locality area matches every word of `q`: each word must be contained in the area name, case-insensitively, or equal its code. `grade` and `step` narrow the rates. No match returns an empty `results` list. Matching only looks at OPM's locality area names, not at the counties and towns each area covers: `naperville` finds Chicago because the name contains it, while a town missing from the names returns nothing. No match does not mean the place falls under Rest of U.S.

入力スキーマ

{
  "type": "object",
  "properties": {
    "q": {
      "type": "string",
      "minLength": 2,
      "description": "Words to find in the locality area name or code, all required, case-insensitive.",
      "examples": [
        "chicago"
      ],
      "title": "Q"
    },
    "grade": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 15,
          "minimum": 1
        },
        {
          "type": "null"
        }
      ],
      "description": "Return only this GS grade, 1 to 15.",
      "title": "Grade"
    },
    "step": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 10,
          "minimum": 1
        },
        {
          "type": "null"
        }
      ],
      "description": "Return only this step, 1 to 10.",
      "title": "Step"
    }
  },
  "required": [
    "q"
  ]
}
🟢get_opm_pay(locality_code, grade, step)

GS pay by locality code Return the latest pay table of a locality pay area, ordered by grade and step, or 404 for an unknown code. `grade` and `step` narrow the rates. Use `GS` for the base table without locality pay, and `RUS` for Rest of U.S.

入力スキーマ

{
  "type": "object",
  "properties": {
    "locality_code": {
      "type": "string",
      "description": "OPM locality pay area code, from /v1/opm/localities, or GS for the base table. Case-insensitive.",
      "examples": [
        "CHI"
      ],
      "title": "Locality Code"
    },
    "grade": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 15,
          "minimum": 1
        },
        {
          "type": "null"
        }
      ],
      "description": "Return only this GS grade, 1 to 15.",
      "title": "Grade"
    },
    "step": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 10,
          "minimum": 1
        },
        {
          "type": "null"
        }
      ],
      "description": "Return only this step, 1 to 10.",
      "title": "Step"
    }
  },
  "required": [
    "locality_code"
  ]
}
🟢get_latest_publications

Latest data publications

入力スキーマ

{
  "type": "object",
  "properties": {}
}
🟢get_user

Get User

入力スキーマ

{
  "type": "object",
  "properties": {}
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 42 件