Basic information
About Time MCP Server
Time MCP Server providing time-related tools with timezone support
Time MCP Server is a MCP server in the Productivity category listed in the AddMCP.net directory, published by petrarca. Supported transport: stdio. Runtime: python. License: MIT. Source code is hosted on github.com.
Time MCP Server — by petrarca config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
Time MCP Server — by petrarca tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Time MCP Server?
Time MCP Server is a Model Context Protocol (MCP) server that provides time-related tools for Large Language Models. Built with FastMCP 2.0, it lets LLMs retrieve the current date, time, and time components using standard MCP tool calls.
How to use Time MCP Server?
Clone the repository, run task setup to create a virtual environment, then task install to install the package. Start the server with task run (uses stdio transport by default). You can also run with HTTP transport via task run -- --transport streamable-http --port 9000. Connect an MCP client and call get_current_time or get_time_components.
Key features of Time MCP Server
- Provides
get_current_timetool with optional custom date formatting - Provides
get_time_componentstool returning year, month, day, etc. - Supports stdio transport by default; HTTP transport also available
- Works out of the box with Claude Desktop via stdio
- Written in Python 3.12+ with FastMCP 2.0
- Includes tests using FastMCP's in-memory client
Use cases of Time MCP Server
- Let an LLM answer "What's the current time?" with real system time
- Provide formatted date strings (e.g., "YYYY-MM-DD HH:MM:SS") to an LLM
- Allow an LLM to determine today's day of the week
- Enable an LLM to break current time into individual components (hour, minute, etc.)
Frequently asked questions
1 What tools does Time MCP Server provide?
It provides two tools: get_current_time (returns the current time in ISO and a custom format) and get_time_components (returns year, month, day, hour, minute, second, microsecond, and weekday).
2 How do I run Time MCP Server?
Use the task runner: task run for the default stdio transport. To use HTTP, run task run -- --transport streamable-http --port 9000.
3 Can I use HTTP instead of stdio?
Yes. Pass the --transport streamable-http and --port 9000 options when starting the server, either via task run -- or directly with python -m time_mcp_server.main.
4 What prerequisites are needed?
5 How do I connect Time MCP Server to Claude Desktop?
Add a JSON entry to Claude Desktop's MCP configuration file (under Settings > Developer > Edit Config) with the command path to uv and the appropriate arguments pointing to your project directory.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In