Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Mcp Simple Timeserver

    Simple solution to give Claude ability to check current time via MCP

    24 stars
    Python
    Updated Sep 24, 2025
    claude
    claude-ai
    mcp
    model-context-protocol

    Table of Contents

    • Available Tools
    • Location Support via get_current_time
    • Calendar Support via get_current_time
    • Time Distance Calculation via calculate_time_distance
    • Holiday Information via get_holidays and is_holiday
    • Installation
    • Installing via Smithery
    • Manual Installation
    • Web Server Variant

    Table of Contents

    • Available Tools
    • Location Support via get_current_time
    • Calendar Support via get_current_time
    • Time Distance Calculation via calculate_time_distance
    • Holiday Information via get_holidays and is_holiday
    • Installation
    • Installing via Smithery
    • Manual Installation
    • Web Server Variant

    Documentation

    MseeP.ai Security Assessment Badge

    MCP Simple Timeserver

    Trust Score

    smithery badge

    *One of the strange design decisions Anthropic made was depriving Claude of timestamps for messages sent by the user in claude.ai or current time in general. Poor Claude can't tell what time it is! mcp-simple-timeserver is a simple MCP server that fixes that.*

    Available Tools

    This server provides the following tools:

    ToolDescription
    get_local_timeReturns the current local time, day of week, and timezone from the user's machine
    get_utcReturns accurate UTC time from an NTP time server
    get_current_timeReturns current time with optional location, timezone, and calendar conversions
    calculate_time_distanceCalculates duration between two dates/times (countdowns, elapsed time)
    get_holidaysReturns public holidays (and optionally school holidays) for a country
    is_holidayChecks if a specific date is a holiday in a given country or city

    All tools (except get_local_time) use accurate time from NTP servers. If NTP is unavailable, they gracefully fall back to local server time with a notice.

    Location Support via get_current_time

    The get_current_time tool supports location parameters to get local time anywhere in the world:

    ParameterDescriptionExample
    cityCity name (primary use case)"Warsaw", "Tokyo", "New York"
    countryCountry name or ISO code"Poland", "JP", "United States"
    timezoneIANA timezone or UTC offset"Europe/Warsaw", "+05:30"

    Priority: timezone > city > country. When location is provided, the response includes local time, timezone info, UTC offset, and DST status.

    If today is a public holiday at the specified location, it will be shown in the output.

    Calendar Support via get_current_time

    The get_current_time tool also accepts an optional calendar parameter with a comma-separated list of calendar formats:

    CalendarDescription
    unixUnix timestamp (seconds since 1970-01-01)
    isodateISO 8601 week date (e.g., 2026-W03-6)
    hijriIslamic/Hijri lunar calendar
    japaneseJapanese Era calendar (returns both English and Kanji)
    hebrewHebrew/Jewish calendar (returns both English and Hebrew, includes holidays)
    persianPersian/Jalali calendar (returns both English and Farsi)

    Example: get_current_time(city="Tokyo", calendar="japanese") returns Tokyo local time with Japanese Era calendar.

    Time Distance Calculation via calculate_time_distance

    Calculate duration between two dates or times:

    ParameterDescriptionExample
    from_dateStart date (ISO 8601 or "now")"2025-01-15", "now"
    to_dateEnd date (ISO 8601 or "now")"2025-12-31", "2025-06-01T17:00:00"
    unitOutput format"auto", "days", "weeks", "hours", "minutes", "seconds"
    business_daysCount only Mon-Fri (date-based, inclusive)true
    exclude_holidaysAlso exclude public holidays (requires country/city)true

    Location parameters (city, country, timezone) can also be used to specify timezone context.

    When business_days=true, time-of-day is ignored and dates are counted as full days (inclusive endpoints).

    The unit parameter is ignored in this mode. Holidays are excluded only when they fall on weekdays.

    Example: calculate_time_distance(from_date="now", to_date="2025-12-31") returns a countdown to New Year's Eve.

    Example: calculate_time_distance(from_date="2026-01-26", to_date="2026-01-30", business_days=true, exclude_holidays=true, city="Sydney") returns the number of business days in that range.

    Holiday Information via get_holidays and is_holiday

    Get public and school holiday information for ~119 countries:

    **get_holidays** parameters:

    ParameterDescriptionExample
    countryCountry name or ISO code (required)"Poland", "DE", "United States"
    yearYear to get holidays for (default: current year)2026
    include_school_holidaysInclude school vacation periodstrue

    **is_holiday** parameters:

    ParameterDescriptionExample
    countryCountry name or ISO code"Poland", "US"
    cityCity name for region-specific info"Warsaw", "Munich"
    dateDate to check in ISO format (default: today)"2026-01-01"

    Regional School Holidays: When using the city parameter with is_holiday, school holidays are filtered to show only those affecting the specific region. This is particularly useful in countries where school holidays vary by region (e.g., Polish voivodeships, German Bundesländer, Spanish autonomous communities).

    Example: is_holiday(city="Warsaw", date="2026-01-19") returns school holiday information specific to the Mazowieckie voivodeship.

    Data Sources:

    • Public holidays: Nager.Date API (119 countries)
    • School holidays: OpenHolidaysAPI (36 countries, mostly European)

    Installation

    Installing via Smithery

    To install Simple Timeserver for Claude Desktop automatically via Smithery:

    bash
    npx -y @smithery/cli install mcp-simple-timeserver --client claude

    Manual Installation

    First install the module using:

    bash
    pip install mcp-simple-timeserver

    Then configure in MCP client - the Claude desktop app.

    Under Mac OS this will look like this:

    json
    "mcpServers": {
      "simple-timeserver": {
        "command": "python",
        "args": ["-m", "mcp_simple_timeserver"]
      }
    }

    Under Windows you have to check the path to your Python executable using where python in the cmd (Windows command line).

    Typical configuration would look like this:

    json
    "mcpServers": {
      "simple-timeserver": {
        "command": "C:\\Users\\YOUR_USERNAME\\AppData\\Local\\Programs\\Python\\Python311\\python.exe",
        "args": ["-m", "mcp_simple_timeserver"]
      }
    }

    Web Server Variant

    This project also includes a network-hostable version that can be deployed as a standalone web server. For instructions on how to run and deploy it, please see the Web Server Deployment Guide.

    Or you can simply use my server by adding it under https://mcp.andybrandt.net/timeserver to Claude and other tools that support MCP.

    Similar MCP

    Based on tags & features

    • FA

      Fal Mcp Server

      Python·
      8
    • MC

      Mcp Aoai Web Browsing

      Python·
      30
    • AW

      Aws Mcp Server

      Python·
      165
    • BI

      Biomcp

      Python·
      327

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • FA

      Fal Mcp Server

      Python·
      8
    • MC

      Mcp Aoai Web Browsing

      Python·
      30
    • AW

      Aws Mcp Server

      Python·
      165
    • BI

      Biomcp

      Python·
      327

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k