MCP Simple Timeserver logo

MCP Simple Timeserver

Community
andybrandt

Simple MCP to give Claude ability to check current time as well as know when holidays are, what is the time distance between dates etc.

Publisherandybrandt
Repositorymcp-simple-timeserver
LanguagePython
Forks
15
Stars
34
Available tools
0
Transport typestdio, streamable-http
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    MCP Simple Timeserver exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    34 stars and 15 forks from the linked repository.

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:

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.

Installation

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

Use MCP Simple Timeserver MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once MCP Simple Timeserver is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. You can run MCP locally on your device or connect to a remote MCP server URL.

Option 1: Use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add MCP Simple Timeserver as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the MCP Simple Timeserver MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "mcp-simple-timeserver": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the MCP Simple Timeserver MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the MCP Simple Timeserver MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use MCP Simple Timeserver to help me with this task?
MCP Simple Timeserver
Sure. I read it.
Here is what I found using MCP Simple Timeserver.

Option 2: Add an MCP server URL

Use this when MCP Simple Timeserver is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter the MCP server URL from the provider in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste the MCP server URL from the provider into the Server URL field.
  2. Enter a connection name for MCP Simple Timeserver.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the MCP Simple Timeserver connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the MCP Simple Timeserver tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the MCP Simple Timeserver tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use MCP Simple Timeserver to help me with this task?
MCP Simple Timeserver
Sure. I read it.
Here is what I found using MCP Simple Timeserver.

Frequently asked questions

What is the MCP Simple Timeserver MCP server used for?

MCP Simple Timeserver is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use MCP Simple Timeserver MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use MCP Simple Timeserver with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use MCP Simple Timeserver MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With MCP Simple Timeserver connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect MCP Simple Timeserver MCP to TypingMind?

MCP Simple Timeserver can be connected in TypingMind with the local MCP connector or by adding a remote MCP server URL. Use the local connector when the server needs access to files, apps, or private resources on your device, and use a server URL when the MCP server is hosted remotely.

What tools does MCP Simple Timeserver MCP provide in TypingMind?

MCP Simple Timeserver exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use MCP Simple Timeserver MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If MCP Simple Timeserver requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