Simple MCP server for the current time

At Faire, we have a simple time MCP server with 2 tools

  • get_current_time for epoch millis + ISO format timestamp
  • resolve_time_description for relative values, like “yesterday” or “last monday”

Simplified version of the code:

Examples

2 Likes