Skip to main content
Glama

holidays-mcp

Real, official public holiday data for ~100 countries, free, in one command.

pip install holidays-mcp   # or: uvx holidays-mcp

Then ask your agent: "what are the public holidays in the US in 2026?" or "is December 25th 2026 a holiday in the US?"

No API key. No signup. Free.

Tools

Tool

What the model sees it for

get_public_holidays(country_code, year)

Full list of a country's public holidays for a given year. "What are the holidays in Germany in 2026?", planning around a holiday calendar.

is_public_holiday(country_code, date)

Whether one specific date is a public holiday, and its name if so. "Is Dec 25 2026 a holiday in the US?", "is the office closed on this date?"

Country codes are 2-letter ISO (US, GB, DE, FR, JP, ...) — Nager.Date covers roughly 100 countries with official holiday calendars, not every country worldwide. Dates are YYYY-MM-DD.

Related MCP server: inday-api

Example

> is_public_holiday("US", "2026-12-25")
{
  "date": "2026-12-25",
  "country_code": "US",
  "country_name": "United States",
  "is_holiday": true,
  "holiday": {
    "local_name": "Christmas Day",
    "name": "Christmas Day",
    "types": ["Public", "Bank"]
  },
  "attribution": "Public holiday data by Nager.Date (date.nager.at)"
}
> get_public_holidays("US", 2026)
{
  "country_code": "US",
  "country_name": "United States",
  "year": 2026,
  "count": 17,
  "holidays": [
    {"date": "2026-01-01", "local_name": "New Year's Day", "name": "New Year's Day", "types": ["Public", "Bank"]},
    {"date": "2026-01-19", "local_name": "Martin Luther King, Jr. Day", "name": "Martin Luther King, Jr. Day", "types": ["Public", "Bank"]},
    ...
  ],
  "attribution": "Public holiday data by Nager.Date (date.nager.at)"
}

How it's free

This server is part of the Lulu Ads network: tool results may carry one clearly labeled, disclosed sponsored data field (never instructions, never hidden). That sponsorship pays the hosting, so the lookup stays free. Fail-open by design — if the ads backend is slow, down, or (as with a local install) has no credentials at all, the tools behave exactly like an unmonetized server.

Run your own MCP? The same one-line integration is open to every publisher — getlulu.dev/publishers, 70% rev share.

Data

Public holiday data by Nager.Date, a free, keyless, community-maintained holiday calendar API. This project is not affiliated with Nager.Date.

Self-hosting over HTTP

pip install fastmcp lulu-ads httpx uvicorn
MCP_TRANSPORT=http HOLIDAYS_LOCAL_DEV=1 python server.py   # serves http://localhost:8080/holidays/mcp

Available Tools

2 tools
get_public_holidaysA
Read-only

Full list of official public holidays for a country in a given year. Use for "what are the holidays in Germany in 2026", planning around a country's holiday calendar, or any "list the holidays for X" question. country_code is a 2-letter ISO code (US, GB, DE, FR, JP, ...) -- roughly 100 countries are covered, not every country worldwide. Returns each holiday's date, local name, English name, and type (e.g. Public, Bank, Observance).

