octocode-mcp vs gh-mcp
Side-by-side comparison to help you pick between these two MCP servers.
octocode-mcp by bgauryy | gh-mcp by shuymn | |
|---|---|---|
| Stars | ★ 832 | ★ 29 |
| 30d uses | — | — |
| Score | 52 | 44 |
| Official | — | — |
| Categories | Developer ToolsAI / LLM ToolsGitHub | Developer ToolsGitHubAI / LLM Tools |
| Language | TypeScript | Go |
| Last commit | this month | this month |
octocode-mcp · Summary
MCP server for semantic code research across GitHub/GitLab and local repositories with advanced LSP integration.
gh-mcp · Summary
GitHub CLI extension that runs github-mcp-server using existing gh authentication without manual PAT setup.
octocode-mcp · Use cases
- Code exploration and pattern matching across public and private repositories
- Advanced code analysis and documentation generation using AST and dependency graphs
- Pull request review with LSP flow tracing across multiple domains
gh-mcp · Use cases
- Integrating GitHub access with AI coding assistants that support MCP
- Accessing GitHub repositories and issues without managing separate PATs
- Enabling Claude Code or other MCP clients to interact with GitHub resources
octocode-mcp · Install
Installation
Recommended: Octocode CLI
npx octocode-cli installManual MCP Configuration
Add to your MCP configuration file:
{
"mcpServers": {
"octocode": {
"command": "npx",
"args": ["octocode-mcp@latest"]
}
}
}gh-mcp · Install
Installation
gh extension install shuymn/gh-mcpConfiguration for Claude Desktop
Add this to your Claude Desktop configuration:
{
"github": {
"command": "gh",
"args": ["mcp"]
}
}With environment variables:
{
"github": {
"command": "gh",
"args": ["mcp"],
"env": {
"GITHUB_TOOLSETS": "repos,issues,pull_requests",
"GITHUB_READ_ONLY": "1"
}
}
}