# Time (MCP Server)

> Current time and timezone conversions using IANA timezones

- Type: MCP server
- Publisher: Model Context Protocol (official)
- Categories: Productivity
- Website: https://github.com/modelcontextprotocol/servers/tree/main/src/time
- Source: https://github.com/modelcontextprotocol/servers
- Transport: stdio
- Launch command: uvx mcp-server-time
- Sign-in: none
- GitHub stars: 90924
- Listed: 2024-12-01

## About

Reference Python MCP server for getting the current time in any IANA timezone and converting times between timezones. The local timezone is auto-detected or can be set with --local-timezone.

## Install

1. **Add the server to Codex**

   Codex CLI:

   ```bash
   codex mcp add time -- uvx mcp-server-time
   ```

   config.toml:

   ```toml
   [mcp_servers.time]
   command = "uvx"
   args = ["mcp-server-time"]
   ```

   Agents SDK:

   ```python
   from agents import Agent, Runner
   from agents.mcp import MCPServerStdio
   
   async with MCPServerStdio(
       name="Time",
       params={"command": "uvx", "args": ["mcp-server-time"]},
   ) as server:
       agent = Agent(name="Assistant", mcp_servers=[server])
       result = await Runner.run(agent, "What time is it in Tokyo right now?")
       print(result.final_output)
   ```

## Tools

- `get_current_time`
- `convert_time`

## Example prompts

- "What time is it in Tokyo right now?"
- "Convert 3pm New York time to London time"
- "When it's 9am in Berlin, what time is it in San Francisco?"

## Related

- [Notion](https://chatgptplugins.directory/mcp/notion.md): Search, read, and write Notion pages, databases, and comments via hosted MCP
- [Excalidraw](https://chatgptplugins.directory/mcp/excalidraw.md): Draw hand-drawn Excalidraw diagrams live inside ChatGPT, Claude and VS Code
- [Atlassian Rovo (Jira & Confluence)](https://chatgptplugins.directory/mcp/atlassian-rovo.md): Work with Jira issues and Confluence pages through Atlassian's hosted MCP
- [Browser Use](https://chatgptplugins.directory/mcp/browser-use.md): Run Browser Use cloud browser agents or control a local browser over MCP
- [Filesystem](https://chatgptplugins.directory/mcp/filesystem.md): Secure local file operations with configurable directory access
- [Memory](https://chatgptplugins.directory/mcp/memory.md): Knowledge graph-based persistent memory across conversations

---
Source: https://chatgptplugins.directory/mcp/time · Index: https://chatgptplugins.directory/llms.txt · Independent and community-run. Not affiliated with or endorsed by OpenAI. ChatGPT is a trademark of OpenAI.
