holidays-mcp
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.
holidays-mcp
A Model Context Protocol (MCP) server for Indian public holidays by state/year. It lets Claude Code, Claude Desktop, Cline, and any other MCP client list central and state holidays, search them by keyword or month, and get the upcoming holidays for a state from today.
Indian public holidays fall into two buckets: the three national holidays — Republic Day, Independence Day, and Gandhi Jayanti — plus a large set of state holidays (gazetted public holidays and optional ones) that vary by state. This server ships a small, self-contained static dataset covering the national holidays for 2024/2025 plus a representative set of state holidays for Maharashtra, Karnataka and Tamil Nadu (including regional festivals such as Ganeshotsav, Pongal and Ugadi).
What it does
Three tools:
holiday_list— lists holidays for a given year and state (orcentralfor national holidays). Returns date, day-of-week, name, occasion and type (Central/Federal/State/Gazetted/Optional).holiday_search— searches holidays by keyword (e.g.Diwali,Republic Day,Eid) or by month (1–12).next_holiday— returns the upcomingNholidays (from today) for a state (defaults to 5).
Related MCP server: mcp-nager-holidays
Quick start
Requires Node.js 18+. No API key is needed — the data is bundled with the package.
# from the monorepo root
npm install # installs @modelcontextprotocol/sdk
npm run test --workspace holidays-mcp # run the testsRun the server directly (stdio transport):
node server.jsMCP client configuration
Add it to your MCP client's configuration as a stdio server:
{
"mcpServers": {
"holidays": {
"command": "node",
"args": ["/absolute/path/to/india-mcp/holidays-mcp/server.js"]
}
}
}Or, from inside the package folder:
{
"mcpServers": {
"holidays": {
"command": "node",
"args": ["server.js"]
}
}
}Tool examples
holiday_list — arguments:
argument | type | required | description |
| string | yes | 4-digit year, e.g. |
| string | yes | State name or |
Example call:
{ "name": "holiday_list", "arguments": { "year": "2025", "state": "Maharashtra" } }Example response (trimmed):
{
"ok": true,
"data": [
{
"date": "2025-01-26",
"dayOfWeek": "Sunday",
"name": "Republic Day",
"occasion": "National",
"type": "Central"
},
{
"date": "2025-05-01",
"dayOfWeek": "Thursday",
"name": "Maharashtra Day",
"occasion": "State Formation",
"type": "Gazetted"
}
]
}holiday_search — arguments:
argument | type | required | description |
| string | yes | Keyword (name/occasion) or a month number 1–12 |
| string | no | Optional state filter |
Example call — find Diwali in 2025:
{ "name": "holiday_search", "arguments": { "query": "Diwali", "state": "central" } }Example call — all central holidays in August:
{ "name": "holiday_search", "arguments": { "query": "8", "state": "central" } }next_holiday — arguments:
argument | type | required | description |
| string | yes | State name or |
| number | no | How many upcoming holidays to return (default 5) |
Example call:
{ "name": "next_holiday", "arguments": { "state": "Tamil Nadu", "count": 5 } }Data source
The data is a self-contained static dataset bundled in lib/holiday.js. It is not fetched from a network API — there is no API key and no runtime dependency on any external service. The dataset includes:
Central (national) holidays for 2024 and 2025: Republic Day, Holi, Id-ul-Fitr, Maharashtra Day, Independence Day, Gandhi Jayanti, Diwali, Christmas, Mahashivratri, Janmashtami, Children's Day.
State holidays for
Maharashtra(Ganeshotsav, Maharashtra Day, Dr. Ambedkar Jayanti),Karnataka(Ugadi, Karnataka Rajyotsava, Mysuru Dasara) andTamil Nadu(Pongal, Tamil New Year).
This is realistic sample data for local development and testing. It is not a complete or authoritative holiday calendar — for production use, pair it against an official source such as the Central Government Gazette or data.gov.in.
Scripts
script | description |
| run the server ( |
| run the server ( |
| run the tests ( |
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Holidays MCP — wraps Nager.Date API (free, no auth)
Public holiday data for 30+ countries. Check holidays, working days and calendars via AI assistants.
Free, keyless public holidays lookup for any country and year, plus single-date holiday checks.
Computed Hindu festival dates: Diwali, Holi, Navratri, more.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that provides access to the Nager.Date API for retrieving public holiday information across various countries. It enables AI agents to interact with holiday data and date-related endpoints through standardized Model Context Protocol tools.-
- AlicenseNot gradedqualityFmaintenanceMCP 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.3 npmMIT
- AlicenseNot gradedqualityDmaintenanceReal public/bank/school holiday lookup for 206 countries via a rule-based calendar engine (moveable holidays like Easter computed astronomically, not guessed). Priced per call via x402/USDC on Base.MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying public holiday data by country and year, checking if today is a holiday, and listing upcoming holidays through the MCP protocol.66 npmMIT