🚀 时间 MCP 服务器:赋予 LLM 时间感知能力
模型上下文协议 (MCP) 服务器实现允许 LLM 具有时间感知功能。
工具
current_time
:获取当前时间(UTC 和本地时间)relative_time
:获取相对时间get_timestamp
:获取时间的时间戳days_in_month
:获取月份中的天数convert_time
:在时区之间转换时间get_week_year
:获取一年中的第几周和第几周
安装
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 time-mcp:
npx -y @smithery/cli install @yokingma/time-mcp --client claude
手动安装(可选)
npm install -g time-mcp
使用 npx
npx -y time-mcp
在光标上运行
您的mcp.json
文件将如下所示:
{
"mcpServers": {
"time-mcp": {
"command": "npx",
"args": ["-y", "time-mcp"]
}
}
}
在风帆冲浪中奔跑
将其添加到您的./codeium/windsurf/model_config.json
文件中:
{
"mcpServers": {
"time-mcp": {
"command": "npx",
"args": ["-y", "time-mcp"]
}
}
}
执照
MIT 许可证 - 详情请参阅LICENSE文件。
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
赋予法学硕士 (LLM) 时间感知能力。为您的法学硕士 (LLM) 提供时间感知能力。轻松获取当前时间、时区转换和时间戳。使用精准的时间相关功能,提升您的应用水平。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityAccess the time in any timezone and get the current local timeLast updated -139MIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that provides time and timezone conversion capabilities, enabling LLMs to get current time information and perform timezone conversions using IANA timezone names.Last updated -21
- AsecurityFlicenseAqualityA Model Context Protocol server that provides time and timezone conversion capabilities, enabling LLMs to get current time information and perform timezone conversions using IANA timezone names.Last updated -2
- AsecurityAlicenseAqualityGives large language models time awareness capabilities through various time-related functions including current time retrieval, timezone conversion, and relative time calculations.Last updated -61,849MIT License