
mcp-time
by TheoBrigitte·★ 15·Score 42
A Go-based MCP server providing time utilities with natural language processing and timezone conversions.
Overview
The mcp-time server is a Model Context Protocol implementation that enables AI assistants to perform complex time and date operations. It offers tools for getting current time, converting between timezones, handling relative time expressions, comparing times, and formatting dates flexibly. The server supports both stdio and HTTP stream transports, making it versatile for different integration scenarios. The Go implementation ensures good performance and reliability, with comprehensive error handling for various time formats and edge cases.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this MCP server when your AI application needs robust time manipulation capabilities with natural language parsing, especially for applications that handle multiple timezones frequently.
When NOT to choose this
Don't choose this if you need complex calendar or event management features beyond simple time operations, as it focuses specifically on time utilities rather than full calendar functionality.
Tools this server exposes
5 tools extracted from the READMEcurrent_timeGet the current time in any timezone and format
relative_timeGet a time based on a relative natural language expression
convert_timezoneConvert a given time between timezones
add_timeAdd or subtract a duration from a given time
compare_timeCompare two times and determine their relationship
Comparable tools
Installation
Installation
Using npm/npx
{
"mcpServers": {
"mcp-time": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@theo.foobar/mcp-time"
]
}
}
}Using Docker
{
"mcpServers": {
"mcp-time": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"theo01/mcp-time:latest"
]
}
}
}Using binary
Download the binary for your platform from [releases](https://github.com/TheoBrigitte/mcp-time/releases) and add to your PATH.
FAQ
- What time formats does the server support?
- The server supports various predefined formats (RFC3339, Kitchen, etc.) and custom Go layout strings. It can parse most common time formats automatically.
- How does the server handle timezone conversions?
- It uses IANA timezone names (like 'America/New_York') for accurate timezone conversions and respects daylight saving time automatically.
Compare mcp-time with
Last updated · Auto-generated from public README + GitHub signals.