GSA Per Diem
v0.2.6GSA Per Diem federal travel lodging and M&IE rates.
Starts only with mcp<2 (written for an older SDK); the install commands pin it.
Values you need
| Variable | What it is | |
|---|---|---|
PERDIEM_API_KEY | required secret | Free api.data.gov key from https://api.data.gov/signup/ for 1,000 req/hr. |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add gsa-perdiem-mcp -e 'PERDIEM_API_KEY=<PERDIEM_API_KEY>' -- uvx --with 'mcp<2' gsa-perdiem-mcp==0.2.6Add to
claude_desktop_config.json{
"mcpServers": {
"gsa-perdiem-mcp": {
"args": [
"--with",
"mcp<2",
"gsa-perdiem-mcp==0.2.6"
],
"command": "uvx",
"env": {
"PERDIEM_API_KEY": "<PERDIEM_API_KEY>"
}
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"gsa-perdiem-mcp": {
"args": [
"--with",
"mcp<2",
"gsa-perdiem-mcp==0.2.6"
],
"command": "uvx",
"env": {
"PERDIEM_API_KEY": "<PERDIEM_API_KEY>"
}
}
}
}Add to
.vscode/mcp.json{
"inputs": [
{
"description": "PERDIEM_API_KEY",
"id": "perdiem-api-key",
"password": true,
"type": "promptString"
}
],
"servers": {
"gsa-perdiem-mcp": {
"args": [
"--with",
"mcp<2",
"gsa-perdiem-mcp==0.2.6"
],
"command": "uvx",
"env": {
"PERDIEM_API_KEY": "${input:perdiem-api-key}"
},
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.gsa-perdiem-mcp]
command = "uvx"
args = ["--with", "mcp<2", "gsa-perdiem-mcp==0.2.6"]
env = { "PERDIEM_API_KEY" = "<PERDIEM_API_KEY>" }For AI agents
- Ask the user for: PERDIEM_API_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: lookup_city_perdiem, lookup_zip_perdiem, lookup_state_rates, get_mie_breakdown, estimate_travel_cost, compare_locations.
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json