Time Server
时间服务器
使用模型上下文协议标准构建的用于时区转换和时间相关操作的 MCP 服务器。
目录
Related MCP server: MCP Time Server
特征
获取任何时区的当前时间
在时区之间转换时间
采用 MCP 协议标准构建
类型安全的 Python 实现
RESTful API 端点
全面的错误处理
时区数据库集成
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装时间服务器:
npx -y @smithery/cli install @clssck/mcp-time-server --client claude手动安装
pip install .用法
启动服务器:
python -m time_serverAPI 文档
工具
get_current_time
获取特定时区的当前时间
参数:
timezone:字符串-IANA 时区标识符(例如“America/New_York”)
返回:
ISO 8601 格式的当前时间
convert_time
在时区之间转换时间
参数:
time:字符串-以 ISO 8601 格式转换的时间from_timezone:string - 源时区to_timezone:字符串-目标时区
返回:
转换为 ISO 8601 格式的时间
发展
安装开发依赖项:
pip install -e .[dev]运行测试:
pytest检查代码质量:
ruff check .
mypy src行为守则
本项目遵守贡献者契约行为准则。参与本项目即表示您同意遵守本准则。
执照
麻省理工学院
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 Connectors
MCP server exposing klokin time-tracking operations (employees, time entries, stores) to AI clients.
MCP server providing attendance data queries via the CloudTime API.
MCP server for Modern Treasury — payment orders, transactions, counterparties and ledgers.
Related MCP Servers
- 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
- FlicenseNot gradedqualityDmaintenanceA minimal MCP server that provides current time information with configurable timezone support set on the client side.
- 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.
- AlicenseAqualityFmaintenanceMCP server providing various date/time functions including current time, timezone conversion, and relative time calculations. Supports both local stdio and remote HTTP access via Cloudflare Workers.64902MIT
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/clssck/mcp-time-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server