Time MCP Server
A Model Context Protocol server that provides time-related capabilities.
Overview
Time MCP Server is a Model Context Protocol server that provides time-related capabilities, enabling LLMs to access current time information and convert times between different timezones. This server is implemented in Swift using the MCP Swift SDK.
To use Time MCP Server, you can install it via a one-line installer or build it from source. After installation, you can use command line tools to get the current time or convert time between timezones.
- Current Time Queries: Retrieve the current time in any specified timezone. - Time Zone Conversions: Convert time between different timezones. - Daylight Saving Time Information: Check if a timezone is currently observing DST. - Time Difference Calculation: Calculate the time difference between two timezones.
- Scheduling international meetings across different timezones.
- Planning travel by checking local times at destinations.
- Coordinating remote work hours with international teams.
- Setting up global events with accurate local times.
- Managing time-sensitive operations effectively.
Add to your AI client
Use these steps to connect Time MCP Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"time-mcp-server-okooo5km": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-time-mcp-server-okooo5km"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"time-mcp-server-okooo5km": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-time-mcp-server-okooo5km"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"time-mcp-server-okooo5km": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-time-mcp-server-okooo5km"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"time-mcp-server-okooo5km": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-time-mcp-server-okooo5km"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"time-mcp-server-okooo5km": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-time-mcp-server-okooo5km"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"time-mcp-server-okooo5km": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-time-mcp-server-okooo5km"
]
}
}
}FAQ
Can I use Time MCP Server for any timezone?
Yes! Time MCP Server supports all IANA timezone names.
Is there a graphical interface for Time MCP Server?
No, it is a command-line tool designed for integration with other applications.
What are the system requirements?
You need Swift 6.0 or later and macOS 14.0 or later to run Time MCP Server.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3453,"uuid":"555f8103-5d89-4a61-a176-fede34d90926","name":"time-mcp-server","title":"Time MCP Server","description":"A Model Context Protocol server that provides time-related capabilities.","avatar_url":"https://avatars.githubusercontent.com/u/11806733?v=4","created_at":"2025-03-19T16:40:36.283Z","updated_at":"2025-03-19T16:44:09.404Z","status":"created","author_name":"okooo5km","author_avatar_url":"https://avatars.githubusercontent.com/u/11806733?v=4","tags":"[]","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/okooo5km/time-mcp-server","target":"_self","content":"$29","summary":"$2a","img_url":"https://camo.githubusercontent.com/b9e16c039986acc9776f3e3fcc616bcee119ca4d97d97c0cc38653fdf04fa00f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f706c6174666f726d2d6d61634f532d6c6967687467726579","type":null,"metadata":"{\"star\":\"5\",\"license\":\"\",\"language\":\"Go\",\"is_official\":false,\"latest_commit_time\":\"2025-04-20 06:34:39\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]