Skip to main content
Glama
vulpicastor

mcp-device-datetime

by vulpicastor

mcp-device-datetime

A simple MCP server that exposes the host device's current date and time to clients.

This server only depends on the MCP Python SDK and the Python standard library package datetime. The tools returns the device's wall clock datetime, either in its local time zone or in UTC.

Tools

  • get_device_local_datetime: local time with timezone offset (e.g. 2026-02-23T17:30:45-05:00)

  • get_device_utc_datetime: UTC time (e.g. 2026-02-23T22:30:45+00:00)

Related MCP server: MCP Time Server

Installation

Install from a local clone of this repository:

git clone https://github.com/vulpicastor/mcp-device-datetime.git
cd mcp-device-datetime
pip install .

Claude Desktop Configuration

Install the package, then add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "device-datetime": {
      "command": "mcp-device-datetime"
    }
  }
}

The mcp-device-datetime command is installed by pip as part of the package. Restart Claude Desktop after editing the config.

If you installed into a conda environment or virtual environment, Claude Desktop may not have that environment active. Use which to find the full path to the command:

which mcp-device-datetime

Then use that path as the command value in the JSON configuration.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityInactive
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Connectors

Related MCP Servers

  • A
    license
    C
    quality
    D
    maintenance
    Provides current time and date information with timezone support and multiple formatting options. Enables AI assistants to answer time-related queries in different timezones with detailed temporal information.
    2
    15
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides time and date functionality with support for multiple formats and timezones, enabling users to get current time/date, format timestamps, and retrieve comprehensive datetime information.
    73
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides tools to get the current date and time in various formats (ISO, Unix timestamp, human-readable, custom) with configurable timezone support.
    MIT
  • F
    license
    B
    quality
    D
    maintenance
    Provides current time and timezone conversion using IANA timezone names, with automatic system timezone detection.
    2
    -

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/vulpicastor/mcp-device-datetime'

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