MCP Catalogs
首页

octocode-mcp vs github-brain

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

octocode-mcp
by bgauryy
github-brain
by wham
Stars★ 832★ 75
30天用量
综合分5246
官方
分类
开发者工具AI / LLM 工具GitHub 集成
GitHub 集成开发者工具AI / LLM 工具
实现语言TypeScriptGo
最近提交本月3 个月前

octocode-mcp · 概述

MCP 服务器用于在 GitHub/GitLab 和本地仓库中进行语义代码研究,具有高级 LSP 集成。

github-brain · 概述

GitHub Brain MCP 服务器使用本地数据库快速总结 GitHub 讨论、问题和 PR。

octocode-mcp · 使用场景

  • 跨公共和私有仓库进行代码探索和模式匹配
  • 使用 AST 和依赖图进行高级代码分析和文档生成
  • 使用 LSP 流跟踪在多个领域进行拉取请求审查

github-brain · 使用场景

  • 总结 GitHub 讨论和 PR 以用于团队会议
  • 分析特定时间段内用户的贡献
  • 创建高效的 GitHub 活动报告而不受 API 限制

octocode-mcp · 安装

安装

推荐方式:Octocode CLI

npx octocode-cli install

手动 MCP 配置

添加到您的 MCP 配置文件中:

{
  "mcpServers": {
    "octocode": {
      "command": "npx",
      "args": ["octocode-mcp@latest"]
    }
  }
}

github-brain · 安装

npm i -g github-brain

或使用 npx

npx github-brain@latest

MCP 配置

Claude Desktop

添加到 Claude MCP 配置文件:

{
  "mcpServers": {
    "github-brain": {
      "type": "stdio",
      "command": "github-brain",
      "args": ["mcp"],
      "env": {
        "ORGANIZATION": "你的组织"
      }
    }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。