Claude · GitHub
Does GitHub connect to Claude?
Yes. Claude can connect to GitHub repositories and add selected files and folders to chats or Projects, with manual project sync. It retrieves file names and contents—not commit history, pull requests, or other metadata.
Quick answer
Yes — GitHub connects to Claude as a native connector, verified against official documentation on 4 Sept 2026. Documentation confirms search, read and sync access. Claude can connect to GitHub repositories and add selected files and folders to chats or Projects, with manual project sync. The main documented limit: only files on a specific branch are retrieved.
- Relationship
- Official and documentation-verified
- Confirmed access
- Search, Read and Sync
- Plan or account
- GitHub authentication for private content
- Setup and admin
- Add from GitHub in a chat or Project
- Last verified
- 4 Sept 2026
- Best fit or limit
- Only files on a specific branch are retrieved.
What it is
The integration provides selected repository content as context for code questions. Users can browse accessible repositories, choose files and folders, and refresh project content with “Sync now.”
Connection type Native Claude GitHub integration for repository file access
What it can do
- SearchLimited / conditional
Browse and select repositories, files, and folders rather than query-wide search; commit history, pull requests, and other repository metadata are not retrieved.
Evidence Anthropic: Use the GitHub integration (opens in a new tab)
- ReadSupported
Read file names and contents for the selected files on a specific branch; multiple repositories are supported within context limits.
Evidence Anthropic: Use the GitHub integration (opens in a new tab)
- SyncLimited / conditional
Project content refreshes manually with “Sync now”.
Evidence Anthropic: Use the GitHub integration (opens in a new tab)
What it cannot do
Not confirmed means official documentation does not assign this capability to this specific connection. It is not a claim that the capability is impossible.
- CreateNot supported
Repository writeback is not documented.
Evidence Anthropic: Use the GitHub integration (opens in a new tab)
- UpdateNot supported
Repository writeback is not documented.
Evidence Anthropic: Use the GitHub integration (opens in a new tab)
Every status is defined the same way across the site — see how connector capabilities are defined and evidenced.
Availability and requirements
Verified available; current plan or organization controls should be confirmed in Claude’s connector settings.
Account requirements
- GitHub authentication for private content
- Repository access
- Any organization or SSO approval
How to connect
Setup path Add from GitHub in a chat or Project
1. Add from GitHub
Choose “Add from GitHub” in a chat or Project.
2. Authenticate
Authenticate with GitHub.
3. Select content
Select repository files and folders.
4. Handle private repos
Grant or request private-repository access.
5. Sync
Use Sync now before time-sensitive analysis.
Permissions, privacy, and admin controls
Private repositories may require GitHub organization administrator approval. SSO organizations require separate authorization. Team/Enterprise may also apply connector controls.
- Users may authorize all repositories or selected repositories.
- If repository access is lost, Claude removes the preview, while prior conversation history remains.
Platform context
- Claude web connectors are generally available across Claude surfaces, but individual connector requirements differ. Claude inherits the connected user’s permissions from the source service. Team and Enterprise organization owners may need to enable a connector before members authenticate it.
Documented limitations
- Only files on a specific branch are retrieved.
- No commit history, pull requests, or other metadata.
- Sync may require manual refresh.
- Selected content must fit the context window.
Best use cases
- Codebase explanation
- Locating functions
- Onboarding
- Architectural review
Example prompts
- “Explain how authentication works in these selected files.”
- “Find duplicated validation logic.”
- “Summarize the service boundaries in this repository.”
Troubleshooting
Repository files are missing or stale
Check repository selection, GitHub App scope, organization approval, SSO authorization, branch selection, and refresh status.
Official sources
- Help centerAnthropic
Use the GitHub integration (opens in a new tab)
Accessed 4 Sept 2026
- Help centerAnthropic
Use connectors to extend Claude's capabilities (opens in a new tab)
Accessed 4 Sept 2026
Verification history
Last verified 4 Sept 2026 · next review 4 Oct 2026 · Connector Scout editorial research
- 4 Sept 2026Re-verified against Anthropic’s current GitHub integration help page (last modified 2 September 2026). Repository file selection, manual project sync and the read-only boundary are unchanged.
Documentation verified — editorial disclosure
Independence notice