# Inday - Public Holiday API

Public holiday data for 30+ countries. Check holidays, working days, and full calendars via AI assistants like Claude, Cursor, and VS Code. Powered by [Inday](https://inday.co).

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add gokhanibrikci/inday-api

# Browse available tools
npx -y @smithery/cli@latest tool list gokhanibrikci/inday-api

# Get full schema for a tool
npx -y @smithery/cli@latest tool get gokhanibrikci/inday-api get_calendar

# Call a tool
npx -y @smithery/cli@latest tool call gokhanibrikci/inday-api get_calendar '{}'
```

## Direct MCP Connection

Endpoint: `https://inday-api--gokhanibrikci.run.tools`

**Required config:**
- `X-API-KEY` (header) — Your Inday API key — get one free at https://inday.co/signup

## Tools (5)

- `get_calendar` — Get the full list of public holidays for a country in a given year. Also returns total working days and weekends.
- `check_holiday` — Check if a specific date is a public holiday or working day in a country. Returns holiday name and type if it's a holid…
- `count_working_days` — Count the number of working days between two dates in a country, excluding weekends and public holidays. Useful for pro…
- `list_countries` — List all countries supported by Inday. Returns country codes and names.
- `next_holiday` — Find the next upcoming public holiday in a country from today (or a given start date).

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get gokhanibrikci/inday-api <tool-name>
```
