mcp-astronomical-time-server

hasecon/mcp-astronomical-time-server

3.2

If you are the rightful owner of mcp-astronomical-time-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The MCP Astronomical Time Server is a powerful Model Context Protocol server offering advanced time, astronomy, holidays, and productivity functionalities, ideal for international teams, photographers, travel planners, and productivity enthusiasts.

Tools
  1. get_current_time

    Fetches the current time in various formats.

  2. get_sun_info

    Provides sunrise, sunset, and solar position data.

  3. get_dutch_holidays

    Lists Dutch holidays.

  4. get_circadian_schedule

    Generates a bioclock-based day plan.

  5. get_server_stats

    Displays server statistics and status.

๐ŸŒŸ MCP Astronomical Time Server

License: MIT Node.js Version

Een krachtige Model Context Protocol (MCP) server die geavanceerde tijd, astronomie, feestdagen en productiviteits-functionaliteiten biedt. Perfect voor internationale teams, fotografen, reisplanners en productiviteits-enthusiasten!

โœจ Features

โฐ Tijd & Timezone Management

  • ๐ŸŒ Wereldklok voor meerdere tijdzones
  • ๐Ÿ”„ Timezone conversies
  • โฑ๏ธ Countdown timers en event planning
  • ๐Ÿ“… Nauwkeurige tijd berekeningen tussen datums

โ˜€๏ธ Astronomische Berekeningen

  • ๐ŸŒ… Zonsopgang en zonsondergang tijden
  • ๐ŸŒž Zonnestand tracking (azimuth & hoogte)
  • ๐Ÿ“ธ Golden Hour en Blue Hour voor fotografie
  • ๐ŸŒ™ Maanfase berekeningen met Nederlandse namen
  • ๐ŸŒ Locatie-gebaseerde berekeningen wereldwijd

๐ŸŽ‰ Feestdagen & Planning

  • ๐Ÿ‡ณ๐Ÿ‡ฑ Complete Nederlandse feestdagen (offline)
  • ๐ŸŒ Internationale feestdagen voor 100+ landen
  • ๐Ÿ’ผ Werkdagen calculator (exclusief weekends & feestdagen)
  • ๐Ÿ” Feestdagen vergelijking tussen landen

๐Ÿงฌ Productiviteit & Welzijn

  • ๐Ÿง  Circadiaans ritme optimalisatie
  • โœˆ๏ธ Jet lag calculator met herstel tips
  • ๐Ÿ… Pomodoro technique scheduler
  • ๐ŸŒ International meeting time finder
  • โšก Bioklok-gebaseerde dagplanning

๐Ÿ›ก๏ธ Enterprise Ready

  • ๐Ÿšซ DDoS bescherming en rate limiting
  • ๐Ÿ“Š Real-time server statistieken
  • ๐Ÿ”’ Security best practices
  • ๐Ÿณ Docker container support
  • ๐Ÿ“ˆ Usage analytics en monitoring

๐Ÿš€ Quick Start

Via Docker (Aanbevolen)

# Pull en run de container
docker run -it ghcr.io/hasecon/mcp-astronomical-time-server:latest

# Of met Docker Compose
curl -O https://raw.githubusercontent.com/hasecon/mcp-astronomical-time-server/main/docker-compose.yml
docker-compose up -d

Handmatige Installatie

# Clone de repository
git clone https://github.com/hasecon/mcp-astronomical-time-server.git
cd mcp-astronomical-time-server

# Installeer dependencies
npm install

# Bouw het project
npm run build

# Start de server
npm start

Claude Desktop Integratie

Voeg dit toe aan je Claude Desktop configuratie:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "astronomical-time": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/hasecon/mcp-astronomical-time-server:latest"
      ]
    }
  }
}

Of gecombineerd met andere MCP servers zoals GitHub:

{
  "mcpServers": {
    "github": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "GITHUB_PERSONAL_ACCESS_TOKEN",
        "ghcr.io/github/github-mcp-server"
      ]
    },
    "astronomical-time": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/hasecon/mcp-astronomical-time-server:latest"
      ]
    }
  }
}

๐Ÿ“– Usage Examples

Basis Tijd Functies

"Wat is de huidige tijd in Tokyo?"
โ†’ get_current_time met timezone: "Asia/Tokyo"

"Hoeveel tijd tot Nieuwjaar?"
โ†’ countdown_to_event met target: "2026-01-01T00:00:00Z"

Astronomische Planning

"Wanneer is golden hour vandaag in Amsterdam?"
โ†’ get_golden_hour met coords: 52.3676ยฐN, 4.9041ยฐE

"Complete astronomische info voor New York"
โ†’ get_astronomical_info met NYC coordinates

Internationale Teams

"Beste vergadertijd voor Amsterdam, San Francisco en Tokyo?"
โ†’ find_meeting_time met deze 3 tijdzones

"Vergelijk feestdagen Nederland, Duitsland en Frankrijk"
โ†’ compare_holidays tussen deze landen

Productiviteit

"Optimaal dagschema gebaseerd op zonsopgang Rotterdam?"
โ†’ get_circadian_schedule met Rotterdam coords

"Pomodoro schema vanaf 14:00"
โ†’ create_pomodoro_schedule met start tijd

๐Ÿ› ๏ธ API Reference

๐Ÿ“‹ Alle Beschikbare Tools (klik om uit te klappen)

