MCP time server

MCP time server

mcp-time•bydandeliongold

An MCP server that provides the current time in ISO-style format and calculates time differences between a given timestamp and the current time.

License: MIT•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Provides a getCurrentTime tool that returns the current time in ISO format without requiring input parameters.
  • •Provides a getTimeDifference tool that calculates the signed difference between a supplied timestamp and the current time.
  • •Supports minutes or seconds as the interval, with positive values for future timestamps and negative values for past ones.
  • •Exposes its functionality through a JSON-RPC interface with error handling.

BEST FOR

  • •Getting the current time in a consistent ISO-style format within an MCP-enabled client.
  • •Computing how far a timestamp is in the past or future.

ABOUT MCP-TIME

MCP time server is cataloged as an MCP server attributed to dandeliongold. An MCP server that provides the current time in ISO-style format and calculates time differences between a given timestamp and the current time. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP time server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What interval units does getTimeDifference support?

It supports minutes, which is the default, and seconds.

How are future and past timestamps represented in the difference result?

Positive values indicate future timestamps, negative values indicate past timestamps, and zero indicates the same timestamp.

Upstream README

View this exact version on GitHub

README.md · d30119186ab2 · Fetched 2026-11-13 12:46:35 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

@dandeliongold/mcp-time

An MCP server for getting current time in ISO format (YYYY-MM-DD HH:mm:ss) using JavaScript Date. This server works with the Claude desktop app on both Windows and macOS.

Components

Tools

  1. getCurrentTime

    • Returns the current time in ISO format
    • No input parameters required
    • Returns:
      {
        "time": "2024-02-08 11:04:33",
        "success": true
      }
      

    Example JSON-RPC request:

    {
      "jsonrpc": "2.0",
      "id": 1,
      "method": "getCurrentTime"
    }
    

    Example JSON-RPC response:

    {
      "jsonrpc": "2.0",
      "id": 1,
      "result": {
        "time": "2024-02-08 11:04:33",
        "success": true
      }
    }
    
  2. getTimeDifference

    • Calculates the time difference between a given timestamp and the current time
    • Parameters:
      • timestamp: ISO format timestamp (YYYY-MM-DD HH:mm:ss)
      • interval: 'minutes' (default) or 'seconds'
    • Returns a signed difference value following this convention:
      • Positive values (+) indicate future timestamps ("in X minutes/seconds")
      • Negative values (-) indicate past timestamps ("X minutes/seconds ago")
      • Zero (0) indicates same timestamp

    Example JSON-RPC request:

    {
      "jsonrpc": "2.0",
      "id": 1,
      "method": "getTimeDifference",
      "params": {
        "timestamp": "2024-02-08 12:30:00",
        "interval": "minutes"
      }
    }
    

    Example JSON-RPC responses:

    // For a past timestamp (30 minutes ago)
    {
      "jsonrpc": "2.0",
      "id": 1,
      "result": {
        "difference": -30,
        "interval": "minutes",
        "inputTimestamp": "2024-02-08 12:30:00",
        "currentTime": "2024-02-08 13:00:00"
      }
    }
    
    // For a future timestamp (in 45 minutes)
    {
      "jsonrpc": "2.0",
      "id": 1,
      "result": {
        "difference": 45,
        "interval": "minutes",
        "inputTimestamp": "2024-02-08 13:45:00",
        "currentTime": "2024-02-08 13:00:00"
      }
    }
    

Features

  • Get current time in YYYY-MM-DD HH:mm:ss format
  • Calculate time differences between timestamps and current time
  • Intuitive positive/negative values for future/past times
  • Support for both minutes and seconds intervals
  • Cross-platform support for Windows and macOS
  • Simple JSON-RPC interface
  • Consistent ISO-style date formatting
  • Error handling with detailed error messages

Installation

npm install @dandeliongold/mcp-time

Usage with Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "time": {
      "command": "npx",
      "args": [
        "@dandeliongold/mcp-time"
      ]
    }
  }
}

Development

  1. Clone the repository
  2. Install dependencies
    npm install
    
  3. Run tests
    npm test
    
  4. Start development server
    npm run dev
    

License

MIT License - see LICENSE for details

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP time server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/mcp-time)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools