{"slug": "show-hn-standalone-searxng-cli-mcp-no-server-needed", "title": "Show HN: Standalone SearXNG CLI+MCP (no server needed)", "summary": "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.", "body_md": "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.\n\nI'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.\n\nSo 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.\n\nGetting 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.\n\nThe 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.\n\n[1]: [https://github.com/nikvdp/pybin](https://github.com/nikvdp/pybin)\n\nComments URL: [https://news.ycombinator.com/item?id=48873578](https://news.ycombinator.com/item?id=48873578)\n\nPoints: 1\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-standalone-searxng-cli-mcp-no-server-needed", "canonical_source": "https://github.com/nikvdp/searxng-ai-kit", "published_at": "2026-07-11 16:49:38+00:00", "updated_at": "2026-07-11 17:05:09.962514+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools"], "entities": ["SearXNG", "OpenCode", "Hermes", "Openclaw", "pi coding agent", "pybin"], "alternates": {"html": "https://wpnews.pro/news/show-hn-standalone-searxng-cli-mcp-no-server-needed", "markdown": "https://wpnews.pro/news/show-hn-standalone-searxng-cli-mcp-no-server-needed.md", "text": "https://wpnews.pro/news/show-hn-standalone-searxng-cli-mcp-no-server-needed.txt", "jsonld": "https://wpnews.pro/news/show-hn-standalone-searxng-cli-mcp-no-server-needed.jsonld"}}