โฐ Tijd Functies

  • get_current_time - Huidige tijd in verschillende formaten
  • convert_timezone - Tijdzone conversies
  • time_until - Tijd tot specifieke datum
  • world_clock - Wereldklok meerdere steden
  • calculate_days_between - Dagen tussen datums
  • countdown_to_event - Real-time countdown

โ˜€๏ธ๐ŸŒ™ Astronomie

  • get_sun_info - Zonsopgang/ondergang/positie
  • get_moon_info - Maanfase en verlichting
  • get_astronomical_info - Complete astronomische data
  • get_golden_hour - Fotografie tijden

๐ŸŽ‰ Feestdagen

  • get_dutch_holidays - Nederlandse feestdagen
  • get_international_holidays - Wereldwijde feestdagen
  • get_available_countries - Beschikbare landen
  • compare_holidays - Vergelijk tussen landen
  • calculate_workdays - Werkdagen calculator

๐Ÿงฌ Productiviteit

  • get_circadian_schedule - Bioklok planning
  • calculate_jetlag - Jet lag recovery
  • create_pomodoro_schedule - Pomodoro planning
  • find_meeting_time - Meeting coordinator

๐Ÿ“Š Server Management

  • get_server_stats - Server statistieken en status

๐ŸŒ Ondersteunde Landen

De server ondersteunt 100+ landen voor feestdagen via de gratis Nager.Date API:

๐Ÿ‡ณ๐Ÿ‡ฑ Nederland โ€ข ๐Ÿ‡ฉ๐Ÿ‡ช Duitsland โ€ข ๐Ÿ‡ซ๐Ÿ‡ท Frankrijk โ€ข ๐Ÿ‡ฌ๐Ÿ‡ง VK โ€ข ๐Ÿ‡บ๐Ÿ‡ธ VS โ€ข ๐Ÿ‡ฎ๐Ÿ‡น Italiรซ โ€ข ๐Ÿ‡ช๐Ÿ‡ธ Spanje โ€ข ๐Ÿ‡ง๐Ÿ‡ช Belgiรซ โ€ข ๐Ÿ‡จ๐Ÿ‡ญ Zwitserland โ€ข ๐Ÿ‡ฆ๐Ÿ‡น Oostenrijk โ€ข ๐Ÿ‡ฉ๐Ÿ‡ฐ Denemarken โ€ข ๐Ÿ‡ธ๐Ÿ‡ช Zweden โ€ข ๐Ÿ‡ณ๐Ÿ‡ด Noorwegen โ€ข ๐Ÿ‡ซ๐Ÿ‡ฎ Finland โ€ข ๐Ÿ‡ต๐Ÿ‡ฑ Polen โ€ข ๐Ÿ‡จ๐Ÿ‡ฆ Canada โ€ข ๐Ÿ‡ฆ๐Ÿ‡บ Australiรซ โ€ข ๐Ÿ‡ณ๐Ÿ‡ฟ Nieuw-Zeeland โ€ข ๐Ÿ‡ฏ๐Ÿ‡ต Japan โ€ข ๐Ÿ‡ฐ๐Ÿ‡ท Zuid-Korea โ€ข ๐Ÿ‡จ๐Ÿ‡ณ China โ€ข ๐Ÿ‡ฎ๐Ÿ‡ณ India โ€ข ๐Ÿ‡ง๐Ÿ‡ท Braziliรซ โ€ข ๐Ÿ‡ท๐Ÿ‡บ Rusland

๐Ÿณ Docker Deployment

Development

# Bouw lokaal
docker build -t mcp-time-server .
docker run -it mcp-time-server

Production met Docker Compose

# Download productie configuratie
curl -O https://raw.githubusercontent.com/hasecon/mcp-astronomical-time-server/main/docker-compose.yml

# Start services
docker-compose up -d

# Bekijk logs
docker-compose logs -f mcp-time-server

# Stop services
docker-compose down

๐Ÿ›ก๏ธ Security & Rate Limiting

De server bevat ingebouwde bescherming tegen misbruik:

  • Rate Limiting: 100 requests per 15 minuten, 20 per minuut
  • DDoS Protection: Automatische IP tracking en blocking
  • Resource Limits: Memory en CPU beperking
  • Security Headers: Veilige HTTP headers
  • Container Security: Non-root user, read-only filesystem

๐Ÿ“Š Monitoring & Analytics

Server Statistieken

"Hoe draait de server?"
โ†’ get_server_stats

Toont:
๐Ÿ“Š Request counts en error rates
โฐ Server uptime
๐ŸŽฏ Populairste tools  
๐Ÿ›ก๏ธ Rate limiting status
๐ŸŒŸ Active features

๐Ÿค Contributing

We verwelkomen bijdragen! Zie onze voor details.

Development Setup

# Clone en setup
git clone https://github.com/hasecon/mcp-astronomical-time-server.git
cd mcp-astronomical-time-server
npm install

# Development mode met hot reload
npm run dev

# Run tests
npm test

# Linting en formatting
npm run lint
npm run format

๐Ÿ“œ License

Dit project is gelicenseerd onder de .

๐Ÿ™ Acknowledgments

๐Ÿ“ž Support


โญ Vind je dit project nuttig? Geef het een ster op GitHub! โญ

๐ŸŒŸ Star on GitHub โ€ข ๐Ÿณ Docker Hub โ€ข ๐Ÿ“ฆ NPM Package