AgentClock
Public MCP server that gives AI agents authoritative UTC and elapsed time.
Working when we checked on .
What is AgentClock?
AgentClock is a public MCP server that gives AI agents authoritative time, including live UTC instants, elapsed time, clock health status, and heartbeat counts. It is aimed at agents and their developers who need real elapsed-time data instead of guessing durations between messages. The service queries five public NTP servers and takes a median offset, anchors itself independently of the host clock, and advances with a monotonic counter. It exposes five tools (clock_now, clock_status, clock_sync, clock_gap, clock_beats) via a streamable HTTP MCP URL, and supports IANA timezone rendering such as America/New_York. No account or API key is required.
AgentClock pricing
Pricing model: Free
AgentClock pros
- No account, token, or API key required to use the public MCP service
- Queries five public NTP servers and takes a median offset so one bad source cannot move it
- Independent of the host system clock; advances with a monotonic counter
- Supports IANA timezone names like America/New_York with daylight saving handling
- Standard streamable HTTP MCP server works with any agent that can add MCP servers by URL
- clock_gap and clock_beats report elapsed time and heartbeats during silence
AgentClock cons
- Provides no subjective sense of time passing; the agent must choose to call the tool
- Timezone is only a display layer; AgentClock enforces and caches no timezone
- A 502 Bad Gateway can occur while the service is starting or down, requiring retries
- Reliability, uptime, or usage quotas beyond the public service are not documented
Frequently asked questions about AgentClock
What is AgentClock?
AgentClock is a public MCP server that gives AI agents authoritative time. Agents add its URL as an MCP server and can then call live UTC time and elapsed time with no account or API key.
Who is AgentClock for?
It is for AI agents and their developers, particularly agents that need to measure elapsed time, detect idle periods, or check task deadlines between messages.
Which tools does AgentClock expose?
It registers five tools: clock_now for the current authoritative instant, clock_status for full status, clock_sync to force a re-sync, clock_gap for time since the last turn, and clock_beats for the service heartbeat count.
How do I add AgentClock to my agent?
Add it as a streamable HTTP MCP server using the URL https://agentclock.andalabx.com/mcp in your agent's mcpServers configuration, then reload the agent so the five tools register automatically.
How does AgentClock keep accurate time?
It queries five public NTP servers, takes a median offset so one bad source cannot move it, anchors on that value, and advances with a monotonic counter. A change to the system clock does not move it.
Does AgentClock require an API key or account?
No. There is no 401 and no token to configure, and the service requires no account. Agents simply connect to the public MCP URL.
Does AgentClock support timezones?
Yes, in the display layer only. Pass an IANA name such as America/New_York or an offset like +02:00 as the tz argument; UTC time and the Unix timestamp stay the same instant regardless of display zone.
Why does an agent need a real clock tool?
A normal agent process does not check time between messages, so it cannot tell how long it was idle or how long a task took. The AgentTime research shows time estimation error collapses to almost nothing with a real elapsed-time tool.
What does a 502 Bad Gateway or 421 error mean?
A 421 means the Host header is wrong, so use agentclock.andalabx.com as the host. A 502 means the service is starting or down, so retry briefly.
What does clock_sync and clock_beats do?
clock_sync forces a re-sync against NTP servers and re-anchors the clock when a result looks stale. clock_beats reports the service heartbeat count, showing the clock kept ticking during silence.