ParametersJSON Schema
NameRequiredDescriptionDefault
yearYes
country_codeYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true, so the read-only nature is known. The description adds useful behavioral context beyond that, including the return format (date, local name, English name, type) and the country coverage limitation. It does not mention error handling or constraints on the year parameter, but for a simple read tool this is reasonably transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is composed of three sentences: the first states the core purpose, the second gives usage examples, and the third provides parameter and return details. Each sentence adds value and the text is front-loaded with the main purpose. It is slightly longer than strictly necessary, but remains concise and well-structured.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read-only tool with two parameters and an existing output schema, the description provides complete context: purpose, usage examples, country_code format, coverage limitation, and return fields. It also implicitly differentiates from the sibling tool by focusing on listing, so the agent can select and invoke it correctly. No significant gaps remain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema provides no descriptions for the two parameters, and schema coverage is 0%. The description compensates by explaining `country_code` is a 2-letter ISO code with examples (US, GB, DE, FR, JP, ...) and that only about 100 countries are covered. The `year` parameter is left as a simple integer, but its meaning is self-evident from the tool purpose. This partial compensation is helpful, though not exhaustive.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states that the tool returns a full list of official public holidays for a country in a given year. The verb 'get' is implied by the name, but the description uses 'Full list' to specify the scope, distinguishing it from the sibling tool is_public_holiday which likely checks a single date. It also gives example queries, making the purpose unmistakable.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides specific example use cases like 'what are the holidays in Germany in 2026' and 'planning around a country's holiday calendar', which clearly indicate when to use the tool. It also states a limitation (roughly 100 countries are covered), which sets expectations. However, it does not explicitly mention when not to use it or name the alternative tool for single-day checks, so it lacks explicit exclusion criteria.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

is_public_holidayA
Read-only

Checks whether one specific date is a public holiday in a country, and names it if so. Use for "is Dec 25 2026 a holiday in the US", "is the office closed on this date", or any single-date holiday check -- prefer this over get_public_holidays when the question is about just one day. country_code is a 2-letter ISO code; date is YYYY-MM-DD. Returns whether it's a holiday and, if so, its name.

ParametersJSON Schema
NameRequiredDescriptionDefault
dateYes
country_codeYes

Output Schema

ParametersJSON Schema
NameRequiredDescription

No output parameters

TDQS

A5/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the readOnlyHint annotation, the description adds that the tool returns a boolean holiday status and the holiday's name if applicable. It also clarifies that it checks exactly one date, which is useful behavioral context. No contradiction with annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is concise yet information-dense, covering purpose, usage, parameter formats, and return behavior in just a few sentences. It is front-loaded with the core function and contains no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter, read-only tool with an output schema, the description covers all necessary aspects: what it does, when to use it, parameter semantics, and return behavior. It is fully complete without being verbose.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Despite 0% schema coverage, the description explicitly defines both parameters: country_code as a 2-letter ISO code and date as YYYY-MM-DD. This fully compensates for the lack of schema descriptions, providing precise format and meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Clearly states the tool checks whether one specific date is a public holiday in a country and names it if so. The verb 'checks' and specific resource (single date + country) make the purpose unambiguous. It also distinguishes from sibling get_public_holidays by noting the single-day focus.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly provides usage examples and says to prefer this over get_public_holidays for single-date checks. This gives clear when-to-use guidance and names the alternative, satisfying the highest bar for this dimension.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 2 tool updatesv0.1.0
    • First observedget_public_holidays
    • First observedis_public_holiday

TDQS

A4.6/5.0

Scored across 2 tools

Disambiguation5/5

The two tools have completely distinct purposes: one lists all holidays for a country and year, the other checks a single date. There is no overlap or ambiguity between them.

Naming Consistency5/5

Both names follow a consistent verb_noun pattern with lower_snake_case. 'get_public_holidays' and 'is_public_holiday' are clear and predictable, even though they use different verbs appropriate to their actions.

Tool Count3/5

With only two tools, the server feels thin, falling into the 'borderline' category. However, the count is reasonable for the narrow domain of public holiday lookups.

Completeness5/5

The domain is fully covered with the two core operations: listing all holidays and checking a specific date. As a read-only service, there are no obvious gaps or missing operations.

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides access to the Nager.Date Public Holiday API for querying global holiday information through the Model Context Protocol. It enables AI agents to interact with standardized tools for holiday-related date calculations and country-specific lookups.
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    Public holiday data for 30+ countries. Check holidays, working days, and full calendars via AI assistants like Claude and Cursor.
    MIT
  • A
    license
    Not graded
    quality
    F
    maintenance
    MCP server for accessing Nager.Date public holidays data. It provides tools to query and retrieve holiday information for various countries through natural language or direct tool calls.
    5 npm
    MIT