[Feature Request] Web Search Capability
Status Fixed / completed
Maintainer reply ✓ Yes — bcherny
Workaround ✓ Mentioned in thread ↓
Activity 13 comments · opened Mar 23, 2025 · closed May 29, 2025
💡 Likely answer: A maintainer (bcherny, collaborator)
responded on this thread — see the highlighted reply below.
Summary
Add the ability for Claude Code to perform web searches to find relevant information, similar to Bing Chat or ChatGPT browsing features.
Problem
Currently, Claude Code is limited to information in its training data, local files, and URLs explicitly provided by users. This significantly limits its ability to help with recent documentation, troubleshoot issues, or find solutions to problems without user intervention.
Proposed Solution
- Implement a web search capability that allows Claude to search for relevant information
- Could be triggered via a command like or requested by Claude when needed
- Should display search results with attribution/citations
- Could be initially limited to software development resources (docs, GitHub, Stack Overflow)
Benefits
- Extends Claude's knowledge beyond training cutoff
- Reduces need for users to perform searches and copy/paste results
- Makes Claude more effective at solving complex or novel problems
- Provides up-to-date information for rapidly evolving libraries and tools
Relation to Other Features
This feature would complement the autonomous URL access feature request and the planned web context feature, creating a more complete research capability.
13 Comments
this feature would make anthropic more money (and be great for Claude Code users). my current workflow when dealing with tech that changed after LLM training:
the workflow above is ok, but waste time. anthropic makes less money because while Claude Code is billed by usage, claude.ai is a flat usd 20 per month. with Claude Code, I'm spending more money on anthropic. if Claude Code could search the web, that's an even bigger bill to anthropic, but anthropic is so useful, it's worth it!
would really love this
claude code is now so good at what it knows that its binding constraint is what it doesn't know (but is on the internet)
...such that I ask it to write out a question that I paste into claude or o3 and then paste the response back
one step towards search / research would be allowing it to access links not pasted in the chat or in the repo. could that go through the same
allowedToolsauth rather than be always denied? often it attempts to look up the docs by knowing the URL, and this gets denied(I guess we could add our own mcp to do the search, but am hesitant to do something custom given it's such a general issue...)
+1 on this feature. My workflow is using Cursor Agent instead when I need info from the web.
this now works!
ime, it's not _quite_ at the quality of o3, but it's pretty good for searching for standard questions about how to use a library etc
@max-sixty : have you found a way for to enable Claude Code to search the web for breaking changes? I see your comment "this now works" but I'm still using claude.ai when I need to search for breaking changes. I asked Claude Code if it could search the web, and it replied it cannot.
are you on a recent version of claude code?
(somewhat comedic response rather than answering the question directly, but it can!)
@max-sixty : thanks for replying! I missed that this feature had been added. I tested and got similar result to your post:
Yep, this is shipped! Keep the feature requests coming.
Any way to promote Claude to use web search more often? I find it rarely uses it
ask it to!
@max-sixty right! I did try that as part of my prompt:
It doesn't really seem to have much impact. Do you think my prompting is at fault?
not confident but it's fairly non-specific! you might get more if you tell it precisely what to use it for
I gave got good results from things like "do some research on how Claude Code hooks work and implement one that does X"
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.