AI Skill Hub 推荐使用:多时区桌面时钟 是一款优质的MCP工具。AI 综合评分 7.5 分,在同类工具中表现稳健。如果你正在寻找可靠的MCP工具解决方案,这是一个值得深入了解的选择。
显示多个时区的桌面时钟应用,支持粘性便签和命令行界面
多时区桌面时钟 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
显示多个时区的桌面时钟应用,支持粘性便签和命令行界面
多时区桌面时钟 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/bayashi/mclocks
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"-------": {
"command": "npx",
"args": ["-y", "mclocks"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 多时区桌面时钟 执行以下任务... Claude: [自动调用 多时区桌面时钟 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"_______": {
"command": "npx",
"args": ["-y", "mclocks"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"><small> <a href="docs/i18n/README.ja.md">日本語</a> / <a href="docs/i18n/README.zh.md">中文</a> / <a href="docs/i18n/README.hi.md">हिन्दी</a> / <a href="docs/i18n/README.ar.md">العربية</a> / <a href="docs/i18n/README.es.md">Español</a> / <a href="docs/i18n/README.fr.md">Français</a> / <a href="docs/i18n/README.pt.md">Português</a> / <a href="docs/i18n/README.de.md">Deutsch</a> / <a href="docs/i18n/README.tr.md">Türkçe</a> / <a href="docs/i18n/README.id.md">Bahasa Indonesia</a> / <a href="docs/i18n/README.kr.md">한국어</a> </small></p>
----------
<p align="center">The desktop text clock application for multiple time zones<br> with Sticky note, Text convertor, Local debug web server, Markdown viewer and etc.</p>
<p align="center"> <img src="https://raw.githubusercontent.com/bayashi/mclocks/main/screenshot/mclocks-screenshot-0.1.8-custom.png" alt="screenshot" /> </p>
Clock-related features:
Time waits for no one:
A developer is never without a clock:
IN clauses🔔 NOTE: mclocks doesn't need an internet connection — everything runs 100% locally.
Click mclocks app window, then use the following keyboard shortcuts to process clipboard text and open it in an editor:
Ctrl + i: Quotes each line of clipboard text with double quotes and appends a comma to the end (except the last line)Ctrl + Shift + i: Appends a comma to the end of each line (no quotes) for INT list IN condition (except the last line)Ctrl + t: Converts clipboard Excel/TSV text into a Markdown table and opens it in editorCtrl + Shift + t: Opens a Markdown table template in editorEmpty lines are preserved as-is in all operations.
(This Convert Text Feature has nothing to do with clocks or time, but software developers might find it handy! 😊)
The config.json file should be formatted as JSON (JSONC-supported), as shown below.
{ "clocks": [ { "name": "UTC", "timezone": "UTC" } ], "format": "MM-DD ddd HH:mm", "locale": "en", "color": "#fff", "font": "Courier, monospace", "size": 14, "margin": "1.65em", "forefront": false }
The sections below explain the fields you can set in config.json.
The clocks field is an array of objects, each containing name and timezone properties. Both should be String. By default, both are UTC.
name is a label that will be displayed for the clock.Here is an example of a clocks array for three time zones.
{ "clocks": [ { "name": "Tokyo", "timezone": "Asia/Tokyo" }, { "name": "UTC", "timezone": "UTC" }, { "name": "SF", "timezone": "America/Los_Angeles" } ], "format": "MM-DD ddd HH:mm", ...snip... }
string: MM-DD ddd HH:mm
The format field is a date-time format string used to display the clock. To create a custom date-time format, please refer to this formatting guide.
string: ""
The format2 field is same as format. These are switched each other by Ctrl + f key. The format2 is optional field.
string: en
The locale field determines the language settings for displaying the date-time. You can find a list of supported locales here.
string: #fff
The color field defines the color of the date-time text. You can use named colors, RGB hex values, RGB values (e.g., RGB(255, 0, 0)), or any valid CSS color value.
string: Courier, monospace
The font is a font name to display date-time. It should be monospaced font. If you would set non-fixed-width font, then your mclocks may have an undesirable wobbling effect.
number | string: 14
The size is a size of charactor for date-time, in pixel. It can also be specified as a string that includes a unit (e.g., "125%", "1.5em").
string: 1.65em
The margin field determines the space between clocks
bool: false
If the forefront field is set to true, the mclocks application will always be displayed on top of other application windows.
The config.json file allows you to configure the clocks according to your preferences.
The config.json file should be located in the following directories:
C:\Users\{USER}\AppData\Roaming\com.bayashi.mclocks\/Users/{USER}/Library/Application Support/com.bayashi.mclocks/When you start mclocks, then press Ctrl + o to edit your config.json file.
You can also use the online config.json generator: https://bayashi.github.io/mclocks/mclocks-config-generator/
When dump: true is set in the web configuration, the web server provides a /dump endpoint that returns request details as JSON.
The endpoint responds with a JSON object containing: method: HTTP method (e.g., "GET", "POST") path: Request path after /dump/ (e.g., "/test" for /dump/test) query: Query parameters as an array of key-value objects (e.g., [{"key1": "value1"}, {"key2": "value2"}]) headers: Request headers as an array of key-value objects (e.g., [{"Content-Type": "application/json"}]) body: Request body as a string (if present) parsed_body: Parsed JSON object if Content-Type indicates JSON, or error message string if parsing fails
Access the dump endpoint at http://127.0.0.1:3030/dump or any path under /dump/ (e.g., /dump/test?key=value).
When slow: true is set in the web configuration, the web server provides a /slow endpoint that delays the response before returning 200 OK.
The endpoint is accessible via any HTTP method (GET, POST, etc.) and supports the following paths:
/slow: Waits 30 seconds (default) and returns 200 OK/slow/120: Waits 120 seconds (or any specified number of seconds) and returns 200 OKThe maximum allowed value is 901 seconds (15 minutes + 1 second). Requests exceeding this limit return a 400 Bad Request error.
This endpoint is useful for testing timeout behavior, connection handling, or simulating slow network conditions.
If an invalid seconds parameter is provided (e.g., /slow/abc), the endpoint returns a 400 Bad Request error.
When status: true is set in the web configuration, the web server provides a /status/{code} endpoint that returns arbitrary HTTP status codes defined in RFC standards (100-599).
The endpoint returns a plain text response with the status code and its corresponding phrase, along with appropriate headers as required by the HTTP specification.
Examples: http://127.0.0.1:3030/status/200 - returns 200 OK http://127.0.0.1:3030/status/404 - returns 404 Not Found http://127.0.0.1:3030/status/500 - returns 500 Internal Server Error http://127.0.0.1:3030/status/418 - returns 418 I'm a teapot (with special message) * http://127.0.0.1:3030/status/301 - returns 301 Moved Permanently (with Location header)
Status-specific headers:
The endpoint automatically adds appropriate headers for specific status codes:
Location headerWWW-Authenticate headerAllow headerProxy-Authenticate headerContent-Range headerUpgrade headerRetry-After header (60 seconds)Retry-After header (60 seconds)WWW-Authenticate headerResponse body handling:
{code} {phrase} (e.g., "404 Not Found")This endpoint is useful for testing how your applications handle different HTTP status codes, error handling, redirects, authentication requirements, and rate limiting scenarios.
When web.editor.reposDir is set in the configuration file, the web server provides a /editor endpoint that allows you to open local files in your editor directly from browser's GitHub URLs.
Configuration:
Add the following to your web configuration of editor:
{ "web": { "root": "/path/to/your/webroot", "editor": { "reposDir": "~/repos", "includeHost": false, "command": "code", "args": ["-g", "{file}:{line}"] } } }
reposDir: Path to your local repositories directory. Supports ~ for home directory expansion (e.g., "~/repos" on macOS or "C:/Users/username/repos" on Windows). This directory must exist.includeHost: If true, local path resolution includes the original host as a directory (e.g. {reposDir}/{host}/{owner}/{repo}/...). If false, it resolves to {reposDir}/{owner}/{repo}/... (default: false).command: Command name or path to your editor executable (default: code)args: Arguments template array. Use {file} and {line} placeholders. If #L... is not present in URL, {line} uses 1.How it works:
/editor endpoint, it converts the GitHub path to a local file path{reposDir}/{owner}/{repository_name}/{file_path}code -g {local_file_path}:{line_number})Bookmarklet:
Create a bookmarklet to quickly open GitHub files in your local editor. Replace 3030 with your configured port number:
javascript:(function(){var u=new URL(document.location.href);open('http://127.0.0.1:3030/editor/'+u.host+u.pathname+u.hash,'_blank');})()
Line number support:
You can specify a line number using the hash fragment in the URL: * https://github.com/username/repo/blob/main/file.rs#L123 → Opens at line 123
Error handling:
web.editor.reposDir is not configured or doesn't exist, the /editor endpoint is not enabled (and you will get 404)Example:
https://github.com/bayashi/mclocks/blob/main/src/app.js#L42http://127.0.0.1:3030/editor/bayashi/mclocks/blob/main/src/app.js#L42~/repos/mclocks/src/app.js exists in your local, VS Code opens it at line 42https://github.com/bayashi/mclocks for cloningThere is an extension for VS Code and Cursor that you can use from the file menu (the menu that appears when you right‑click a file). It is called mclocks-preview, and it is especially useful for previewing Markdown files. The installation procedure is described below.
git clone https://github.com/bayashi/mclocks.git
cd mclocks
cursor .
or
code .
Ctrl+Shift+P on Windows/Linux, Cmd+Shift+P on macOS).extensions/mclocks-preview inside this repository.After installation, you can choose Open in mclocks preview from the menu that appears when you right‑click a file.
----------
一个简单但实用的多时区桌面时钟应用
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
总体来看,多时区桌面时钟 是一款质量良好的MCP工具,在同类工具中具备一定竞争力。AI Skill Hub 将持续追踪其更新动态,建议收藏备用,结合自身场景选择合适时机引入使用。
| 原始名称 | mclocks |
| 原始描述 | 开源MCP工具:The desktop text clock application for multiple time zones with Sticky note, Cli。⭐19 · Rust |
| Topics | clockepoch-timemcpmultiple-time-zones-clockrust |
| GitHub | https://github.com/bayashi/mclocks |
| License | NOASSERTION |
| 语言 | Rust |
收录时间:2026-06-05 · 更新时间:2026-06-08 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端