time vs lean-ctx
并排对比,帮你在这两个 MCP server 之间做选择。
time by modelcontextprotocol | lean-ctx by yvgude | |
|---|---|---|
| Stars | ★ 85,748 | ★ 1,676 |
| 30天用量 | — | — |
| 综合分 | 77 | 57 |
| 官方 | ✓ | — |
| 分类 | 效率工具开发者工具沟通协作 | 开发者工具AI / LLM 工具效率工具 |
| 实现语言 | TypeScript | Rust |
| 最近提交 | 本月 | 本月 |
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
lean-ctx · 概述
lean-ctx 是一个 MCP server,通过智能上下文压缩和缓存,在 AI 编码工具中减少 60-95% 的 token 消耗。
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
lean-ctx · 使用场景
- 在 AI 编码助手减少 token 使用同时保持完整上下文感知
- 优化大型代码库和 monorepo 的上下文管理
- 创建可共享的上下文包供团队协作使用
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"]
}
}
}lean-ctx · 安装
使用以下方法之一安装 lean-ctx:
# 通用安装程序(不需要 Rust)
curl -fsSL https://leanctx.com/install.sh | sh
# macOS / Linux 通过 Homebrew
brew tap yvgude/lean-ctx && brew install lean-ctx
# Node.js
npm install -g lean-ctx-bin
# Rust
cargo install lean-ctx
# Pi 编码代理
pi install npm:pi-lean-ctx安装后,设置:
lean-ctx setup然后重启您的 shell 和 AI 工具。对于 Claude Desktop,添加到 config.json:
{
"mcpServers": {
"lean-ctx": {
"command": "lean-ctx",
"args": ["mcp"]
}
}
}