Allowances API for LangChain
com.allowancesapi/per-diem-allowances
U.S. government per diem and overseas allowance rates from GSA, DTMO OCONUS and State DSSR tables.
client:LangChain
transport:streamable-http
tools:43
Install Allowances API in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"per-diem-allowances": {
"transport": "streamable_http",
"url": "https://mcp.allowancesapi.com/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- get_allowances
- get_allowances_by_location
- get_allowances_by_postcode
- search_perdiem
- get_perdiem_allowance
- get_perdiem_allowance_by_location
- get_perdiem_allowance_by_postcode
- get_dssr_locations
- get_countries
- get_country
- get_dssr_locations_by_country
- cola_calculator_by_postcode
- get_gsa_perdiem_by_destination
- get_gsa_perdiem_by_state
- get_gsa_perdiem_by_state_year
- get_gsa_perdiem_by_zipcode
- get_gsa_perdiem_by_zipcode_year
- get_zipcode
- get_destination_by_id
- get_destinations
- get_city_pair_locations
- get_city_pairs
- get_mileage
- get_mie_breakdowns