DateTime-LocalMCPServer
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DateTime-LocalMCPServer What is the current local date and time?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP Server Setup Guide
A step-by-step guide to set up and run a Model Context Protocol (MCP) server using FastMCP.
Installation Steps
UV is a fast Python package manager. Install it using pip:
pip install uvVerify installation:
uv --versionCreate a new directory for your MCP server and initialize it:
mkdir mcp-server
cd mcp-server
uv init .This creates the necessary project structure with:
pyproject.toml- Project configuration.python-version- Python version specificationREADME.md- Project documentation
Add FastMCP to your project dependencies:
uv add fastmcpCreate a file named
main.pywith your server code:Use the
MCP Inspectorto test your server interactively:
uv run fastmcp dev main.pyTo run your server normally:
uv run fastmcp run main.pyAutomatically configure Claude Desktop to use your MCP server:
uv run fastmcp install claude-desktop main.pyRelated MCP server: DateTime MCP Server
License
This project is licensed under the MIT License.
Available Tools
9 toolscurrent_dateA
Return today's local date.
Returns
Dict[str, Any] A dictionary containing: - status : str Indicates successful execution. - date : str Current date in YYYY-MM-DD format.
Inputs: no named parameters. Returns: object
current_datetimeA
Return the current or today's local date and time in ISO 8601 format.
Returns
Dict[str, Any] A dictionary containing: - status : str Indicates successful execution. - datetime : str Current local date and time in ISO 8601 format.
Inputs: no named parameters. Returns: object
current_dayA
Return the name of the current day.
Returns
Dict[str, Any] A dictionary containing: - status : str Indicates successful execution. - day : str Name of the current day (e.g., Monday).
Inputs: no named parameters. Returns: object
current_monthA
Return the name of the current month.
Returns
Dict[str, Any] A dictionary containing: - status : str Indicates successful execution. - month : str Name of the current month (e.g., January).
Inputs: no named parameters. Returns: object
current_timeA
Return the current local time.
Returns
Dict[str, Any] A dictionary containing: - status : str Indicates successful execution. - time : str Current time in HH:MM:SS format.
Inputs: no named parameters. Returns: object
current_yearA
Return the current year.
Returns
Dict[str, Any] A dictionary containing: - status : str Indicates successful execution. - year : int Current year.
Inputs: no named parameters. Returns: object
formatted_datetimeA
Return the current date and time using a custom format.
Parameters
format : str, optional strftime-compatible format string. Defaults to "%Y-%m-%d %H:%M:%S".
Returns
Dict[str, Any] A dictionary containing: - status : str Indicates successful execution or error. - formatted : str Current datetime formatted according to the provided format string.
If the format string is invalid, an error response is returned.Inputs: format. Returns: object
timezone_datetimeA
Return the current date and time for a specified timezone.
Parameters
timezone : str, optional IANA timezone name (e.g., "UTC", "Asia/Kolkata"). Defaults to "UTC".
Returns
Dict[str, Any] A dictionary containing: - status : str Indicates successful execution or error. - timezone : str Requested timezone. - datetime : str Current datetime in ISO 8601 format for the given timezone.
If an invalid timezone is provided, an error response is returned.Inputs: timezone. Returns: object
unix_timestampA
Return the current Unix timestamp.
Returns
Dict[str, Any] A dictionary containing: - status : str Indicates successful execution. - timestamp : int Number of seconds since the Unix epoch.
Inputs: no named parameters. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Most tools have distinct purposes focused on specific date/time components, though current_datetime and formatted_datetime could potentially overlap if the default format matches ISO 8601. The descriptions help clarify differences, with current_datetime providing a fixed ISO format while formatted_datetime allows customization.
All tool names follow a consistent snake_case pattern with clear 'current_' or descriptive prefixes (formatted_datetime, timezone_datetime, unix_timestamp). The naming convention is predictable and readable throughout the entire set.
Nine tools is reasonable for a datetime server, though it feels slightly heavy with separate tools for day, month, and year that could potentially be combined. The count supports comprehensive datetime operations without being overwhelming.
The toolset provides complete coverage for datetime operations including current date/time retrieval, formatting, timezone handling, and Unix timestamp conversion. No obvious gaps exist for a server focused on current datetime information retrieval.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
The Mercado Pago MCP Server implements the Model Context Protocol to provide AI agents and LLMs with access to Mercado Pago's APIs and tools within compatible development environments. It acts as an intermediary that translates Mercado Pago resources into executable functions (tools) that AI applications can invoke to perform actions and automate flows. The server simplifies integration, enables using documentation to implement or improve code, and optimizes operations through natural language interactions without manual implementations.
The official Model Context Protocol server for Ambee. It gives any MCP-compatible AI assistant — Claude, ChatGPT, Cursor, VS Code, Ollama, and more direct access to live air quality, pollen, and weather data. To get started, including information on signing up and obtaining your Ambee key, check out the Ambee documentation on https://docs.ambeedata.com
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Related MCP Servers
- AlicenseAqualityDmaintenanceA Model Context Protocol server for time manipulation tasks, enabling AI models to get the current date/time and calculate duration between timestamps.72MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides tools to get the current date and time in various formats, supporting different timezones and custom formatting options.113 npm1MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides time and timezone conversion capabilities, enabling LLMs to get current time information and perform timezone conversions using IANA timezone names.2MIT
- AlicenseNot gradedqualityDmaintenanceThe Time MCP Server is a Model Context Protocol (MCP) server that provides AI assistants and other MCP clients with standardized tools to perform time and date-related operations. This server acts as a bridge between AI tools and a robust time-handling back72 npm25MIT