Back to MCP Servers

Github Repo

GitHub Repo MCP allow your AI assistants browse GitHub repositories, explore directories, and view file contents.

developer-toolsgithubai

Installation

npx -y github-repo-mcp

Configuration

{
  "mcpServers": {
    "github-repo-mcp": {
      "command": "npx",
      "args": ["-y", "github-repo-mcp"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub