mcpField
T
Time MCP Server

Time MCP Server

Local
github.com/domdomeggOther4Updated 13w ago

About Time MCP Server

Time MCP Server is a minimal Python MCP server for people using Claude Desktop or another compatible client. Its single tool returns the current UTC date and time as an RFC 3339 value.

Key features

  1. 01Get current UTC date and time
  2. 02Return timestamps in RFC 3339 format

Use cases

  1. 01Check the current UTC time
  2. 02Request an RFC 3339 timestamp

MCP support

Exposes one time-retrieval tool to MCP-compatible clients: `get_current_utc_time`.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"domdomegg-time-mcp-pypi": {
"command": "uvx",
"args": [
"time-mcp-pypi"
]
}
}
}
Run commanduvx time-mcp-pypi

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypitime-mcp-pypi1.1.1

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

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

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.