Get the current UTC time in RFC 3339 format.
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 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:
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
uvx time-mcp-pypiMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-domdomegg-time-mcp-pypi": {
"command": "uvx",
"args": [
"time-mcp-pypi"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referencetime-mcp-pypipypiTime MCP Server works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.