TradingCalendars for LangChain
com.tradingcalendars/holidays
Business days, T+N settlement dates and holidays for FX, banks, payments and exchanges.
client:LangChain
transport:streamable-http
tools:17
Install TradingCalendars in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"holidays": {
"transport": "streamable_http",
"url": "https://api.tradingcalendars.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
- list_calendars
- get_holidays
- fx_market_holidays
- currency_non_clearing_days
- bank_holidays
- payment_system_holidays
- trading_holidays
- settlement_holidays
- list_currencies
- list_exchanges
- list_financial_centres
- list_payment_systems
- get_weekends
- market_status
- is_business_day
- add_business_days
- business_days_between