MCP Server

EpochDays exposes its timestamp utilities via MCP (Model Context Protocol), so LLM tooling can call the same computations you see on the website.

Endpoint

Streamable HTTP
https://daysfromepoch.com/api/mcp

This endpoint supports MCP Streamable HTTP (recommended).

Tools

Included tools
now
days_to_unix
unix_to_days
parse_timestamp
diff

Client configuration

Codex CLI
codex mcp add epochdays --url https://daysfromepoch.com/api/mcp
codex mcp list
Gemini CLI (~/.gemini/settings.json)
{
  "mcpServers": {
    "epochdays": {
      "httpUrl": "https://daysfromepoch.com/api/mcp",
      "timeout": 30000,
      "trust": false
    }
  }
}
Claude Desktop (claude_desktop_config.json)
{
  "mcpServers": {
    "epochdays": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote@latest",
        "https://daysfromepoch.com/api/mcp",
        "--transport",
        "http-only"
      ]
    }
  }
}