time vs local-history-mcp
并排对比,帮你在这两个 MCP server 之间做选择。
time by modelcontextprotocol | local-history-mcp by xxczaki | |
|---|---|---|
| Stars | ★ 85,748 | ★ 15 |
| 30天用量 | — | — |
| 综合分 | 77 | 42 |
| 官方 | ✓ | — |
| 分类 | 效率工具开发者工具沟通协作 | 开发者工具本地文件系统AI / LLM 工具 |
| 实现语言 | TypeScript | TypeScript |
| 最近提交 | 本月 | 本月 |
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
local-history-mcp · 概述
MCP 服务器提供 AI 访问 VS Code/Cursor 本地历史记录,用于数据恢复。
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
local-history-mcp · 使用场景
- 从编辑器历史记录中恢复意外删除或覆盖的代码
- 搜索文件的所有先前版本以找到更早的实现
- 将文件恢复到先前的状态,同时创建当前版本的备份
time · 安装
安装选项
**使用 uv(推荐):**
uvx mcp-server-time**使用 PIP:**
pip install mcp-server-time
python -m mcp_server_time**为 Claude Desktop 配置:**
{
"mcpServers": {
"time": {
"command": "uvx",
"args": ["mcp-server-time"]
}
}
}local-history-mcp · 安装
包管理器安装
# npm
npx local-history-mcp
# pnpm
pnpm dlx local-history-mcp
# yarn
yarn global add local-history-mcp
# bun
bunx local-history-mcpClaude Desktop
添加到您的 Claude Desktop 配置中:
{
"mcpServers": {
"local-history": {
"command": "npx",
"args": ["-y", "local-history-mcp"]
}
}
}VS Code/Cursor
使用一键安装按钮或按照官方文档添加此 MCP 服务器。