A datetime-formatting MCP server that exposes a single get_datetime tool capable of returning the current date/time in many common, Japanese, ISO and filename-friendly formats.
https://github.com/ZeparHyfar/mcp-datetimeYour AI assistant needs the current time, but you're tired of manually typing "2024-12-20 14:30:45" or wrestling with different format strings every time Claude asks for a timestamp. This MCP server solves that problem with a single tool that handles 17 different datetime formats instantly.
When Claude needs timestamps for file naming, logging, or date-based operations, you're stuck either:
mcp-datetime gives Claude instant access to properly formatted timestamps in any format you need:
# Need a filename-safe timestamp?
→ 20241220143045.log
# Japanese format for international projects?
→ 2024年12月20日 14時30分45秒
# ISO 8601 for APIs?
→ 2024-12-20T14:30:45+0900
# Quick compact ID?
→ 20241220143045
Log File Generation: Ask Claude to create timestamped log entries and it gets the format right every time - no more inconsistent naming schemes across your project.
Automated File Naming: Building scripts that generate daily reports, backups, or data exports? Claude can now suggest properly formatted filenames that sort chronologically.
International Projects: Working with Japanese clients or systems? The built-in Japanese date formats (2024年12月20日) integrate seamlessly into your workflow.
Database Operations: Need ISO timestamps for database inserts? Claude gets the timezone handling right without you having to specify the format every time.
Add this to your Claude Desktop config and you're done:
{
"mcpServers": {
"mcp-datetime": {
"command": "uvx",
"args": ["mcp-datetime"]
}
}
}
That's it. No environment variables, no complex setup, no API keys. Claude immediately gains access to consistent, accurate datetime formatting.
This isn't just another datetime library - it's designed specifically for AI-assisted development workflows. The format names are intuitive (filename_md, log_compact, datetime_jp), and the output is immediately usable in your code, filenames, or documentation.
Whether you're generating build timestamps, creating dated backups, or need consistent logging formats across projects, this MCP server eliminates the friction of datetime formatting in your AI-assisted workflow.
Ready to stop manually typing timestamps? Install mcp-datetime and let Claude handle the formatting while you focus on building.