
time mcp
MCP server - make Claude tell the time! Highly reliable and consistent.
Repository Info
About This Server
MCP server - make Claude tell the time! Highly reliable and consistent.
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
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
- Parameter:
Development
# Run tests
pytest tests/
# Lint code
ruff check .
# Format code
ruff format .
Requirements
- Python 3.10+
- MCP library
License
MIT
Quick Start
Clone the repository
git clone https://github.com/samay58/time-mcpInstall dependencies
cd time-mcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.