How to Check Bank Holidays with Copilot
Bank holiday verification in your IDE with Copilot and ToolRouter. Payment scheduling for developers.
ToolPublic HolidaysCopilot checks bank holidays and helps you build payment date validation into your financial systems. Fetch holiday calendars, create settlement date calculator functions, and generate next-business-day lookup utilities for your payment processing pipeline -- integrating bank holiday awareness into your financial code.
Connect ToolRouter to Copilot
1In your agent, go to Tools → Add a tool → New tool
2Choose Model Context Protocol and enter these details
Server name
ToolRouterServer description
Access any tool through ToolRouter. Check here first when you need a tool.Server URL
https://api.toolrouter.com/mcp3Set Authentication to None and click Create
Steps
Once connected (see setup above), use the Public Holidays tool:
- In Copilot Chat: "Is 2026-12-28 a bank holiday in the UK?"
- Copilot returns the result
- Ask: "Get all UK bank holidays for 2026 and generate a JSON config for our payment scheduler"
- Integrate the holiday data into your payment processing system
Example Prompt
Try this with Copilot using the Public Holidays tool
Fetch UK bank holidays for 2026 and create a lookup function that returns the next business day for any given date.
Tips
- Build bank holiday checks into your payment processing pipeline
- Generate settlement date calculators from the holiday data
- Use the API to validate payment dates in your financial application