MCP Datetime MCP Server

A datetime formatting service implemented as an MCP server for the Claude Desktop Application. Supports generation of datetime strings in various

Local serverstdioPython

What is the MCP Datetime MCP server?

MCP Datetime MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. A datetime formatting service implemented as an MCP server for the Claude Desktop Application. Supports generation of datetime strings in various formats.

What you get

If you need to install the package directly (e.g., for development or source code inspection), you can use one of these methods:

  • ✨ Support for various datetime formats
  • 🇯🇵 Japanese language support
  • 📁 Optimized formats for filename generation
  • 🌏 Accurate timezone handling
  • 🔧 Seamless integration with Claude Desktop App

What the assistant can call

Once MCP Datetime is connected, these are the calls the assistant has available:

  • get_datetime — Get current date and time in various formats
  • Tools — The Tools tool exposed by this server

Setting it up

@modelcontextprotocol/inspector on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Configuration and credentials

You will need one environment variable: PYTHON. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Before using mcp-datetime, ensure you have the following tools installed: - Python 3.12 or later - uv (Python package installer) - uvx (Python package runner)

Choosing this one

Among the developer tooling options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. MCP Datetime's toolset — get_datetime, Tools — is a fair guide to whether it matches your workflow. It is maintained by ZeparHyfar; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the mcp datetime mcp server does with a few real requests.

Available tools

ToolWhat it does
get_datetimeGet current date and time in various formats
ToolsThe Tools tool exposed by this server.

How to install the MCP Datetime MCP server

{
  "mcpServers": {
    "mcp-datetime": {
      "command": "uvx",
      "args": ["mcp-datetime"]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

Before using mcp-datetime, ensure you have the following tools installed: - Python 3.12 or later - uv (Python package installer) - uvx (Python package runner)

VariableDescriptionRequired
PYTHONConfiguration value read at startup.Optional

Example prompts to try

  • Use MCP Datetime to get datetime.
  • Use MCP Datetime to Tools.

Frequently asked questions

It connects MCP Datetime to MCP-compatible AI assistants such as Claude and Cursor, exposing 2 tools (get_datetime, Tools) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with MCP Datetime directly.