Alan's Date Time MCP
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., "@Alan's Date Time MCPwhat's the current date and time in UTC?"
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.
Alan's Date Time MCP
An MCP (Model Context Protocol) server that provides current time and datetime with timezone support.
Tools
get_date— Returns date only (e.g.2025-03-15)get_time— Returns time only (e.g.14:30:00)get_datetime— Returns date and time (e.g.2025-03-15 14:30:00)
Both tools accept an optional timezone parameter:
"local"(default) — System's local timezone"utc"— UTCIANA timezone string — e.g.
"America/New_York","Europe/London","Asia/Tokyo"
Related MCP server: MCP Time Server
Installation
Add to your MCP configuration (e.g. Cursor, Claude Desktop):
Option 1: npm (recommended — faster startup)
{
"mcpServers": {
"alans-date-time-mcp": {
"command": "npx",
"args": ["-y", "alans-date-time-mcp"]
}
}
}Option 2: GitHub
{
"mcpServers": {
"alans-date-time-mcp": {
"command": "npx",
"args": ["-y", "github:ajnx/alans-date-time-mcp"]
}
}
}Development
npm install
npm run build
npm startLicense
MIT
Available Tools
3 toolsget_dateA
Get the current date only (e.g. 2025-03-15)
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | Timezone: "local" | "utc" | IANA string (default: "local") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the burden of behavioral disclosure. It clearly indicates a read-only retrieval of the current date and reveals the output format via the example. For a simple, side-effect-free getter, this is adequate even without explicit read-only phrasing.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence with no filler, front-loading the core behavior and including a precise example. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
This is a very simple tool with no required parameters, one well-documented optional parameter, and a clear output example. The description plus schema fully cover what an agent needs to call it correctly and interpret the result.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema already documents the only parameter with full coverage, so the description does not need to explain it. The example '2025-03-15' adds some output-format context beyond the schema but not parameter-specific semantics. Baseline of 3 is appropriate given 100% schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific verb ('Get'), a clear resource ('current date'), and a scope qualifier ('only') that distinguishes it from sibling tools get_time and get_datetime. The example format makes the tool's output unambiguous.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The qualifier 'date only' clearly signals when to use this tool rather than get_time or get_datetime. However, it does not explicitly state exclusions like 'use get_datetime when both date and time are needed,' though the sibling names and the word 'only' make this reasonably inferable.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_datetimeB
Get the current date and time (e.g. 2025-03-15 14:30:00)
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | Timezone: "local" | "utc" | IANA string (default: "local") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry the burden. It conveys a read-only intent with 'Get' and hints at return format through the example, but it does not clarify timezone behavior, formatting guarantees, or the absence of side effects beyond what is inferable.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence with a concrete example; no filler. The core behavior is front-loaded and the example grounds the expected output.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple zero-required-parameter tool, the description plus schema and sibling context cover the essential call contract. It only lacks explicit guidance on choosing among get_datetime/get_date/get_time and a more formal output contract, but the example compensates.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%; the only parameter, timezone, is already documented with allowed values and default. The description adds no extra meaning beyond the example, so it meets the baseline but does not exceed it.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific action and resource: 'Get the current date and time', with an example output. It is clear but does not explicitly contrast itself with sibling tools get_date and get_time, so it misses the strongest differentiation credit.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives no guidance on when to choose this tool over get_date or get_time, and no exclusions or prerequisites. The intended use is only implied by the phrase 'current date and time'.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_timeA
Get the current time only (e.g. 14:30:00)
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | No | Timezone: "local" | "utc" | IANA string (default: "local") |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the burden; it discloses the output scope ('time only') and format (HH:MM:SS) with an example. For a side-effect-free read operation this is sufficient behavioral transparency, though it leaves timezone default behavior to the schema description.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single sentence with no filler; the verb, scope, and output example are front-loaded and every word adds information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a single-optional-parameter read tool, the description plus the schema fully covers the call: what it returns, the output format, and timezone options. It doesn't explicitly mention the default timezone in prose, but the schema already states it.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100% and the only parameter already documents allowed values ('local', 'utc', IANA string) plus default. The tool description adds no extra parameter semantics, so baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses a precise verb-resource pair ('get current time') and narrows scope with 'only' plus a concrete example format ('14:30:00'), which clearly separates it from sibling tools get_date and get_datetime.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The word 'only' signals that this tool is for the time component rather than date or full date-time, so usage context is clear. It does not explicitly name the sibling alternatives, but the intended selection is easy to infer from naming.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v1.0.4- First observed
get_date - First observed
get_datetime - First observed
get_time
TDQS
Scored across 3 tools
Each tool returns a distinct subset of the current date/time: date only, time only, or both. There is no overlap or ambiguity between them.
All tool names follow the exact same get_<resource> pattern with clear, descriptive nouns. The naming is perfectly uniform and predictable.
Three tools fully cover the trivial domain of fetching date/time information. The count is minimal but complete, with no redundant tools.
The server provides all practical variants (date, time, and combined datetime). There are no obvious missing operations for a date/time utility server.
Maintenance
Related MCP Connectors
Current time in any IANA time zone, plus the full time-zone list. Via timeapi.io.
Get the current time in any timezone and quickly look up common timezone info. Set a default timez…
Current time, timezone conversion & date math for AI agents. On Cloudflare Workers.
Convert and compare dates and times across any timezone with flexible, locale-aware formatting. Ad…
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides LLMs with current date and time information across any timezone, with configurable defaults and support for IANA timezone identifiers.116 npm3Apache 2.0
- AlicenseNot gradedqualityDmaintenanceProvides time and date functionality with support for multiple formats and timezones, enabling users to get current time/date, format timestamps, and retrieve comprehensive datetime information.55 npm1MIT
- AlicenseNot gradedqualityDmaintenanceProvides tools to get the current date and time in various formats (ISO, Unix timestamp, human-readable, custom) with configurable timezone support.MIT
- FlicenseBqualityDmaintenanceProvides current time and timezone conversion using IANA timezone names, with automatic system timezone detection.2-