[BUG] Claude Cannot Access GitHub Repository Source Code
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Claude on the WEB IS unable to read, clone, or fetch source code files from GitHub repositories, despite having web search, web fetch, and computer use (bash) tools available. This makes it impossible for Claude to analyse codebases when a user provides a GitHub URL.
What Should Happen?
Claude should be able to read, fetch or clone GitHub repos from the Web Version.
Error Messages/Logs
git clone via bash >Blocked — CONNECT tunnel failed, response 401
curl zip download > Blocked — CONNECT tunnel failed, response 403
web_fetch on raw.githubusercontent.com >Blocked — PERMISSIONS_ERROR: URL not provided by user nor in search results
web_fetch on github.com subdirectories > blocked — same permissions errorWeb search for indexed file contentsFails — search engines rarely index individual repo source files
Steps to Reproduce
- Start a chat with claude via web. https://claude.ai/chat/
1.Provide Claude with a public GitHub repo URL (e.g. https://github.com/ToumaKamijou/Yugens-Terrain-Authoring-Toolkit/tree/public-testing)
2.Ask Claude to read and analyse specific source files from the repo
- Claude attempts multiple approaches — all fail.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Latest version on web opus 4.6 Fri Feb 06
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
This is happening on claude main web version claude.ai
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