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! This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessNo issues