Nager.Date MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Nager.Date
Public-holiday lookups via the nager-date CLI or MCP. Python 3.10+; no runtime
dependencies, API key or configuration file.
Install
Linux/POSIX shell:
git clone https://github.com/Dthen/nager-date-mcp.git
cd nager-date-mcp
python3 -m venv .venv
.venv/bin/python -m pip install --no-deps .
. .venv/bin/activate
nager-date countries --query unitedQueries need internet access. Installation may download build tools.
Without activation, use .venv/bin/nager-date.
Related MCP server: Nager MCP v102 MCP Server
Commands
Use two-letter country codes, such as GB. Run nager-date COMMAND --help
for filters and options.
CLI | MCP tool |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nager-date holidays GB --year 2026 --json
nager-date next-holidays US --county US-CA
nager-date holidays DE --type PublicHuman output is the default; warnings and errors go to stderr.
--jsonreturns{data, warnings, error}. Errors and warnings containcodeandmessage; branch on codes. On failure,datais null.Empty results, a negative holiday check and warnings are successful outcomes. A country with no API coverage returns
no_datainstead.worldwidemeans upcoming holidays, not just today's.--timeout SECONDSdefaults to 5 per request, not per command. Some commands make a follow-up request. No automatic retries.Common flags may precede or follow the command.
--ends option parsing.
Exit codes: 0 success/help/version; 1 operation/output failure; 2 invalid invocation; 130 Ctrl-C.
MCP setup
Use the installed environment's absolute Python path:
mcp_servers:
nager-date:
command: /absolute/path/to/nager-date-mcp/.venv/bin/python
args: ["-m", "nager_date_mcp.server"]
protocol: statelessRequires a client supporting stateless MCP 2026-07-28; the legacy
initialize handshake is unsupported. MCP result shapes differ from the CLI's
JSON envelope.
Development
See CONTRIBUTING.md for tests and wheel builds. Report bugs with the command, Python version, exit code and output.
API · Issues · 0BSD license
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Holidays MCP — wraps Nager.Date API (free, no auth)
Public holidays for 100+ countries — by year, or the next ones coming up. Via Nager.Date.
Public holidays for 150+ countries, business-day maths and timezone lookup
Free, keyless public holidays lookup for any country and year, plus single-date holiday checks.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides 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.-
- FlicenseNot gradedqualityDmaintenanceProvides access to the Nager.Date API through the Model Context Protocol, allowing AI agents to query worldwide public holiday information. It enables seamless integration of holiday data into LLM workflows using standardized tools.-
- FlicenseNot gradedqualityDmaintenanceProvides access to the Nager Public Holiday API, enabling AI agents to retrieve holiday data and interact with global date-related endpoints. It leverages the Model Context Protocol to provide standardized tools for holiday information and date calculations.-
- AlicenseAqualityCmaintenanceEnables Polish public holiday lookups and business-day arithmetic (e.g., adding business days, counting business days) using the Nager.Date API, defaulting to Poland but supporting 110+ countries.6MIT