GetUTC MCP Server

GetUTC MCP Server

Provides accurate UTC time by aggregating and verifying data from multiple reliable sources like WorldClockAPI, Google, and GitHub. It enables users to retrieve time in various formats including ISO, Unix timestamps, and human-readable strings with automatic source fallback for reliability.

Category
Visit Server

README

GetUTC MCP Server

English | 中文


English

A simple and reliable MCP (Model Context Protocol) server that provides accurate UTC time from multiple verified sources. Ready to use out of the box - just clone and configure!

✨ Features

  • Multiple Time Sources: Verified against 4 reliable sources for accuracy
    • WorldClockAPI (JSON API)
    • HTTP Date headers from WorldClock, Google, and GitHub
  • Multiple Formats: ISO, timestamp, readable, date-only, time-only
  • Pre-built: Ready to use without compilation
  • Reliable: Automatic fallback between sources

🚀 Quick Start

  1. Clone the repository

    git clone https://github.com/very99/getutc-mcp.git
    cd getutc-mcp
    
  2. Configure your MCP client

    Add to your MCP configuration file:

    For Amazon Q CLI (~/.aws/amazonq/mcp.json):

    {
      "mcpServers": {
        "getutc": {
          "command": "node",
          "args": ["/path/to/getutc-mcp/dist/index.js"],
          "timeout": 30000
        }
      }
    }
    

    For Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):

    {
      "mcpServers": {
        "getutc": {
          "command": "node",
          "args": ["/path/to/getutc-mcp/dist/index.js"]
        }
      }
    }
    
  3. Start using

    Ask your MCP client:

    • "What's the current UTC time?"
    • "Get UTC timestamp"
    • "Show today's date"

📖 Tool Reference

Tool Name: get_utc_time

Parameters:

  • format (optional): Output format
    • "iso" (default): ISO 8601 format (2025-06-21T16:18:14.000Z)
    • "timestamp": Unix timestamp (1734789494)
    • "readable": Human readable (Saturday, June 21, 2025 at 4:18:14 PM UTC)
    • "date-only": Date only (2025-06-21)
    • "time-only": Time only (16:18:14)

🔧 Requirements

  • Node.js (version 14 or higher)
  • MCP-compatible client (Amazon Q CLI, Claude Desktop, etc.)

📁 Project Structure

getutc-mcp/
├── dist/           # Pre-built files (ready to use)
│   └── index.js    # Main server file
├── src/            # Source code
├── package.json    # Dependencies
└── README.md       # This file

🤝 Contributing

Feel free to submit issues and pull requests!

📄 License

MIT License


中文

一个简单可靠的 MCP (Model Context Protocol) 服务器,通过多个验证源提供准确的 UTC 时间。开箱即用 - 只需克隆和配置!

✨ 特性

  • 多时间源: 通过4个可靠源验证确保准确性
    • WorldClockAPI (JSON API)
    • WorldClock、Google、GitHub 的 HTTP Date 头
  • 多种格式: ISO、时间戳、可读格式、仅日期、仅时间
  • 预编译: 无需编译即可使用
  • 可靠性: 源之间自动故障转移

🚀 快速开始

  1. 克隆仓库

    git clone https://github.com/very99/getutc-mcp.git
    cd getutc-mcp
    
  2. 配置你的 MCP 客户端

    添加到你的 MCP 配置文件:

    Amazon Q CLI (~/.aws/amazonq/mcp.json):

    {
      "mcpServers": {
        "getutc": {
          "command": "node",
          "args": ["/path/to/getutc-mcp/dist/index.js"],
          "timeout": 30000
        }
      }
    }
    

    Claude Desktop (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json):

    {
      "mcpServers": {
        "getutc": {
          "command": "node",
          "args": ["/path/to/getutc-mcp/dist/index.js"]
        }
      }
    }
    
  3. 开始使用

    询问你的 MCP 客户端:

    • "现在的UTC时间是多少?"
    • "获取UTC时间戳"
    • "显示今天的日期"

📖 工具参考

工具名称: get_utc_time

参数:

  • format (可选): 输出格式
    • "iso" (默认): ISO 8601 格式 (2025-06-21T16:18:14.000Z)
    • "timestamp": Unix 时间戳 (1734789494)
    • "readable": 人类可读格式 (Saturday, June 21, 2025 at 4:18:14 PM UTC)
    • "date-only": 仅日期 (2025-06-21)
    • "time-only": 仅时间 (16:18:14)

🔧 系统要求

  • Node.js (版本 14 或更高)
  • 兼容 MCP 的客户端 (Amazon Q CLI, Claude Desktop 等)

📁 项目结构

getutc-mcp/
├── dist/           # 预编译文件 (可直接使用)
│   └── index.js    # 主服务器文件
├── src/            # 源代码
├── package.json    # 依赖项
└── README.md       # 本文件

🤝 贡献

欢迎提交问题和拉取请求!

📄 许可证

MIT 许可证


Troubleshooting | 故障排除

English: If you encounter issues, make sure:

  • Node.js is installed and accessible
  • The path in your MCP configuration is correct and absolute
  • Your MCP client supports the MCP protocol

中文: 如果遇到问题,请确保:

  • Node.js 已安装且可访问
  • MCP 配置中的路径正确且为绝对路径
  • 你的 MCP 客户端支持 MCP 协议

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured