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

Authentication (optional)

Works immediately with DEMO_KEY (~10 req/hr). For 1,000 req/hr, register free at api.data.gov/signup and set PERDIEM_API_KEY in your config.

Installation

uvx gsa-perdiem-mcp

Claude Desktop configuration

Without key (works immediately):

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

With key:

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

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.1.0.tar.gz (54.2 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.1.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gsa_perdiem_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 54.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for gsa_perdiem_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4f81a05fff7226f5b7cfd0875e2d873399dfb6c92635ef8198af227b5fbdb94f
MD5 3542229b45b24d6df2be5452415ec3a7
BLAKE2b-256 0d18307e535c300b008d43e82f8f1c99c750c791dbe39fc3070f5518d202d1eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gsa_perdiem_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for gsa_perdiem_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e7f9d984327d830ab895418f9f2fcbb80b1dc1f90ce282c7d44863ebfc476008
MD5 28a44e05b7d931d41779e451cc98b896
BLAKE2b-256 0421e23e09cfad989e90cd742339ef4269654ada714f9656ff63d7236f30231d

See more details on using hashes here.

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