Need to give your LLM a sense of time? This server exposes a single tool, get_unix_time, that returns the current Unix timestamp in seconds and milliseconds, plus an ISO 8601 formatted string. It's minimal by design: no parameters, no configuration, just a straightforward way to let Claude or other MCP clients know what time it is right now. Useful when you're building agents that need to timestamp events, calculate durations, or make time-based decisions without relying on the model's training cutoff date. The Python implementation uses stdio transport and installs via pip.
mcp-name: io.github.daedalus/mcp-epochs
MCP tool that provides current Unix timestamp (epochs) to LLMs.
pip install mcp-epochs
mcp-epochs
This runs the MCP server with STDIO transport. The server provides a get_unix_time tool.
{
"mcpServers": {
"mcp-epochs": {
"command": "mcp-epochs"
}
}
}
git clone https://github.com/daedalus/mcp-epochs.git
cd mcp-epochs
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/
get_unix_time()Returns the current Unix timestamp as a dictionary with the following keys:
unix_time (int): Current Unix timestamp in seconds since epoch.unix_time_ms (int): Current Unix timestamp in milliseconds since epoch.iso8601 (str): Current UTC time in ISO 8601 format (e.g., "2026-03-26T21:30:00Z").run_server()Starts the MCP server using STDIO transport for local desktop MCP clients.