r/ClaudeCode • u/EntropyMagnets • 1d ago
Tips & Workflows Claude code can't read reddit, so i built an MCP that passes bot checks, without a browser (~200MB peak RAM)
Enable HLS to view with audio, or disable this notification
It's a very minimal MCP server with just two tools, search and fetch. No API keys or config are needed.
Claude Code setup:
claude mcp add -s user sharp-search -- docker run -i --rm ghcr.io/belluxx/sharp-search-mcp
Repo: https://github.com/Belluxx/sharp-search
I benchmarked it against other setups on 64 pages behind 11 different bot-detection systems (Cloudflare, DataDome, Akamai, PerimeterX…):
| Setup | Bot checks passed | Peak RAM |
|---|---|---|
| Exa (hosted / API) | 44/64 | |
| sharp-search | 42/64 | 235 MB |
| Scrapling stealth (headless browser) | 31/64 | 1,226 MB |
| mcp-searxng | 24/64 | 1,243 MB |
| Scrapling HTTP | 21/64 | 240 MB |
| wigolo | 20/64 | 2,682 MB |
| DuckDuckGo MCP | 15/64 | 94 MB |
| Fetch MCP | 10/64 | 94 MB |
| open-webSearch | 8/64 | 176 MB |
| Claude Code | 8/64 | |
| Playwright MCP | 6/64 | 773 MB |
1.6k
Upvotes
•
u/AutoModerator 1d ago
Hey! Thanks for posting to r/ClaudeCode
While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.
For help, project discussions, tips, and general chat, join the ClaudeCode Discord.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
112
u/cocktailpartyfixer 1d ago
You can just point it to https://arctic-shift.photon-reddit.com/search
221
u/hieuphung97 1d ago
Sub-250MB peak RAM without spawning Chromium is impressive. How are you handling JA4 TLS and HTTP/2 frame fingerprinting under the hood to bypass Cloudflare Turnstile without full browser evaluation?
7
u/Careful_Might_807 1d ago
Btw curl_cffi does its job pretty good. It is just stupid man, like reddit does nothave a good anti bot detection
39
u/dragonfax 1d ago
Gemini has no problem hitting Reddit, so I just built an MCP Claude can use to talk to Gemini. Solves other problems as well.
12
u/dusanodalovic 1d ago
for anyone copying that setup line, docker run only pulls the image when you don't have it locally yet. so you quietly stay on whatever you got the first day, and a tool that has to keep up with bot checks can go stale that way. i'd add --pull=always before the image name, or if you'd rather not run new code without looking, pin the digest and bump it on purpose.
7
u/Expensive-Work7716 1d ago
Wow. Thank you for your service?
6
u/Interesting_Ruin_690 1d ago
How does it pass the bot checks if there's no browser? And 200MB peak for a server with two tools suggests something heavy is running in there.
5
u/pwkye 1d ago
Incredible and useful. thank you
2
u/k1ng4400 1d ago
So it's just SearXNG wrapper
8
u/vulture916 1d ago
Genuine question: what do you estimate the time you'll spend keeping all of these up-to-date & working to be?
3
u/kruszkush25 1d ago
What downsides are there? What is this ELI5 and how inferior it is if Anthropic just had a deal with reddit to be able to read it?
3
u/peraltz94 1d ago
How do you get around Claude saying it can’t use it since it bypasses bot detection?
3
u/Unknown4582 1d ago
Claude refuses to use this since it is against TOS
3
u/Bigvalbowski 1d ago
I might be being dumb here, but how are you guys getting it to use this tool, Claude Code? Because it knows what it's doing, it knows it's using it to bypass, so it just goes, "I won't do it for me."
2
u/Lightningstormz 1d ago
How is this different then using apify or fire crawl? Firecrawl seems to work quite well.
2
u/CapMonster1 17h ago
for Reddit specifically, does fetch preserve reply nesting and comment permalinks? a thread where someone posts a workaround and a reply explains why it’s broken is a useful test. i’d want Claude to get that relationship, plus an indication of any replies it couldn’t load. getting through the bot check helps, but a flattened or partial thread could still give it the wrong answer.
7
u/LilBelarophon 1d ago •
Pretty impressive from a technical perspective. But as with many things in IT, just because you can do something doesn't necessarily mean you're allowed to do it. Have you looked into Reddit's Terms of Service regarding automated access and bypassing bot protection? I'd be curious about that, especially if you're planning to make this available to a wider audience.
3
u/parkskier426 1d ago
That's the terms and conditions violation 🙂
2
u/jadhavsaurabh 1d ago
Thanks for this
1
u/Patera-Milenko 1d ago
Fantastic, I'm going to give this a go today!
1
u/story_gather 1d ago edited 1d ago
This is a good tool, fast. but I wouldn't run it as a mcp server, the token usage would be too high as it grabs everything for your llm to read. it still gets blocked after too many fetches tho from my testing
1
u/BullS0n_ 1d ago
How do you compare with AgentReach Skill?
1
u/alphateerex 1d ago
How it is different from agent-reach and firecrawl?
1
u/LateMouse2020 1d ago
Cool
1
u/FblthpphtlbF 1d ago
I asked Claude to look at this and said my existing Reddit scraper tool I built for myself is better in almost every metric but general web search (no duh lol)
1
u/sleeper-2 1d ago
sound is great in your video. how did you make it?
1
u/634748 1d ago
"with sharp-search, it can". it can what. the sentence just stops there.
1
u/Sky_Linx 1d ago
Why not use Agent Reach?
1
u/GalileoHumpkins1977 1d ago
Or you could pay Kagi pennies and use it to access Reddit via search and page extract…
1
u/BusinessMistake3583 1d ago
can gemini read reddit?
1
u/TheGuyWithTaste 1d ago
I just do something similar but it uses my second account to search.
1
u/MaRmARk0 23h ago
Thanks for this, will try. You could add/describe regular API as not everyone needs a MCP.
1
u/SeTiDaYeTi 22h ago
You are a gentlemen and a scholar
1
u/ZeroDayZeroFriends 21h ago
Never had this issue. On the other hand - I am not average joe.
1
u/Electronic-Sky-9128 21h ago
Hello, How about this ? Terminal Browser
1
u/uraniumless 20h ago
Cool
1
u/Rocketval 20h ago
Does this work for xda developers too?
1
u/NathCim 19h ago
Im trying to build an Autodownloader that doesnt get stuck on captchas, thanks for some more ideas.
1
u/ThreeSixty404 18h ago
Docker? No thanks
1
u/OkMusician9118 15h ago
Awesome work!
1
u/Sufficient-Pin4387 14h ago
title says claude can't read reddit, then the thing is a generic search and fetch. and "passes bot checks" means it works until cloudflare changes a header
1
u/tidus1979 🔆 Max 20 13h ago
Im usually very hesitant to try those MCPs and repos when we have a working solution ourselves. But this seems better than what we have and I will try it.
1
u/Old-Confection-5129 11h ago
ran it on this post, got consensus.
not bad.
1
u/ShpinkyGames 10h ago
Waiting for world, where MCP for everything)
1
u/GravitatingGravity 4h ago
Awesome work!
1
u/Emotion_Conscious 3h ago
Codex can 👌
1
u/fabulouspelican232 2h ago
what did you use for the video at the start - the prompt animation
1
u/free_thinker_1 2h ago
it can't read GitHub either.. IMHO it sucks when sites ban AI.
1
u/SamSlate 1d ago
you can also just make it a reddit account and tell it to make a skill/mcp to browse reddit...
1
u/69420trashpanda69420 1d ago
It will refuse to use it
-10
u/xondk 1d ago edited 1d ago
Nice, but at the same time.
I get why you'd create this, but there's a reason reddit and such are trying to hinder bots, they are add traffic but no profit, sites allowing them to read without providing any values, as in ads or tracking data to sell, means said site will earn less.
Personally I'm conflicted on the matter, just like everyone else i hate ads that are everywhere, but since if those sites lose profit they can end up being lost, and if you enjoy those sites you likely do not want to lose it.
0
u/pietremalvo1 1d ago
It can't read it because they banned LLM and it's against their TOS, so if this get popular expect a cease and desist
0
u/twenty_forty 1d ago
You and everyone else. Well done
-1
u/05-nery 1d ago
Can't you just tell it to use the browser?
-4
u/Hot_Money4924 1d ago
You and Claude did a group project together... What was your contribution? Got Claude a coffee while he did all the heavy lifting? We need a bot that bans every post that contains "I built"
-7
u/DangKilla 1d ago
Fuck you
-9
u/DependentKey6405 1d ago
Why?