A simple MCP (Model Context Protocol) server that allows Claude to browse and read files from any public GitHub repository.
This server gives Claude three tools:
- list_repos — lists all public repositories for a given GitHub user or organization
- list_files — lists all files and folders in a given repository path
- get_file — reads the content of a specific file from a repository
This means you can ask Claude to explore and analyze any public GitHub repo directly, without having to copy-paste code manually.
- Python 3.10+
- Claude Desktop
-
Clone the repo:
git clone https://github.com/merakleee/mcp-gitaccess.git cd mcp-gitaccess -
Install dependencies:
pip install mcp requests
-
Add the server to your Claude Desktop config file at
C:\Users\<you>\AppData\Roaming\Claude\claude_desktop_config.json:{ "mcpServers": { "gitaccess": { "command": "python", "args": ["C:\\path\\to\\server.py"] } } } -
Restart Claude Desktop.
- Only works with public repositories
- No GitHub token required
- Rate limited to 60 requests/hour by the GitHub API