MCP 时间服务器
@SzeMeng76
About MCP 时间服务器
No overview available yet
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"time": {
"command": "npx",
"args": [
"-y",
"mcp-time-server"
]
}
}
}Tools
2获取指定时区的当前时间
在不同时区之间转换时间
Overview
What is MCP 时间服务器?
MCP 时间服务器 is an MCP-based server that provides timezone utilities. It allows users to fetch the current time in a specified timezone and convert times between timezones. It is built for use with MCP-compatible clients and applications.
How to use MCP 时间服务器?
Install the package globally via npm install -g mcp-time-server or run directly with npx -y mcp-time-server. You can launch it as an MCP server using stdio by configuring the command and args in your MCP environment, or use it as a command-line tool or a library in your JavaScript code.
Key features of MCP 时间服务器
- Provides
get_current_timetool for any timezone (defaults to UTC). - Provides
convert_timetool to convert times between timezones. - Supports IANA timezone names like "Asia/Tokyo".
- Integrates as an MCP server via stdio transport.
- Can be used as a CLI or imported as a library.
- Lightweight and requires only Node.js.
Use cases of MCP 时间服务器
- Getting the current time in a specific timezone for display.
- Converting meeting times across timezones for scheduling.
- Providing timezone-aware responses in MCP-based assistants.
- Embedding timezone conversion in applications via MCP.
FAQ from MCP 时间服务器
What tools does MCP 时间服务器 provide?
It offers two tools: get_current_time to fetch the current time in a timezone, and convert_time to convert a time from one timezone to another.
How do I install MCP 时间服务器?
Install globally with npm install -g mcp-time-server or use npx -y mcp-time-server without installation.
What parameters does the convert_time tool require?
It requires source_timezone, time (in HH:MM format), and target_timezone.
How is MCP 时间服务器 accessed as an MCP server?
It communicates via stdio transport; you configure it with "type": "stdio", "command": "npx", "args": ["-y", "mcp-time-server"].
What license is MCP 时间服务器 released under?
MIT.
Frequently asked questions
What tools does MCP 时间服务器 provide?
It offers two tools: `get_current_time` to fetch the current time in a timezone, and `convert_time` to convert a time from one timezone to another.
How do I install MCP 时间服务器?
Install globally with `npm install -g mcp-time-server` or use `npx -y mcp-time-server` without installation.
What parameters does the convert_time tool require?
It requires `source_timezone`, `time` (in HH:MM format), and `target_timezone`.
How is MCP 时间服务器 accessed as an MCP server?
It communicates via stdio transport; you configure it with `"type": "stdio", "command": "npx", "args": ["-y", "mcp-time-server"]`.
What license is MCP 时间服务器 released under?
MIT.
Basic information
More Productivity MCP servers
Sitespeak Claude Plugin
sitespeakaiManage your SiteSpeakAI chatbot from Claude Code - a plugin and MCP server for optimizing chatbots in plain English.
Todoist MCP Server
greirsonMCP server that connects Claude to Todoist for natural language task and project management with bulk operations
TickTick MCP Server
alexarevalo9A Model Context Protocol (MCP) server designed to integrate with the TickTick task management platform, enabling intelligent context-aware task operations and automation.
mcp-server-macos-use
mediar-aiAI agent that controls computer with OS-level tools, MCP compatible, works with any model
Desktop Commander
wonderwhy-erThis is MCP server for Claude that gives it terminal control, file system search and diff file editing capabilities
Comments