mcp-epochs
mcp-name: io.github.daedalus/mcp-epochs
MCP tool that provides current Unix timestamp (epochs) to LLMs.

Install
pip install mcp-epochs
Usage
mcp-epochs
This runs the MCP server with STDIO transport. The server provides a get_unix_time tool.
MCP Configuration
{
"mcpServers": {
"mcp-epochs": {
"command": "mcp-epochs"
}
}
}
Development
git clone https://github.com/daedalus/mcp-epochs.git
cd mcp-epochs
pip install -e ".[test]"
pytest
ruff format src/ tests/
ruff check src/ tests/
mypy src/
API
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.