code-to-tree vs time
并排对比,帮你在这两个 MCP server 之间做选择。
code-to-tree by micl2e2 | time by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 83 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 43 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具AI / LLM 工具 | 效率工具开发者工具沟通协作 |
| 实现语言 | C | TypeScript |
| 最近提交 | 2 个月前 | 本月 |
code-to-tree · 概述
无运行时的 MCP 服务器,使用 tree-sitter 将源代码转换为 AST,依赖最小化。
time · 概述
功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。
code-to-tree · 使用场景
- LLM 进行代码分析和重构
- 跨语言代码结构比较
- 基于代码结构的自动化文档生成
time · 使用场景
- 协助安排跨时区的国际会议
- 为基于位置的查询提供实时时间信息
- 为旅行计划和行程安排提供时间转换
code-to-tree · 安装
安装
- 从 [GitHub 发布页面](https://github.com/micl2e2/code-to-tree/releases) 下载预编译的二进制文件
- 配置您的 MCP 客户端(以 Claude Desktop 为例):
**Windows:** ``json { "mcpServers": { "code-to-tree": { "command": "C:\\path\\to\\code-to-tree.exe" } } } ``
**macOS:** ``json { "mcpServers": { "code-to-tree": { "command": "/path/to/code-to-tree" } } } ``
- 重启您的 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"]
}
}
}