原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Currentdt MCP

作者:biswajitpanday版本 2.0.3i★ –i在你的电脑上运行
注册名称io.github.biswajitpanday/currentdt-mcp

安装

概览

作者提供的说明(英文原文)

Current date and time for AI assistants: UTC, local+offset and epoch together. Any IANA zone.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 注册中心没有列出需要填写的密钥。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "currentdt": {
      "command": "npx",
      "args": [
        "-y",
        "@strix-ai/currentdt-mcp"
      ]
    }
  }
}

在终端中运行这条命令

claude mcp add currentdt -- npx -y @strix-ai/currentdt-mcp

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "currentdt": {
      "command": "npx",
      "args": [
        "-y",
        "@strix-ai/currentdt-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "currentdt": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@strix-ai/currentdt-mcp"
      ]
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 biswajitpanday 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 32691 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 32691 个服务器的 43% 更新
  • 基础检查结果等于或优于此分类中其他 32691 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Currentdt MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(2.0.3)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Dialyne

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

作者:formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

在你的电脑上运行★ 440MIT14个月前更新
安装

Remote Desktop Commander

作者:desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

在云端运行★ 211前天更新
安装

Dialyne

作者:dialyne

Real phone calls in France for AI agents: dial +33 numbers, menus, hold, AI disclosure.

在云端运行今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

@strix-ai/currentdt-mcp

Real-time date and time access for AI assistants via Model Context Protocol (MCP)

Built for AI, Built with AI - Enhancing AI assistant capabilities through intelligent tooling

📑 Table of Contents

  • Overview
  • Quick Start
  • User Flow
  • Core Features
  • MCP Client Integration
  • Real-World Usage Examples
  • API Reference
  • Configuration
  • Common Format Patterns
  • Troubleshooting
  • Development
  • Support & Links
  • Contributing
  • License

Overview

@strix-ai/currentdt-mcp is an MCP server that provides AI assistants with instant access to current date and time information. Essential for generating timestamped code, migration files, and dated documentation.

Quick Start

# No install required -- point your MCP client at npx (see integration guides below)

npx -y @strix-ai/currentdt-mcp

Or install globally

npm install -g @strix-ai/currentdt-mcp

Requires Node.js 18 or newer.

User Flow

┌─────────────────────┐    ┌─────────────────┐    ┌─────────────────────┐

│ User Asks for │───▶│ AI Assistant │───▶│ get_current_ │ │ Timestamped Code │ │ │ │ datetime Tool │ └─────────────────────┘ └─────────────────┘ └─────────────────────┘ │ ▼ ┌─────────────────────┐ ┌─────────────────┐ ┌─────────────────────┐ │ Timestamped Output │◀───│ Current Time │◀───│ CurrentDT MCP │ │ Generated │ │ Returned │ │ Server │ └─────────────────────┘ └─────────────────┘ └─────────────────────┘ │ ▼ ┌─────────────────┐ ┌─────────────────────┐ │ Formatted │◀───│ Local/Remote │ │ DateTime │ │ Time Provider │ └─────────────────┘ └─────────────────────┘

Core Features

  • Never ambiguous about timezone - every response states the same instant as UTC, as local time with its real offset, and as epoch milliseconds
  • Any IANA timezone - timezone: "Asia/Tokyo" on the current time, and a convert_timezone tool that is DST-correct for the date in question
  • Multiple Formats - ISO 8601, named patterns, token patterns (YYYY-MM-DD HH:mm Z)
  • Structured output - structuredContent with a declared schema, plus plain text for older clients
  • Zero Configuration - npx -y and go; Node 18+
  • MCP Compatible - Cursor, Claude Desktop, VS Code, Windsurf

MCP Client Integration

Every client below uses the same server entry. npx -y fetches the package on first use and suppresses the install prompt, so nothing needs to be installed beforehand.

{

"command": "npx", "args": ["-y", "@strix-ai/currentdt-mcp"] }

Cursor

Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json in a project:

{

"mcpServers": { "currentdt": { "command": "npx", "args": ["-y", "@strix-ai/currentdt-mcp"] } } }

Claude Desktop

One-click: download currentdt-mcp.mcpb from the latest release and open it -- Claude Desktop installs it as an extension. No Node, npm or config file needed.

Or by config: edit claude_desktop_config.json -- on macOS at ~/Library/Application Support/Claude/, on Windows at %APPDATA%\Claude\:

{

"mcpServers": { "currentdt": { "command": "npx", "args": ["-y", "@strix-ai/currentdt-mcp"] } } }

VS Code

Add to .vscode/mcp.json in a workspace, or under "mcp" in user settings.json:

{

"servers": { "currentdt": { "command": "npx", "args": ["-y", "@strix-ai/currentdt-mcp"] } } }

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json, same mcpServers shape as Cursor.

Installed globally instead

If you prefer a fixed install over npx, run npm install -g @strix-ai/currentdt-mcp and use "command": "currentdt-mcp" with no args in any of the configs above.

Real-World Usage Examples

1. SQL Migration Files

User: "Create a migration to add user preferences table" Result: Migration file named 2025-08-26-143000_add_user_preferences.sql with current timestamp

MCP Tool Call Example:

{

"tool": "get_current_datetime", "arguments": { "format": "YYYY-MM-DD-HHmmss", "provider": "local" } }

2. Timestamped Logging

User: "Generate a logger that includes timestamps" Result: Logger implementation with current ISO datetime format

3. Dated Documentation

User: "Update the changelog with today's date" Result: Changelog entry with current date: ## [Unreleased] - 2026-09-16

API Reference

Tool: get_current_datetime

Parameters:

  • format (optional): "iso" (default) or a token pattern like "YYYY-MM-DD HH:mm:ss"
  • timezone (optional): IANA name, e.g. "Asia/Tokyo". Sets the zone for local, offset, timezone and any token format. Defaults to the host's zone. iso/utc are always UTC regardless.
  • provider (optional): "local" (default) or "remote"

Returns: the formatted string as text content, plus structuredContent stating the same instant from every clock -- so there is never any doubt whether a value is UTC or local:

{

"formatted": "2026-09-16 16:01:08", "iso": "2026-09-16T14:01:08.624Z", "utc": "2026-09-16T14:01:08.624Z", "local": "2026-09-16T16:01:08.624+02:00", "offset": "+02:00", "timezone": "Europe/Berlin", "epochMs": 1789567268624, "provider": "local" }

Invalid input (a token-less format, an unknown timezone, a failed provider) comes back as a tool error (isError: true) with a message written to be read by the model.

Tool: convert_timezone

Re-states a time in another zone, DST-correct for the date -- the case where a remembered offset is most likely wrong.

Parameters:

  • time (required): ISO 8601. With an offset ("2026-03-29T01:30:00+01:00", "...Z") it pins an instant. Without one it is a wall-clock reading and from is required.
  • from (optional): IANA zone the wall-clock time was read in.
  • to (required): IANA zone to convert into.
  • format (optional): token pattern for the text result, rendered in to.

Returns: the same structured shape as above (minus provider), plus from and dstTransition -- true when the instant is within an hour of a DST changeover in to.

{

"tool": "convert_timezone", "arguments": { "time": "2026-07-15T09:00:00", "from": "America/New_York", "to": "Europe/Berlin" } }

Result: `local: "2026-07-15T15:00:00.000+02:00"`. The same call for a January date yields

+01:00, because the offset follows the calendar, not a constant.

A wall-clock time that never exists (the spring-forward gap) resolves to the instant after the gap; one that exists twice (the autumn repeat) resolves to the first. An offset-less time with no from is refused rather than guessed.

Example:

{

"tool": "get_current_datetime", "arguments": { "format": "YYYY-MM-DD HH:mm:ss", "provider": "local" } }

Configuration (Optional)

Create currentdt-config.json for custom settings:

{

"defaultFormat": "iso", "defaultProvider": "local", "providers": { "local": { "name": "local", "priority": 1 }, "remote": { "name": "remote", "priority": 2, "config": { "url": "https://worldtimeapi.org/api/timezone/UTC", "timeout": 5000 } } }, "debug": false, "logLevel": "error" }

Environment variables override the file: CURRENTDT_FORMAT, CURRENTDT_PROVIDER, CURRENTDT_DEBUG, CURRENTDT_CONFIG.

Common Format Patterns

Timezone: "iso" returns UTC. Every token pattern renders the wall clock in

timezone (default: the host's zone). Add the Z token to emit the real UTC offset --

never write a literal Z into a pattern, since that would label local digits as UTC.

For timezone: "Europe/Berlin" (UTC+02:00 in summer), at the instant 2025-08-26T14:30:00.123Z:

formatoutputzone
"iso"2025-08-26T14:30:00.123ZUTC
"YYYY-MM-DD"2025-08-26local
"YYYY-MM-DD HH:mm:ss"2025-08-26 16:30:00local
"MM/DD/YYYY"08/26/2025local
"YYYY-MM-DD-HHmmss"2025-08-26-163000local
"YYYY-MM-DDTHH:mm:ss.SSSZ"2025-08-26T16:30:00.123+02:00local + offset

Tokens: YYYY MM DD HH mm ss SSS Z (+02:00) ZZ (+0200). Named patterns: filename, logdate, simple.

A pattern must contain at least one token. Free text such as "what time is it" is rejected rather than echoed back.

Troubleshooting

Tool Not Available
# Verify installation

npm list -g @strix-ai/currentdt-mcp

Test server directly

npx @strix-ai/currentdt-mcp --test

Debug Mode
export CURRENTDT_DEBUG=true

npx @strix-ai/currentdt-mcp

Development

git clone https://github.com/biswajitpanday/CurrentDT-mcp.git

cd currentdt-mcp npm install npm run dev

npm Scripts
  • npm run build - Build TypeScript
  • npm test - Run all tests
  • npm run lint - ESLint check
  • npm run format - Prettier format

Contributing

  1. Fork the repository
  2. Create a feature branch: git checkout -b feature/amazing-feature
  3. Commit changes: git commit -m 'Add amazing feature'
  4. Push to branch: git push origin feature/amazing-feature
  5. Open a Pull Request

Support & Links

License

MIT License - see LICENSE file for details.


Made with ❤️ by [Biswajit Panday](https://biswajitpanday.github.io)

问 PopNx