cd /news/ai-agents/show-hn-standalone-searxng-cli-mcp-n… · home topics ai-agents article
[ARTICLE · art-55623] src=github.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Show HN: Standalone SearXNG CLI+MCP (no server needed)

A developer released a standalone CLI tool that embeds SearXNG as a library, enabling open coding agents to perform web searches without running a separate server. The tool packages SearXNG into a single-file binary and includes URL retrieval and markdown conversion features, giving agents like Hermes and OpenCode reliable web search capabilities.

read1 min views1 publishedJul 11, 2026

Hi HN, Codex and Claude are pretty good at (re)searching things on the web these days, but the open coding agents (OpenCode, pi coding agent and friends) don't have access to the labs' proprietary search APIs. I wasn't happy with this state of affairs, and wanted a truly open source version that was portable and harness independent.

I'd previously implemented agentic web search using SearxNG for treechat.com with good results, so that was my first choice. The problem is that SearxNG expects to run as a standalone python service, which is a lot of overhead and infra to deal with just to give your agent reasonable web search functionality.

So I built a standalone CLI that embeds SearxNG as a library and exposes its search tools as a CLI and over MCP without having to spin up any extra services. It also has built-in tools for retrieving and markdownifying arbitrary URLs, and is agent friendly with skills and agent onboarding info built directly into the CLI. Together with the search functionality, this gives an agent everything it needs to competently search the web so long as it can find the searxng binary on PATH.

Getting all that to work was actually quite tricky but works reliably: I first have CI build a wheel of upstream SearxNG, then my CLI uses that wheel as a dep, and then I package the entire thing into an easy to deploy single-file binary using pybin[1] to avoid issues with pyinstaller.

The result is a portable easy to use tool that gives agents like Hermes, Openclaw, pi coding agent, OpenCode, or whatever agent you prefer the ability to reliably search the web.

[1]: [https://github.com/nikvdp/pybin](https://github.com/nikvdp/pybin)

Comments URL: [https://news.ycombinator.com/item?id=48873578](https://news.ycombinator.com/item?id=48873578)

Points: 1

── more in #ai-agents 4 stories · sorted by recency
── more on @searxng 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-standalone-s…] indexed:0 read:1min 2026-07-11 ·