Time MCP
时间-MCP
克劳德模型配置协议 (MCP) 服务器提供实时时区感知的日期和时间信息。
特征
获取任何 IANA 时区的当前时间
通过 MCP 轻松与 Claude AI 集成
使用 Python 的 zoneinfo 模块提供全面的时区支持
ISO 格式的简单 JSON 响应
Related MCP server: MCP Node Time
安装
# 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 .用法
运行服务器
python -m src.time_mcp.server这会在本地启动 MCP 服务器,使 Claude 可以使用时间工具。
可用工具
get_current_time:返回指定时区的当前时间参数:
timezone(字符串)-任何有效的 IANA 时区(例如,“America/New_York”、“Europe/London”、“Asia/Tokyo”)默认值:如果未指定时区,则为“UTC”
发展
# Run tests
pytest tests/
# Lint code
ruff check .
# Format code
ruff format .要求
Python 3.10+
MCP 库
执照
麻省理工学院
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityDmaintenanceA simple MCP server that provides accurate date and time information to Claude models, ensuring they always use the correct current date and time when creating time-sensitive content.3
- AlicenseAqualityDmaintenanceA MCP server that provides timezone-aware date and time operations. This server addresses the common issue where AI assistants provide incorrect date information due to timezone confusion.44MIT
- AlicenseAqualityDmaintenanceAn MCP server that provides real-time date, time and time zone information for AI assistants.42Apache 2.0
- FlicenseNot gradedqualityDmaintenanceA hosted MCP server providing current time, date, and timezone conversion tools specifically designed for Claude Code remote sessions. It enables users to fetch localized time data and convert times between IANA timezones through a centralized API.
Related MCP Connectors
A real clock for AI agents: current time, timezone conversion, and DST facts from the IANA tzdb.
Timezone MCP — wraps WorldTimeAPI (free, no auth)
A time server that keeps your AI honest about time. Real clock + drift guard, zero dependencies.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/samay58/time-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server