Skip to main content
Glama
radoone

Nameday MCP Server

by radoone
README.md
# šŸŽ‰ Nameday MCP Server

> A powerful Model Context Protocol (MCP) server providing comprehensive nameday information for 11+ countries. Perfect for AI assistants, chatbots, and applications needing cultural calendar data.

## 🌐 Try Online Version

**šŸ‘‰ [https://nameday-mcp.vercel.app/](https://nameday-mcp.vercel.app/)**

No installation required! The online version is ready to use immediately.

---

## ✨ Features

- **šŸŒ Multi-country support** - 11+ countries with comprehensive nameday calendars
- **šŸ” Smart name search** - Find when any name celebrates with flexible matching
- **šŸ“… Date lookup** - Discover all names celebrating on specific dates
- **⚔ Real-time queries** - Get today's nameday celebrations instantly
- **šŸŽÆ Accurate data** - Traditional and culturally authentic nameday information
- **šŸš€ Multiple access methods** - Online hosted version + local installation options
- **šŸ“Š Resources support** - Access locale information and statistics via MCP resources
- **šŸŽ›ļø Prompts support** - Pre-built prompts for common nameday queries
- **šŸ“ Logging support** - Comprehensive logging for debugging and monitoring

## šŸŒ Supported Countries

| Country | Code | Calendar Coverage |
|---------|------|-------------------|
| šŸ‡øšŸ‡° Slovakia | `sk` | Complete yearly calendar |
| šŸ‡ØšŸ‡æ Czech Republic | `cz` | Complete yearly calendar |
| šŸ‡µšŸ‡± Poland | `pl` | Complete yearly calendar |
| šŸ‡­šŸ‡ŗ Hungary | `hu` | Complete yearly calendar |
| šŸ‡¦šŸ‡¹ Austria | `at` | Complete yearly calendar |
| šŸ‡­šŸ‡· Croatia | `hr` | Complete yearly calendar |
| šŸ‡®šŸ‡¹ Italy | `it` | Complete yearly calendar |
| šŸ‡«šŸ‡· France | `fr` | Complete yearly calendar |
| šŸ‡¬šŸ‡· Greece | `gr` | Complete yearly calendar |
| šŸ‡·šŸ‡ŗ Russia | `ru` | **Extended Orthodox calendar** |
| šŸ‡§šŸ‡¬ Bulgaria | `bg` | **Extended Orthodox calendar** |

> **Note:** Russian and Bulgarian calendars include comprehensive Orthodox feast days and traditional names.

## šŸ”§ Available Tools

### 1. **find_name_day**
Find when a specific name celebrates its nameday.

```json
{
  "tool": "find_name_day",
  "args": {
    "name": "Radovan",
    "locale": "sk"
  }
}
```

### 2. **find_names_by_date**
Discover which names celebrate on a specific date.

```json
{
  "tool": "find_names_by_date",
  "args": {
    "month": 6,
    "day": 29,
    "locale": "sk"
  }
}
```

### 3. **get_today_name_days**
Get today's nameday celebrations.

```json
{
  "tool": "get_today_name_days",
  "args": {
    "locale": "sk",
    "random_string": "dummy"
  }
}
```

## šŸ“Š Available Resources

The server provides contextual information through MCP resources:

- **nameday://supported-locales** - List of all supported country locales
- **nameday://locale-info/sk** - Information about Slovakia nameday calendar  
- **nameday://locale-info/cz** - Information about Czech Republic nameday calendar
- **nameday://statistics** - Server statistics and available features

## šŸŽ›ļø Available Prompts

Pre-built prompts for common nameday queries:

- **find-nameday** - Find when a specific name has its nameday
- **names-on-date** - Find which names celebrate on a specific date
- **today-namedays** - Get today's nameday celebrations

### Example Prompt Usage

```json
{
  "prompt": "find-nameday",
  "arguments": {
    "name": "Radovan",
    "locale": "sk"
  }
}
```

## šŸš€ Quick Start

### Option 1: Use Online Version (Recommended)

Simply add this to your **Claude Desktop** configuration:

```json
{
  "mcpServers": {
    "nameday-mcp-server": {
      "command": "npx",
      "args": [
        "mcp-remote",
        "https://nameday-mcp.vercel.app/sse"
      ]
    }
  }
}
```

### Option 2: Local Installation

1. **Install dependencies:**
   ```bash
   npm install
   ```

2. **Build the project:**
   ```bash
   npm run build
   ```

3. **Add to Claude Desktop:**
   ```json
   {
     "mcpServers": {
       "nameday-mcp-server": {
         "command": "node",
         "args": ["./dist/index.js"],
         "cwd": "/path/to/nameday-mcp"
       }
     }
   }
   ```

## šŸ“š API Usage

### Direct API Testing

Test the online version directly:

```bash
curl -X POST https://nameday-mcp.vercel.app/api/tools \
  -H "Content-Type: application/json" \
  -d '{
    "tool": "find_name_day",
    "args": {
      "name": "Radovan",
      "locale": "sk"
    }
  }'
```

### Available Endpoints

- **GET** `/` - Interactive documentation
- **GET** `/health` - Server health check
- **GET** `/api/tools` - List available tools
- **POST** `/api/tools` - Execute tools
- **GET** `/sse` - MCP Server-Sent Events endpoint

## šŸ’” Example Queries

Ask your AI assistant:

- *"When is Radovan's nameday in Slovakia?"*
- *"Who celebrates nameday on June 29th in Czech Republic?"*
- *"What names have nameday today in Poland?"*
- *"Find all Hungarian names celebrating in July"*

## šŸ› ļø Development

### Local Development

**STDIO Mode (for Claude Desktop):**
```bash
npm run dev
```

**HTTP Mode (for testing):**
```bash
npm run dev:sse
```

### Project Structure

```
src/
ā”œā”€ā”€ index.ts          # Main server and HTTP endpoints
ā”œā”€ā”€ server.ts         # MCP server logic and tools
ā”œā”€ā”€ locale-nameday.ts # Nameday lookup functions
└── data/             # Nameday calendars for each country
    ā”œā”€ā”€ sk.json       # Slovakia
    ā”œā”€ā”€ cz.json       # Czech Republic
    └── ...           # Other countries
```

## šŸŽÆ Use Cases

- **AI Assistants** - Add cultural calendar knowledge
- **Chatbots** - Provide nameday information in conversations
- **Applications** - Integrate nameday features
- **Personal Assistants** - Remind about friends' namedays

## šŸ“– More Information

- **Documentation:** Visit [https://nameday-mcp.vercel.app/](https://nameday-mcp.vercel.app/)
- **Source Code:** [GitHub Repository](https://github.com/radoone/nameday-mcp)
- **Issues:** Report bugs or request features on GitHub

## šŸ“ License

MIT License - see [LICENSE](LICENSE) file for details.

---

**🌟 Ready to get started?** Try the [online version](https://nameday-mcp.vercel.app/) or configure it with your mcp host today! 

Maintenance

ActivityInactive
ResponsivenessNo issues