Skip to main content

MCP server for GSA Per Diem Rates API. Federal travel lodging and M&IE rates for IGCEs and travel cost estimation.

Project description

gsa-perdiem-mcp

MCP server for the GSA Per Diem Rates API. Federal travel lodging and M&IE rates for IGCEs and travel cost estimation.

Works without configuration using DEMO_KEY. Optional free API key for higher rate limits.

What it does

Exposes the GSA Per Diem API as 6 MCP tools:

Core lookups

  • lookup_city_perdiem - Rates by city/state (auto-selects best NSA match)
  • lookup_zip_perdiem - Rates by ZIP code
  • lookup_state_rates - All NSA rates for a state
  • get_mie_breakdown - M&IE tier table (meal components)

Workflow

  • estimate_travel_cost - Calculate trip per diem (lodging + M&IE with first/last day at 75%)
  • compare_locations - Compare rates across multiple cities

Get your own API key (strongly recommended)

This server hits api.gsa.gov, which uses api.data.gov for rate limiting.

  • Without a key: falls back to the shared DEMO_KEY which is capped at ~10 requests per hour across everyone using it. A couple real prompts will blow through that limit and you'll start seeing 429 errors.
  • With a personal key: 1,000 requests per hour, yours alone.

Get a free key (takes 30 seconds):

  1. Go to api.data.gov/signup
  2. Enter your name and email — no approval, no wait
  3. Copy the key from the confirmation page
  4. Paste it into your Claude Desktop config as PERDIEM_API_KEY (see below)

The same key works for every api.data.gov-backed API (GSA Per Diem, NASA, FEC, FCC, etc.).

Installation

uvx gsa-perdiem-mcp

Claude Desktop configuration

Recommended (with your own key):

{
  "mcpServers": {
    "gsa-perdiem": {
      "command": "uvx",
      "args": ["gsa-perdiem-mcp"],
      "env": {
        "PERDIEM_API_KEY": "paste-your-api-data-gov-key-here"
      }
    }
  }
}

Without a key (works for a handful of calls per hour, then 429s until the hour rolls over):

{
  "mcpServers": {
    "gsa-perdiem": {
      "command": "uvx",
      "args": ["gsa-perdiem-mcp"]
    }
  }
}

Example prompts

  • "What's the per diem rate for Washington DC in FY2026?"
  • "Estimate travel costs for 4 nights in Boston in March."
  • "Compare per diem rates for DC, New York, and San Francisco."
  • "What are all the NSA per diem locations in Virginia?"
  • "Show me the M&IE meal breakdown for the $92 tier."
  • "Build a travel estimate: 3 trips to Seattle (4 nights each) and 2 trips to DC (3 nights each)."

Important: maximum reimbursement, not actual prices

Per diem rates are federal reimbursement ceilings per 41 CFR 301-11. They are not actual hotel prices. CONUS only. OCONUS rates are from the State Department. Lodging taxes generally not included. First/last travel day M&IE at 75%.

Companion tools

Use alongside bls-oews-mcp (wage data) and gsa-calc-mcp (ceiling rates) for complete IGCE development. Per diem covers the travel component; BLS and CALC+ cover labor.

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gsa_perdiem_mcp-0.2.1.tar.gz (78.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gsa_perdiem_mcp-0.2.1-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file gsa_perdiem_mcp-0.2.1.tar.gz.

File metadata

  • Download URL: gsa_perdiem_mcp-0.2.1.tar.gz
  • Upload date:
  • Size: 78.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gsa_perdiem_mcp-0.2.1.tar.gz
Algorithm Hash digest
SHA256 3936228869cd49ad89182bdc71ad4fa3790ee812e476eaa6ad6963dfb4a4d6e9
MD5 5e7fabef0b1f823f84a65f914e42816b
BLAKE2b-256 a366232a535b3d8e29fdc8ab3fca85c6bb65b6382748d6448f0d2506d0d04c29

See more details on using hashes here.

Provenance

The following attestation bundles were made for gsa_perdiem_mcp-0.2.1.tar.gz:

Publisher: publish.yml on 1102tools/gsa-perdiem-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gsa_perdiem_mcp-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: gsa_perdiem_mcp-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for gsa_perdiem_mcp-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d28065f6516cc1dc7d657a4ba542b27c0b41573033701e093575d2374f75244d
MD5 640cd719b2a63f760d79829d3da4beb1
BLAKE2b-256 3694e231853744fb1318c6963629748fc8cc823059d630f5ec153b79c0ec4d09

See more details on using hashes here.

Provenance

The following attestation bundles were made for gsa_perdiem_mcp-0.2.1-py3-none-any.whl:

Publisher: publish.yml on 1102tools/gsa-perdiem-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page