holidays-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@holidays-mcp show me upcoming holidays in Tamil Nadu"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Available Tools
3 toolsholiday_listA
List Indian public holidays for a given year and state (or "central" for national holidays). Returns date, day-of-week, name, occasion and type (Central/Federal/State/Gazetted/Optional). Use when a user asks "what holidays are there in 2025 for Maharashtra?" or "central holidays 2024".
Inputs: year (required), state (required).
holiday_searchA
Search Indian holidays by keyword (e.g. "Diwali", "Republic Day", "Eid") or by month (1-12). Returns matching holidays with date, day-of-week, name, occasion and type. Use when a user asks "when is Diwali in India?" or "holidays in August".
Inputs: query (required), state.
next_holidayA
Return the upcoming N holidays (from today) for a given state. Defaults to the next 5. Use when a user asks "what are the next holidays in Tamil Nadu?" or "upcoming central holidays".
Inputs: state (required), count.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a clearly distinct retrieval pattern: holiday_list enumerates by year+state, holiday_search filters by keyword or month, and next_holiday returns the upcoming N from today. Descriptions include concrete example queries that map cleanly to one tool each, leaving little room for misselection despite a shared 'holiday' domain.
All names are snake_case and readable, with two tools sharing the 'holiday_' prefix (holiday_list, holiday_search) and one using an adjective-first form (next_holiday). The verb_noun ordering varies (noun_verb here), but the set is predictable enough that the deviation is minor.
Three tools is a sensible, lean surface for a narrowly scoped Indian-holiday lookup server, with each tool covering a distinct access mode. It sits at the low end and could arguably use one more operation, but nothing feels redundant.
Listing, keyword/month search, and upcoming-holiday retrieval cover the core workflows a holiday agent needs. Minor gaps exist, such as checking whether a specific date is a holiday or listing available states, but agents can work around these with search.
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.
Public holidays for 250 countries, regions and stock markets; business days and SLA due times.
Free, keyless public holidays lookup for any country and year, plus single-date holiday checks.
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.7 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