time-mcp
Allows retrieving accurate current time from Apple's public NTP server (time.apple.com), including the local clock offset, via the get_time_from_ntp tool.
Allows retrieving accurate current time from Cloudflare's public NTP server (time.cloudflare.com) using the get_time_from_ntp tool.
Allows retrieving accurate current time from Google's public NTP server (time.google.com) using the get_time_from_ntp tool.
Click on "Install 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., "@time-mcpwhat's the current time in Tokyo?"
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.
time-mcp
An MCP server that returns the local current time and the current time in any IANA timezone.
Tools
Tool | Arguments | Returns | Description |
| (none) | time object | Current date and time of the machine running the server |
|
| time object | Current date and time in the given timezone. Errors if the name is unknown |
|
|
| Available IANA timezone names, max 200 results |
|
| time object + | Current time from a public NTP server instead of the local clock |
The time object returned by the tools above:
Field | Type | Example |
| string |
|
| string (ISO 8601) |
|
| string |
|
| string |
|
| string |
|
| string |
|
| integer |
|
get_time_from_ntp adds two fields: ntp_server (the host actually used) and
local_clock_offset_seconds (how far the machine's clock is from the NTP time;
positive means the local clock is behind).
NTP servers
server takes one of these short names, or any NTP hostname.
Short name | Host | Operator |
|
| Apple |
|
| Microsoft |
|
| NICT (Japan) |
|
| |
|
| Cloudflare |
|
| NTP Pool Project |
When server is omitted, time.apple.com is tried first and time.windows.com
is used as a fallback. Requires outbound UDP port 123; the timeout is 5 seconds.
Related MCP server: time-mcp-local
Install
pip install time-mcpOr run it without installing:
uvx time-mcpDevelopment setup
uv syncTry it
uv run mcp dev src/time_mcp/server.pyRegister with Claude Code
claude mcp add time -- uvx time-mcpOr in claude_desktop_config.json:
{
"mcpServers": {
"time": {
"command": "uvx",
"args": ["time-mcp"]
}
}
}Register with Codex CLI
codex mcp add time -- uvx time-mcpOr add it to ~/.codex/config.toml by hand:
[mcp_servers.time]
command = "uvx"
args = ["time-mcp"]Check that it is registered:
codex mcp listRunning from a local checkout
Replace uvx time-mcp with the following in any of the configurations above:
uv --directory /path/to/mcp_server-time run time-mcpLicense
MIT License. See LICENSE.
Available Tools
4 toolsget_local_timeA
Return the current local date and time of the machine running this server.
| Name | Required | Description | Default |
|---|---|---|---|
No parameters | |||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries the full behavioral burden. It clearly states the operation and result, and the verb 'Return' implies a read-only action. It does not specify the output format, but for a simple time lookup this is a minor omission.
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?
The description is a single, front-loaded sentence with no redundant words. Every word contributes to defining the tool's purpose.
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 zero-parameter, no-output-schema tool, the description is nearly complete: it states what is returned and from where. The only missing detail is the return format, which is acceptable given the tool's simplicity.
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?
There are no parameters, so the baseline is 4. The description appropriately adds no parameter-related information because none exist.
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 specific verb ('Return') and clearly identifies the resource ('current local date and time of the machine running this server'). It also distinguishes itself from siblings like get_time_in_timezone by emphasizing local server time rather than a selected timezone.
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 phrase 'local date and time of the machine' gives clear context that this tool is for the server's own time, not a timezone-converted or NTP-sourced value. It does not explicitly name alternatives or exclusions, but the intended use is evident.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_time_from_ntpA
Get the current time from a public NTP server instead of the local clock.
server accepts a short name (apple, microsoft, windows, nict, google,
cloudflare, pool) or a hostname. When omitted, time.apple.com is tried
first and time.windows.com is used as a fallback.
timezone is an IANA name for the returned time; the local timezone is
used when omitted.
| Name | Required | Description | Default |
|---|---|---|---|
| server | No | ||
| timezone | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It does well by detailing the default server behavior (time.apple.com tried first, time.windows.com fallback) and the timezone default (local timezone used when omitted). It does not describe return format or network failure behavior, but for a simple read-only time tool the disclosed defaults and fallbacks are meaningful and transparent.
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?
The description is concise and front-loaded: the first sentence states the core purpose, and the following lines clearly explain each parameter and default. There is no redundant or filler content; every sentence adds useful 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?
The description covers purpose, both parameters, accepted server values, and fallback/default behavior despite having no output schema and no annotations. The main gap is that it does not specify the returned time format, which would be useful absent an output schema, but for a straightforward time-query tool this is a minor omission.
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 input schema provides 0% description coverage and only bare titles/defaults, so the description must fully compensate. It does: server is explained as accepting a named short list of providers or a hostname, and timezone is explained as an IANA name with local-time default. This gives an agent all the semantic information needed to use both parameters correctly.
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 opens with a clear verb and resource: 'Get the current time from a public NTP server instead of the local clock.' This immediately distinguishes the tool from sibling get_local_time and makes the tool's core behavior obvious. The rest of the description specifies the configurable server and timezone, leaving no ambiguity about what the tool does.
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 clearly positions this tool as the NTP-based alternative to the local clock, which gives useful when-to-use context relative to get_local_time. It does not explicitly name sibling alternatives or state conditions for choosing get_time_in_timezone over this tool, so it falls short of the most explicit guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
get_time_in_timezoneA
Return the current date and time in the given IANA timezone (e.g. Asia/Tokyo, America/New_York).
| Name | Required | Description | Default |
|---|---|---|---|
| timezone | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral transparency. It clearly states the read-only behavior of returning current date and time, but does not disclose behavior for invalid timezone values, time source, or error conditions. This is adequate for a simple lookup tool but leaves some behavioral gaps.
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?
The description is a single sentence that immediately states the action and the required parameter format, with examples folded in naturally. There is no filler, repetition, or extraneous detail.
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 tool with one required parameter and no output schema, the description is nearly sufficient. It covers the core purpose and parameter semantics, though it does not specify the response format or error behavior for invalid timezone strings. These are minor omissions given the tool's low complexity.
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 only defines the parameter name 'timezone' with 0% description coverage. The tool description compensates by explaining that the value is an IANA timezone and provides two concrete examples, which adds essential semantic meaning beyond the raw schema.
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 ('Return'), a clear resource ('current date and time in the given IANA timezone'), and includes concrete examples. This makes the tool's purpose immediately obvious and distinguishes it from siblings like get_local_time and list_timezones.
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 implies when to use the tool: when a caller needs the current date/time for a specified IANA timezone. However, it does not explicitly state when not to use it or mention alternative tools, leaving the routing decision partially to inference.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
list_timezonesA
Search available IANA timezone names. query is a case-insensitive substring match.
| Name | Required | Description | Default |
|---|---|---|---|
| query | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It usefully discloses that query matching is case-insensitive and substring-based, but does not mention read-only behavior, result size, or what happens when query is empty. The disclosure is helpful but minimal.
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?
The description is two efficiently worded sentences with no filler. The primary action and the key parameter behavior are both stated clearly and concisely.
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 tool with one optional param and an output schema, the description is sufficient for an agent to understand its purpose and the query behavior. It could be slightly more complete by noting empty-query behavior or explicitly relating itself to sibling tools, but these are minor gaps.
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 coverage is 0%, so the description must clarify the query parameter. It does so by explaining it is a case-insensitive substring match. It does not describe the default behavior, but the default is visible in the schema and the core meaning is conveyed.
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 clearly states the tool searches available IANA timezone names, which is a specific verb and resource. It also naturally distinguishes itself from sibling tools like get_local_time and get_time_in_timezone, which retrieve times rather than listing/searching names.
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 implies usage: use this tool when you need to find timezone names via substring matching. It does not explicitly mention alternatives or when not to use it, but the sibling tool names make the distinction reasonably clear.
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. Dates show when Glama detected each change.
4 tool updates
v0.1.0- First observed
get_local_time - First observed
get_time_from_ntp - First observed
get_time_in_timezone - First observed
list_timezones
TDQS
Each tool has a distinct purpose: local clock time, timezone-specific time, timezone lookup, and NTP-sourced time. There is minor overlap between get_local_time and get_time_in_timezone when the timezone is omitted, but the descriptions make the intended differences clear.
Tool names follow a consistent get_/list_ verb pattern and clearly indicate their function. The naming style is uniform and predictable across all four tools.
Four tools is a well-scoped size for a time-focused MCP server. Each tool covers a distinct time-related need without unnecessary bloat.
The tool set covers the core time domain: local time, arbitrary timezone time, timezone discovery, and external NTP time. Timezone conversion and UTC access are achievable via get_time_in_timezone, so there are no obvious dead ends.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Current time in any IANA time zone, plus the full time-zone list. Via timeapi.io.
A real clock for AI agents: current time, timezone conversion, and DST facts from the IANA tzdb.
Get the current time in any timezone and quickly look up common timezone info. Set a default timez…
Get the current time in your chosen timezone and view common timezone information. Simplify schedu…
Related MCP Servers
- AlicenseAqualityCmaintenanceProvides high-accuracy time information by querying multiple NTP servers for consensus time, and comprehensive timezone support using IANA tzdata for conversions, DST handling, and clock drift detection independent of system time.73Apache 2.0
- FlicenseBqualityDmaintenanceProvides current time and timezone conversion using IANA timezone names, with automatic system timezone detection.2-
- AlicenseAqualityCmaintenanceProvides current date, time, and datetime with optional timezone support (local, UTC, or IANA timezone strings).315MIT
- AlicenseNot gradedqualityDmaintenanceProvides current time and timezone conversion using IANA timezone names, enabling LLMs to get system time or convert times between timezones.MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/kujirahand/mcp_server-time'
If you have feedback or need assistance with the MCP directory API, please join our Discord server