$0.001 per call20 free calls/day via MCP
Use when an agent schedules meetings, deliveries, payroll or campaigns around public holidays and business days. Lists a country's public holidays (year or next upcoming, regional too), checks if a date is a business day, adds N business days to a date, counts business days between two dates, and lists long weekends. 100+ countries. Under 1 s.
Add the remote MCP server https://www.aypiai.online/mcp (Streamable HTTP, no auth) to Claude, Cursor, ChatGPT or any MCP client, then call the tool holidays:
{
"name": "holidays",
"arguments": {
"country": "IE",
"mode": "add",
"date": "2026-12-22",
"days": 5
}
}
curl -X POST https://www.aypiai.online/api/holidays \
-H "Content-Type: application/json" \
-H "X-Access-Key: YOUR_CREDIT_KEY" \
-d '{"country":"IE","mode":"add","date":"2026-12-22","days":5}'
No key? Without one the endpoint answers 402 Payment Required with an x402 PAYMENT-REQUIRED header: any x402 client (USDC on Base, gasless) pays $0.001 and retries automatically. Works with any x402 wallet: Base MCP, Coinbase AgentKit, x402-fetch / x402-axios, Cloudflare Agents. Or buy card credits at /credits (from $5, valid on all tools). Failed calls are never charged.
{
"type": "object",
"properties": {
"country": {
"type": "string",
"description": "ISO code, e.g. US, FR, IE"
},
"mode": {
"type": "string",
"description": "list (default), next, check, add, count, long-weekends"
},
"year": {
"type": "number"
},
"date": {
"type": "string",
"description": "YYYY-MM-DD (check/add)"
},
"days": {
"type": "number",
"description": "Business days to add (add, can be negative)"
},
"from": {
"type": "string"
},
"to": {
"type": "string"
},
"region": {
"type": "string",
"description": "Optional subdivision, e.g. DE-BY, US-CA"
}
},
"required": [
"country"
]
}
{
"country": "IE",
"mode": "add",
"date": "2026-12-22",
"days": 5,
"result": "2027-01-04",
"skippedHolidays": [
"2026-12-25 Christmas Day",
"2026-12-26 St. Stephen's Day"
]
}
Rever: website intelligence for AI agents. MCP server: https://www.aypiai.online/mcp · x402 catalog: /.well-known/x402