@alexfloyd13/mcp-datetime
v1.0.2
Published
MCP server providing date, time, and timezone tools
Readme
mcp-datetime
An MCP server that provides date, time, and timezone tools for AI agents.
Tools
get_current_time
Returns the current date and time. Optionally accepts an IANA timezone name (e.g. America/New_York). Defaults to UTC.
format_date
Formats an ISO 8601 date string into a human-readable form. Supports three formats:
short— Feb 26, 2026long— February 26, 2026 at 2:00 PMrelative— 3 hours ago
date_diff
Calculates the difference between two dates in days, hours, or minutes.
Usage
With Claude Desktop (stdio)
Add to your claude_desktop_config.json:
{
"mcpServers": {
"datetime": {
"command": "npx",
"args": ["-y", "@alexfloyd13/mcp-datetime"]
}
}
}With Clevername Marketplace
Install directly from the Clevername MCP Marketplace.
Development
npm install
npm run build
node dist/index.jsLicense
MIT
