Skip to main content

Time MCP Server

A minimal Model Context Protocol (MCP) server built with Python.

The server provides one simple tool:

  • get_current_utc_time - Gets the current UTC date and time in RFC 3339 format

Quick start

Prerequisites:

  • Python 3.8 or later
  • Claude Desktop or another MCP-compatible client

Install and run with:

pip install time-mcp-pypi  # or from a local clone: pip install -e .
time-mcp-pypi

Configuration

To use this server with Claude Desktop, add the following to your MCP configuration file:

Windows

Add to %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "time-server": {
      "command": "time-mcp-pypi"
    }
  }
}

macOS

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "time-server": {
      "command": "time-mcp-pypi"
    }
  }
}

Usage

Once configured, you can use the time tool in Claude Desktop:

  • "What's the current UTC time?"
  • "Give me an RFC 3339 timestamp"

Publishing New Versions

To publish a new version of the package:

  1. Update the version in pyproject.toml, and commit as Release x.y.z

  2. Tag the release with a version number prefixed with 'v':

    git tag v1.0.1
    
  3. Push the tag to trigger the publishing pipeline:

    git push --tags
    

Then the CI/CD pipeline will automatically publish the package.

CI/CD

The project includes GitHub Actions workflows for:

  • Build & Test - Builds and tests the Python package
  • Publish - Automatically publishes to PyPI and creates GitHub releases on version tags

Metadata

Release files for time-mcp-pypi 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for time-mcp-pypi 1.1.1
File Size Uploaded Provenance Actions
time_mcp_pypi-1.1.1.tar.gz 3.8 kB Without provenance Details for time_mcp_pypi-1.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for time-mcp-pypi 1.1.1
File Interpreter ABI Platform Actions
time_mcp_pypi-1.1.1-py3-none-any.whl Python 3 none any Details for time_mcp_pypi-1.1.1-py3-none-any.whl

Total release size: 8.2 kB

Release files / time_mcp_pypi-1.1.1.tar.gz

Download URL time_mcp_pypi-1.1.1.tar.gz
Size 3.8 kB
Tags Source
SHA-256 checksum
How to use checksums
2b63f964db00d4cdb67197a7129e8359bd0456889df204d37b1e239d4f40bce1
BLAKE2b-256 checksum
How to use checksums
6ee8012ad90d2c3d9e0d843ce547464acbae1ee6593a0217f255af2a5c03a852
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / time_mcp_pypi-1.1.1-py3-none-any.whl

Download URL time_mcp_pypi-1.1.1-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf579046f4d5a1cf99eb3d20f4109ccc36985259e1aa2a3f65f455cf77b6f4bb
BLAKE2b-256 checksum
How to use checksums
0aac8d5e658c8ae844de467e395701c0fcffaf69975d889ff05afab00f1a252c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for time-mcp-pypi 1.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page