r/opencodeCLI
•
u/Opening_Library9560
•
13d ago
•
1
Completely Free and stealthy Web Research tool for Your agent, 0$, instant setup with the MCP
I've been building DonSeTch: a fully free, open-source MCP server that gives OpenCode web search, fetching, crawling and screenshots, running locally in one Rust binary.
I posted it here around v1 or v2, honestly can't remember which. It's on v5.5.2 now. For the people seeing it for the first time, here's the useful stuff.
Here is the GitHub repo: https://github.com/dondai44423/donsetch
Install, connect, use it
npm install -g donsetch
donsetch doctor --mcpAdd the MCP entry to OpenCode and restart. That's the basic setup. No account, API key, Rust build or search-model download. Fetch, search and crawl don't need a browser installed either.
Fetching, stealth, and learning what works
- Reddit, Stack Overflow and IMDb returned content in my tests. The Reddit read got 24 posts in about 1.2 seconds; paid Firecrawl Cloud reported that site unsupported in the same comparison.
- Page reads launch no browser. TLS, headers and cookies stay consistent as one client. Embedded V8 handles challenge or application JavaScript when needed, without layout or painting.
- It remembers successful routes and client profiles. It can learn an app's content request from a successful JS run and replay it over HTTP on later reads. If that request breaks, it can learn again. That fetch state survives restarts.
Less context spent getting to the answer
- Ask for the useful bit. Relevant passages, a phrase check, an outline, or one section. The agent can expand into the full text when needed.
- Four tools, roughly 2,000 tokens of definitions total. Batch-fetch up to 12 URLs. PDFs get the same reading controls, with tables and optional OCR for scans.
- Crawls follow your topic. A site model and plan pick the pages; the response is a digest with handles to open each stored page fully. Jobs resume, and repeat crawls can skip unchanged pages.
Search works out of the box
Keyless search combines engines and first-party sources. You can also use your own search API key while keeping the local fetching and crawling. Screenshots use an installed Chromium separately.
A quick Firecrawl comparison
I had DS on opencode try both on real tasks. DonSeTch was quicker on 9/10 fetch targets both could read. On HTTPX, it picked the two requested docs pages; Firecrawl read six and still missed the async page.
It did got beat on search relevance, though, its local but its good enough for 90% of the most tasks
I'm not stuffing all that shit into one post. The full comparison with paid Firecrawl Cloud has the cases, timings and setup. Small, hand-picked test.
Feel free to flame me in the comments if i did the comparison with firecrawl the wrong way šš
If you give it a go, I'd like to hear which pages it still trips over.
7
u/rizal72 13d ago edited 13d ago
I use it in OpenCode daily and took a different route, in case it saves someone some context.
I never registered the MCP. Four tools cost about 930 tokens in the first prompt of every session (I measured 4,084 characters less with the server off), and switching a server on mid-session invalidates the prompt cache, so the whole context is read again. The CLI runs the same engine, so I call it from the terminal instead: one line in the global AGENTS.md says try the normal fetch first, and run
donsetch fetch <url>when it refuses or a bot check stands in front of it. The tool then shows up exactly when a wall does, and costs nothing until then.Updates were the other gap.
donsetch updatehas no daemon and no scheduler, and I did not want a cron job for one command, so I wrote a small OpenCode plugin that runs it once a day, on the first prompt after the date changes. Worth knowing if you script it: a major release prints what it changes and asks on stdin, while an unattended run has no stdin, so it exits 0 without installing anything. Passing--yesfixes it.Not on npm yet, so for now it is copy the folder:
https://github.com/rizal72/opencode-plugins/tree/main/plugins/oc-donsetch
While you are there, take a look at my other plugins: some of them could be very useful ;)
18
u/SnooMuffins9844 13d ago
Hey u/Opening_Library9560 I work at Firecrawl, nice work on this, a single Rust binary with no API key is a really clean setup.
Just a heads up on the Reddit comparison though, you can get Reddit data through Firecrawl Alexandria, it's one of the sources it covers alongside 100M+ indexed sources and 500+ data providers. Works with any ai agent if you want to try it: firecrawl.dev/plugins
Either way it's cool to see more open source options in this space š
4
u/Upset-Ad-8704 11d ago
Can you give a brief overview of how it is accomplishing this? Suppose I want to search google.com for pineapples, a url is generated for https://www.google.com/search?q=pineapples. That is then sent to your servers to execute the search or is it executed locally (if I am selfhosting opencode)?
Generally when scraping the search results, captchas can occur. It says you are not able to bypass these, but it seems like it is working well despite the fact that many search providers do have captchas, so how is that possible?
Also, you mention page reads don't launch a browser. Do you have your own js engine running that allows other js-based rendering to render correctly?
3
u/nirurin 13d ago
Curious how this compares to tinyfish, as another free-tier option
3
u/Cultured_Alien 12d ago edited 12d ago
Nice, how does it compare to ketch? I don't like mcp and prefer using skills + cli.
4
u/duck_guts 13d ago
Sorry off topic but what's the cool cursor sleff3ct? Like the "fruit ninja swipe" kinda thing happening. Is that just for the video or something real time?
2
u/Atagor 12d ago
Thanks for sharing!
Does it help with captcha / bot protected pages?
1
u/Opening_Library9560 13d ago
The fetching system used to have the standard tier one and tier two browser escalation, I Hated that shit, the browser was slow as hell and ate up resources when it was being used.
So in v5 i replace the whole stuff with The new fast fetching system, way faster, Near similar stealth, more reliable and just better.
The browser system may have had more stealth on a few sites but the speed and resource tradeoff was not worth it.
I am still Working on the fetching system tho, to make it even more stealthy than it already is
4
u/bi4key 13d ago
With this :
https://github.com/goodnight000/api-anything
https://github.com/kalil0321/reverse-api-engineer
Will be a game changer combo to website.
2
u/Least_Bodybuilder216 13d ago
Love the idea! Will try it later, already star it
1
u/Otagamo 13d ago
Very nice.
1
u/CapMonster1 12d ago
the learned request replay is the bit iām curious about. what triggers relearning if the endpoint still returns 200 but the response is missing fields or stuck on the first page? an outright error seems easier to catch than a request that quietly stops doing what it used to. would be useful to see that recovery case in the comparison.
1
u/BackPackMan8 12d ago
Unfortunately, the free limits run out very quickly these days.
1
u/paulqq 9d ago
nice, since SERP for agents is really hard, how did you do it? serper.dev? or would you layout how you could get SERP for agents and pass cookie and cloudflare checks?
1
u/vate98 7d ago
Thanks!
-5
u/xenstar1 13d ago
You can use Tinyfish, more trustworthy.