Skip to main content
Glama
williamlang

Date-Time MCP Server

by williamlang

Date-Time MCP Server

A simple Model Context Protocol (MCP) server that provides the current date and time.

Features

  • Returns current date and time in ISO 8601 format

  • Includes Unix timestamp

  • Provides timezone information

  • Returns human-readable formatted date/time

Related MCP server: DateTime MCP Server

Installation

npm install
npm run build

Usage

With Claude Desktop

Add this to your Claude Desktop configuration file:

MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "date-time": {
      "command": "node",
      "args": ["/absolute/path/to/date-time-mcp/build/index.js"]
    }
  }
}

Testing

You can test the server using the MCP Inspector or any MCP client.

Available Tools

get_current_datetime

Returns the current date and time information.

Parameters: None

Returns:

{
  "datetime": "2025-12-08T16:57:00.000Z",
  "timestamp": 1733676420000,
  "timezone": "America/New_York",
  "formatted": "12/8/2025, 11:57:00 AM"
}

Development

# Build the project
npm run build

# Watch mode for development
npm run watch

License

MIT

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/williamlang/date-time-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server