A Model Context Protocol (MCP) server that provides timezone-aware date and time operations. This server addresses the common issue where AI assistants provide incorrect date information due to timezone confusion. - Accurate timezone handling - Get current time in any IANA timezone - Time conversion - Convert time between different timezones - Multiple formats - ISO 8601, localized, and human-read
Add this skill
npx mdskills install davidan90/time-node-mcpWell-documented timezone-aware MCP server with clear tool descriptions and setup instructions
A Model Context Protocol (MCP) server that provides timezone-aware date and time operations. This server addresses the common issue where AI assistants provide incorrect date information due to timezone confusion.
# Clone or download the project
cd time-node-mcp
# Install dependencies
npm install
# Build the TypeScript code
npm run build
Add the following configuration to your Claude Desktop settings file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"time-node-mcp": {
"command": "node",
"args": ["/path/to/time-node-mcp/dist/index.js"]
}
}
}
Replace /path/to/time-node-mcp/ with the actual path to your installation directory.
Get the current date and time in a specific timezone.
Parameters:
timezone (required): IANA timezone identifier (e.g., "America/New_York", "Europe/London")format (optional): Output format - "iso", "local", or "full" (default: "iso")Example:
{
"timezone": "America/New_York",
"format": "full"
}
Convert time from one timezone to another.
Parameters:
sourceTimezone (required): Source IANA timezone identifiertargetTimezone (required): Target IANA timezone identifiertime (required): Time in HH:MM or HH:MM:SS format (24-hour)date (optional): Date in YYYY-MM-DD format (uses current date if not provided)Example:
{
"sourceTimezone": "America/New_York",
"targetTimezone": "Europe/London",
"time": "14:30",
"date": "2024-08-12"
}
Get the system's current timezone with current time information.
Parameters: None
Get the current date in a specific timezone with day-of-week information.
Parameters:
timezone (required): IANA timezone identifierincludeTime (optional): Whether to include time information (default: false)Example:
{
"timezone": "Asia/Tokyo",
"includeTime": true
}
# Build the project
npm run build
# Build and watch for changes
npm run dev
# Run the server directly (after building)
npm start
# Lint the code
npm run lint
# Type check
npm run typecheck
time-node-mcp/
├── src/
│ ├── index.ts # Main MCP server implementation
│ ├── time-service.ts # Core time/timezone functionality
│ └── interfaces.ts # TypeScript interfaces
├── dist/ # Compiled JavaScript (generated)
├── package.json
├── tsconfig.json
└── README.md
This server supports all IANA timezone identifiers, including:
America/New_YorkEurope/LondonAsia/TokyoAustralia/SydneyPacific/AucklandYou can find a complete list of supported timezones at: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
The server provides comprehensive error handling for:
All errors are returned in a structured JSON format with descriptive messages.
MIT License - see LICENSE file for details.
"Invalid timezone" error:
MCP server not connecting:
npm run build)Date/time seems incorrect:
Install via CLI
npx mdskills install davidan90/time-node-mcpTime Node MCP Server is a free, open-source AI agent skill. A Model Context Protocol (MCP) server that provides timezone-aware date and time operations. This server addresses the common issue where AI assistants provide incorrect date information due to timezone confusion. - Accurate timezone handling - Get current time in any IANA timezone - Time conversion - Convert time between different timezones - Multiple formats - ISO 8601, localized, and human-read
Install Time Node MCP Server with a single command:
npx mdskills install davidan90/time-node-mcpThis downloads the skill files into your project and your AI agent picks them up automatically.
Time Node MCP Server works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Gemini Cli, Amp, Roo Code, Goose. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.