MCP Catalogs
Home

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
Score5244
Official
Categories
Developer ToolsAI / LLM ToolsGitHub
Developer ToolsGitHubAI / LLM Tools
LanguageTypeScriptGo
Last committhis monththis 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 install

Manual 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-mcp

Configuration 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"
    }
  }
}
Comparison generated from public README + GitHub signals. Last updated automatically.