Cover image
Try Now
2025-03-12

MCP Server - Faites de Claude dire l'heure! Très fiable et cohérent.

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

time-mcp

A Claude Model Configuration Protocol (MCP) server that provides real-time timezone-aware date and time information.

Features

  • Get current time in any IANA timezone
  • Easy integration with Claude AI through MCP
  • Comprehensive timezone support using Python's zoneinfo module
  • Simple JSON responses in ISO format

Installation

# Clone the repository
git clone https://github.com/yourusername/time-mcp.git
cd time-mcp

# Set up virtual environment (using uv)
uv venv
source .venv/bin/activate

# Install the package
pip install -e .

Usage

Running the Server

python -m src.time_mcp.server

This starts the MCP server locally, making the time tool available to Claude.

Available Tools

  • get_current_time: Returns the current time in the specified timezone
    • Parameter: timezone (string) - Any valid IANA timezone (e.g., "America/New_York", "Europe/London", "Asia/Tokyo")
    • Default: "UTC" if no timezone is specified

Development

# Run tests
pytest tests/

# Lint code
ruff check .

# Format code
ruff format .

Requirements

  • Python 3.10+
  • MCP library

License

MIT

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • OffchainLabs
  • Aller la mise en œuvre de la preuve de la participation Ethereum

  • huahuayu
  • Une passerelle API unifiée pour intégrer plusieurs API d'explorateur de blockchain de type étherscan avec la prise en charge du protocole de contexte modèle (MCP) pour les assistants d'IA.

  • deemkeen
  • Contrôlez votre MBOT2 avec un combo d'alimentation: MQTT + MCP + LLM

    Reviews

    3 (1)
    Avatar
    user_zCYXEMZj
    2025-04-16

    As a dedicated user of the time-mcp application, I can confidently say it's an indispensable tool for time management. The user-friendly interface combined with seamless performance makes it a must-have. Created by samay58, this product is not only reliable but also open-source, allowing for ongoing improvements by the community. Ideal for anyone looking to optimize their time efficiently, I highly recommend checking it out at https://github.com/samay58/time-mcp.