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 codelookup_state_rates- All NSA rates for a stateget_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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gsa_perdiem_mcp-0.1.1.tar.gz.
File metadata
- Download URL: gsa_perdiem_mcp-0.1.1.tar.gz
- Upload date:
- Size: 10.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e537225280ab1b2f76ff352b9b611b9db9afbbcdf93a7e64eae3ca3cf466477
|
|
| MD5 |
2772e713978d5250ec00515c15341cf0
|
|
| BLAKE2b-256 |
bbe2df3673b6d9bd6bd6bdabc71d99e47c6010e207223a87b41758c7d6cb632a
|
File details
Details for the file gsa_perdiem_mcp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: gsa_perdiem_mcp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.5 {"installer":{"name":"uv","version":"0.11.5","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91bd33ac273dfda4446cafa54054a8aaf413dbf24dd3cbe1eedf74b4fe8f4a8b
|
|
| MD5 |
2b8fdba6be321840fda9214563c04b31
|
|
| BLAKE2b-256 |
2a7f0fa4aef59320538976d5157673a651c3919e82e00158e35a8152aafe4622
|