MCP Node Time
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Node Time what time is it in Tokyo right now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Time Node MCP Server
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.
Features
Accurate timezone handling - Get current time in any IANA timezone
Time conversion - Convert time between different timezones
Multiple formats - ISO 8601, localized, and human-readable formats
System timezone detection - Automatically detect system timezone
DST awareness - Correctly handles Daylight Saving Time transitions
Date utilities - Get current date with day-of-week information
Related MCP server: date
Installation
Prerequisites
Node.js 18.0.0 or higher
npm or yarn
Install and Build
# Clone or download the project
cd time-node-mcp
# Install dependencies
npm install
# Build the TypeScript code
npm run buildUsage with Claude Desktop
Add the following configuration to your Claude Desktop settings file:
macOS
~/Library/Application Support/Claude/claude_desktop_config.json
Windows
%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.
Available Tools
1. get_current_time
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"
}2. convert_time
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"
}3. get_system_timezone
Get the system's current timezone with current time information.
Parameters: None
4. get_current_date
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
}Development
Scripts
# 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 typecheckProject Structure
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.mdCommon Use Cases
Correct current date/time: When Claude needs to know "what day is today" in your timezone
Meeting scheduling: Convert meeting times between different timezones
Travel planning: Understand time differences when traveling
International coordination: Work with teams across multiple timezones
Timezone Support
This server supports all IANA timezone identifiers, including:
America/New_YorkEurope/LondonAsia/TokyoAustralia/SydneyPacific/AucklandAnd many more...
You can find a complete list of supported timezones at: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
Error Handling
The server provides comprehensive error handling for:
Invalid timezone identifiers
Malformed time formats
Invalid date formats
System errors
All errors are returned in a structured JSON format with descriptive messages.
Contributing
Fork the repository
Create a feature branch
Make your changes
Run tests and linting
Submit a pull request
License
MIT License - see LICENSE file for details.
Troubleshooting
Common Issues
"Invalid timezone" error:
Ensure you're using valid IANA timezone identifiers
Check spelling and capitalization (e.g., "America/New_York", not "america/new_york")
MCP server not connecting:
Verify the path in your Claude Desktop configuration is correct
Ensure the project is built (
npm run build)Check that Node.js is installed and accessible
Date/time seems incorrect:
The server uses your system's current date/time as the base
Ensure your system clock is correct and timezone is properly set
Available Tools
4 toolsconvert_timeC
Convert time from one timezone to another
Inputs: sourceTimezone (required), targetTimezone (required), time (required), date.
get_current_dateC
Get the current date in a specific timezone with day of week information
Inputs: timezone (required), includeTime.
get_current_timeA
Get the current date and time in a specific timezone with various formatting options
Inputs: timezone (required), format.
get_system_timezoneB
Get the system's current timezone
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: convert_time handles timezone conversions, get_current_date provides date and day of week, get_current_time offers date/time with formatting, and get_system_timezone retrieves system timezone. No overlap or ambiguity exists between these functions.
All tools follow a consistent verb_noun pattern with snake_case naming: convert_time, get_current_date, get_current_time, and get_system_timezone. The naming is predictable and readable throughout the set.
With 4 tools, this server is well-scoped for time-related operations. Each tool serves a unique and essential function in the time/date domain, making the count appropriate without being too sparse or bloated.
The toolset covers core time operations well: conversion, current date/time retrieval, and system timezone. A minor gap exists in lacking date/time arithmetic or manipulation tools, but agents can work around this for most common use cases.
Maintenance
Related MCP Connectors
MCP server for time in cities around the world, time zones, DST, conversion, and meetings.
Timezone MCP — wraps timeapi.io (free, no auth)
Current time, timezone conversion & date math for AI agents. On Cloudflare Workers.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceThe Time MCP Server is a Model Context Protocol (MCP) server that provides AI assistants and other MCP clients with standardized tools to perform time and date-related operations. This server acts as a bridge between AI tools and a robust time-handling back179 npm25MIT
- AlicenseAqualityDmaintenanceAn MCP server that provides real-time date, time and time zone information for AI assistants.42Apache 2.0
- AlicenseNot gradedqualityDmaintenanceA Cloudflare Workers-based MCP server that provides current date and time information for any IANA timezone. It enables AI agents to retrieve precise, ISO 8601-formatted timestamps through a globally distributed edge network.MIT
- AlicenseAqualityDmaintenanceMCP server providing various date/time functions including current time, timezone conversion, and relative time calculations. Supports both local stdio and remote HTTP access via Cloudflare Workers.261,209 npm3MIT