mcp-datetime
by ZeparHyfar
mcp-datetime is a datetime formatting service implemented as an MCP server for the Claude Desktop Application. It supports the generation of datetime strings in various formats.
Last updated: N/A
What is mcp-datetime?
mcp-datetime is an MCP server that provides a tool to format datetime strings in various formats. It's designed to integrate with the Claude Desktop Application.
How to use mcp-datetime?
To use mcp-datetime, you need to configure your Claude Desktop Application to recognize the server. This involves adding the server configuration to the claude_desktop_config.json
file, specifying the command to run the server (e.g., uvx mcp-datetime
or python -m mcp_datetime
). Once configured, you can use the get_datetime
tool with a specified format to retrieve the current date and time in that format.
Key features of mcp-datetime
Support for various datetime formats
Japanese language support
Optimized formats for filename generation
Accurate timezone handling
Use cases of mcp-datetime
Generating timestamps for log files
Creating filenames with datetime stamps
Displaying dates and times in different formats within the Claude Desktop App
Formatting dates for international audiences
FAQ from mcp-datetime
What Python version is required?
What Python version is required?
Python 3.12 or later is required.
Is mcp-datetime compatible with Windows?
Is mcp-datetime compatible with Windows?
This package has been tested only on macOS. Windows compatibility has not been verified.
How do I install mcp-datetime?
How do I install mcp-datetime?
You can install it from PyPI using pip install mcp-datetime
or from GitHub source.
How do I specify the datetime format?
How do I specify the datetime format?
Use the format
argument with the get_datetime
tool. For example: call datetime-service.get_datetime {"format": "datetime"}
How can I debug the MCP server?
How can I debug the MCP server?
It is recommended to use the MCP Inspector tool for debugging.