A straightforward utility that exposes a single tool to fetch the current UTC time in RFC 3339 format. You get one operation, get_current_utc_time, which returns timestamps like 2024-01-15T14:30:00Z. This is the kind of server you'd add when you need Claude to work with actual current timestamps rather than its training cutoff date, useful for logging, scheduling queries, or any workflow where you need to anchor responses to real time. Installation is a simple pip install and the configuration drops right into Claude Desktop's JSON config. Built as a minimal Python MCP implementation, so it's also a clean reference if you're learning the protocol.
Public tool metadata for what this MCP can expose to an agent.
current_timeGet the current date and time.2 paramsGet the current date and time.
formatstringh:mm A · h:mm:ss A · YYYY-MM-DD HH:mm:ss · YYYY-MM-DD · YYYY-MM · MM/DD/YYYYdefault: YYYY-MM-DD HH:mm:sstimezonestringrelative_timeGet the relative time from now.1 paramsGet the relative time from now.
timestringdays_in_monthGet the number of days in a month. If no date is provided, get the number of days in the current month.1 paramsGet the number of days in a month. If no date is provided, get the number of days in the current month.
datestringget_timestampGet the timestamp for the time.1 paramsGet the timestamp for the time.
timestringconvert_timeConvert time between timezones.3 paramsConvert time between timezones.
timestringsourceTimezonestringtargetTimezonestringget_week_yearGet the week and isoWeek of the year.1 paramsGet the week and isoWeek of the year.
datestringA 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 formatPrerequisites:
Install and run with:
pip install time-mcp-pypi # or from a local clone: pip install -e .
time-mcp-pypi
To use this server with Claude Desktop, add the following to your MCP configuration file:
Add to %APPDATA%\Claude\claude_desktop_config.json:
{
"mcpServers": {
"time-server": {
"command": "time-mcp-pypi"
}
}
}
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"time-server": {
"command": "time-mcp-pypi"
}
}
}
Once configured, you can use the time tool in Claude Desktop:
To publish a new version of the package:
Update the version in pyproject.toml, and commit as Release x.y.z
Tag the release with a version number prefixed with 'v':
git tag v1.0.1
Push the tag to trigger the publishing pipeline:
git push --tags
Then the CI/CD pipeline will automatically publish the package.
The project includes GitHub Actions workflows for: