is_today_holiday
Pack: holidays · Endpoint: https://gateway.pipeworx.io/holidays/mcp
Check if today is a public holiday in a given country. Returns whether it’s a holiday and the holiday name if applicable. Provide country code (e.g., “US”, “GB”).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
country_code | string | yes | ISO 3166-1 alpha-2 country code (e.g., US, GB, DE, FR) |
Example call
Arguments
{
"country_code": "US"
}
curl
curl -X POST https://gateway.pipeworx.io/holidays/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"is_today_holiday","arguments":{"country_code":"US"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('is_today_holiday', {
"country_code": "US"
});
More examples
{
"country_code": "GB"
}
Response shape
Always returns: country_code, is_holiday
| Field | Type | Description |
|---|---|---|
country_code | string | ISO 3166-1 alpha-2 country code in uppercase |
is_holiday | boolean | Whether today is a public holiday in the country |
Full JSON Schema
{
"type": "object",
"properties": {
"country_code": {
"type": "string",
"description": "ISO 3166-1 alpha-2 country code in uppercase"
},
"is_holiday": {
"type": "boolean",
"description": "Whether today is a public holiday in the country"
}
},
"required": [
"country_code",
"is_holiday"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"holidays": {
"url": "https://gateway.pipeworx.io/holidays/mcp"
}
}
}
See Getting Started for client-specific install steps.