t

time-mcp-pypi

@domdomegg/time-mcp-pypi
Hosted
0 Stars 2 次浏览 domdomegg 更新于 2026-08-23

Get the current UTC time in RFC 3339 format.

MCP 服务配置

复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用

{
  "mcpServers": {
    "time-mcp-pypi": {
      "args": [
        "time-mcp-pypi@1.1.1"
      ],
      "command": "uvx"
    }
  }
}

可用工具 (5 个)

该服务在 MCP 协议中暴露的工具,AI 可按需调用

tavily_search 14 个参数 需填 1 项

Search the web for current information on any topic. Use for news, facts, or data beyond your knowledge cutoff. Returns snippets and source URLs.

必填参数:query

tavily_extract 6 个参数 需填 1 项

Extract content from URLs. Returns raw page content in markdown or text format.

必填参数:urls

tavily_crawl 11 个参数 需填 1 项

Crawl a website starting from a URL. Extracts content from pages with configurable depth and breadth.

必填参数:url

tavily_map 8 个参数 需填 1 项

Map a website's structure. Returns a list of URLs found starting from the base URL.

必填参数:url

tavily_research 2 个参数 需填 1 项

Perform comprehensive research on a given topic or question. Use this tool when you need to gather information from multiple sources to answer a question or complete a task. Returns a detailed response based on the research findings.

必填参数:input

服务介绍

Time MCP Server

A minimal Model Context Protocol (MCP) server built with Python.

The server provides one simple tool:

  • get_current_utc_time - Gets the current UTC date and time in RFC 3339 format

# Quick start

Prerequisites:

  • Python 3.8 or later
  • Claude Desktop or another MCP-compatible client

Install and run with:

pip install time-mcp-pypi  #  or from a local clone: pip install -e .
time-mcp-pypi

# Configuration

To use this server with Claude Desktop, add the following to your MCP configuration file:

# # Windows

Add to %APPDATA%\Claude\claude_desktop_config.json:

{
  "mcpServers": {
    "time-server": {
      "command": "time-mcp-pypi"
    }
  }
}

# # macOS

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "time-server": {
      "command": "time-mcp-pypi"
    }
  }
}

# Usage

Once configured, you can use the time tool in Claude Desktop:

  • "What's the current UTC time?"
  • "Give me an RFC 3339 timestamp"

# Publishing New Versions

To publish a new version of the package:

  1. Update the version in pyproject.toml, and commit as Release x.y.z

  2. Tag the release with a version number prefixed with 'v':

    git tag v1.0.1
    
  3. Push the tag to trigger the publishing pipeline:

    git push - -tags
    

Then the CI/CD pipeline will automatically publish the package.

# # CI/CD

The project includes GitHub Actions workflows for:

  • Build & Test - Builds and tests the Python package
  • Publish - Automatically publishes to PyPI and creates GitHub releases on version tags

<!- - mcp-name: io.github.domdomegg/time-mcp-pypi - ->

相关 MCP 服务