MCP Catalogs
首页

time vs codeTree

并排对比,帮你在这两个 MCP server 之间做选择。

time
by modelcontextprotocol
codeTree
by ThinkyMiner
Stars★ 85,748★ 25
30天用量
综合分7746
官方
分类
效率工具开发者工具沟通协作
开发者工具AI / LLM 工具知识库 / RAG
实现语言TypeScriptPython
最近提交本月1 个月前

time · 概述

功能全面的 MCP 服务器,提供时间和时区转换功能,可自动检测系统时区。

codeTree · 概述

MCP 服务器,通过 tree-sitter 提供 10 种语言的 23 个结构化代码理解工具。

time · 使用场景

  • 协助安排跨时区的国际会议
  • 为基于位置的查询提供实时时间信息
  • 为旅行计划和行程安排提供时间转换

codeTree · 使用场景

  • 代码分析和重构辅助
  • 文档生成建议
  • 变更前的代码影响分析

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"]
    }
  }
}

codeTree · 安装

安装

**先决条件:** 如果没有 [uv](https://docs.astral.sh/uv/getting-started/installation/),请安装它(curl -LsSf https://astral.sh/uv/install.sh | sh)。

然后进入任何项目目录并运行:

claude mcp add codetree -- uvx --from mcp-server-codetree codetree --root .

Claude Desktop

添加到 ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) 或 %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "codetree": {
      "command": "uvx",
      "args": ["--from", "mcp-server-codetree", "codetree", "--root", "/path/to/your/project"]
    }
  }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。