AI products and toolsReviewed · ythx-101

ask-search

ask-search is a web search tool for AI-agent users and developers, but its default mode requires maintaining a SearxNG service. Its command-line interface and MCP server return search results rather than full pages or generated answers. Optional Tavily search requires an API key.

Researched 14 Nov 2026

In short.

ask-search is a command-line and MCP web search tool for AI-agent users and developers, but its default mode requires maintaining a SearxNG service. The Python implementation returns titles, URLs and snippets, with optional Tavily search. The CLI can switch providers, while the MCP tools use explicitly assigned backends. Self-hosting still sends queries to upstream search engines. Search quality, latency, deployment reliability and client compatibility are not established by execution evidence.

Researched and written by an AI model and checked by a second AI model. How it works

The scope is the complete 13-file repository snapshot from [https://github.com/ythx-101/ask-search] at revision 901c1ec1f80704a0b0556c9281826d8b047ac581, including its MIT licence and notices. It covers the CLI, MCP server, installer, OpenClaw descriptor, documentation, ignore rules, SearxNG deployment files, tests and CI configuration. Linked pages, external dependency source and upstream services are excluded. The unchanged OpenClaw descriptor is eligible for distribution with its MIT notice and remains an integration aid rather than a standalone installation. No code, installer, container, search request, MCP session or test was executed; live behaviour and comparative performance remain unverified.

The overview

Identity

ask-search is an MIT-licensed repository by ythx-101 that combines a Python search command, an MCP server, an OpenClaw skill descriptor and SearxNG deployment configuration. Its original repository is [https://github.com/ythx-101/ask-search].

MCP means Model Context Protocol: compatible AI clients can call the server's search functions as tools. The CLI can also be called from a shell. Neither interface implements an AI model, an answer generator or a full-page reader.

Assessment

The strongest fit is adding basic web search to an agent when you already operate SearxNG or are comfortable maintaining it. The implementation provides a small bridge from search results to shell commands and MCP clients, without requiring a paid search API in SearxNG mode.

It requires more operational involvement than a hosted search service and leaves page retrieval and answer verification to other tools. The repository contains mocked unit tests and a CI definition, but no supplied execution logs establish live search reliability or successful client integrations.

Users

The intended users are developers and technically comfortable agent users who need search results inside a shell or an AI client's tool interface. The documentation describes CLI use with Claude Code, an OpenClaw skill descriptor and MCP integration with compatible clients including Antigravity.

Beginners need familiarity with environment variables, installing Python dependencies and either running Docker Compose or connecting an existing SearxNG instance. There is no dedicated ask-search graphical interface. The documented client compatibility has not been demonstrated by the supplied execution evidence.

Capabilities

The CLI accepts a query and defaults to ten results. SearxNG options include result count, engine selection, language and categories such as news. Output can be formatted text, URLs only or a JSON object containing the query and results. Formatted text limits each snippet to 200 characters; JSON output does not apply that display limit.

The MCP server exposes web_search and web_search_news through SearxNG, plus web_search_tavily through Tavily. These tools return JSON-encoded strings containing results or an error. The general and Tavily tools cap requested counts at 20; the news tool does not apply that cap.

Tavily CLI mode ignores engine, language and category options. Search results are not full articles, and JSON output is not the complete original SearxNG response.

Using it

Requirements

The documented minimum is Python 3.8 for the CLI and Python 3.10 for the MCP server. The installer requires Bash, python3 and curl. The SearxNG CLI path uses Python's standard library and an external curl command; the MCP server additionally requires the mcp package.

SearxNG must be reachable and permit JSON search responses. Docker Compose is the bundled deployment option, but an existing instance can be used through SEARXNG_URL. Tavily instead requires tavily-python and TAVILY_API_KEY. The README directs Windows users to WSL and says native Windows has not been tested.

Mechanism

For SearxNG, the code constructs a GET request to the configured endpoint's /search path, requests JSON and fixes the page number at one. It invokes curl with a 15-second transfer limit and a 20-second subprocess timeout, parses the response and slices its results list to the requested count. It does not fetch additional result pages.

The CLI reads SEARCH_PROVIDER; tavily selects Tavily, while other values use SearxNG. Tavily requests use search_depth="basic" and a maximum of 20 results. MCP routing is different: its general and news tools always call SearxNG, and its Tavily tool always calls Tavily.

Self-hosting changes the route queries take, rather than keeping them entirely local. SearxNG forwards queries to upstream engines from the server's network connection; Tavily mode sends queries to Tavily.

Setup

The documented SearxNG route is to clone the repository, copy searxng/.env.example to searxng/.env, replace the placeholder SEARXNG_SECRET and start Docker Compose from the searxng directory. The bundled settings enable HTML and JSON responses. Compose publishes port 8080 on the host's loopback address, with the default endpoint at [http://localhost:8080].

From the repository root, bash install.sh installs into /usr/local/bin by default; bash install.sh ~/.local/bin uses a user directory that must be on PATH. The installer creates a wrapper containing the checkout's absolute scripts/core.py path, so moving or deleting that checkout would break the command. A failed backend connection check only produces a warning.

MCP setup separately requires installing mcp and registering mcp/server.py with the client's Python command and environment. For Tavily, install tavily-python and provide the key; CLI provider switching additionally requires SEARCH_PROVIDER=tavily. The OpenClaw SKILL.md describes using the installed command and does not install its implementation or backend.

Example

With a working SearxNG backend, ask-search "React Server Components performance" --num 5 --json requests a search and prints a JSON object containing the query and up to five returned results. This illustrates command syntax; no output or successful request is established here.

For a news query, ask-search "AI research" --categories news --lang en passes the category and language to SearxNG. Those flags have no effect in Tavily CLI mode. A promising result URL must be passed to a separate page-fetching tool if the agent needs the article itself.

Assessment & evidence

Limitations

Result availability depends on SearxNG configuration, upstream engines and network conditions. The README documents JSON configuration errors and bot blocking, so its broad claim that search always works is not established. Full-page retrieval is separate and can encounter login requirements, paywalls or anti-bot blocks.

The SearxNG implementation requests only the first result page and contains no retry loop. Requesting a larger count cannot guarantee more available results. Result counts are not validated as positive, and limits differ across the CLI and MCP tools.

The README's proxy and browser suggestions are separate page-fetching workarounds, not implemented ask-search features or demonstrated solutions. Search accuracy, coverage, speed, concurrent use and production reliability are not assessed.

Fit and trade-offs

The practical trade-off is exchanging a hosted search API dependency for operating SearxNG. That is attractive when an agent needs structured search candidates and the user already has suitable infrastructure. The small CLI and MCP adapter make the returned data accessible through common agent interfaces.

The benefit is narrower when the requirement is a complete research answer or dependable full-page access: ask-search implements neither. Tavily offers another backend within the same CLI, but its ignored filters and separate MCP tool mean the two backends are not interchangeable in every integration.

Alternatives

The README presents Perplexica as a fuller AI search application with a graphical interface, compared with ask-search's minimal results interface. This is the repository's comparison; Perplexica's current implementation and capabilities are not assessed.

Other options named in the README are commercial search APIs and built-in agent web search. Within ask-search, Tavily avoids operating SearxNG but requires its package and API key. Current external pricing, quality and comparative performance are unknown.

Evidence

The repository snapshot contains both Python entry points, the installer, SearxNG configuration, the OpenClaw descriptor, documentation, ignore rules, the licence, unit tests and CI configuration. The implementation supports the described request routing and output behaviour. Documentation-only compatibility claims and illustrative search output are not execution results.

The test file defines ten unit tests covering formatting, endpoint construction, provider naming, mocked search responses, curl failure and a missing Tavily key. CI is configured to compile the Python entry points and discover unit tests on Python 3.10 and 3.12. No supplied logs establish that these checks passed, and nothing was executed. Live provider requests, Docker deployment and MCP client sessions remain unverified.

Access & freshness

Costs

The default SearxNG path does not require a paid search API key. That does not establish zero total cost: hosting, bandwidth and maintenance depend on the deployment, and no amounts or hardware requirements are supplied.

Tavily requires an API key and may introduce provider charges. Its current prices, included allowance and rate limits are unknown from the repository. The installer attempts to install tavily-python>=0.5.0 whenever TAVILY_API_KEY is present, even if the CLI remains configured for SearxNG.

Rights

The repository's MIT licence names copyright 2026 ythx-101. It permits use, modification, distribution, sublicensing and sale, provided the copyright and permission notice accompany copies or substantial portions. It provides the software without warranty.

That licence covers the repository software and documentation. It does not establish the licensing or access terms of external dependencies, search services or retrieved website content. The OpenClaw descriptor can be redistributed unchanged with the required MIT notice, but it still depends on the separately installed tool.

Freshness

The source snapshot is revision 901c1ec1f80704a0b0556c9281826d8b047ac581, captured on 14 November 2026 at 03:59:02 UTC. It is addressable at [https://github.com/ythx-101/ask-search/tree/901c1ec1f80704a0b0556c9281826d8b047ac581]. The CLI identifies itself as version 1.0.0; that does not independently establish a tagged release.

The Compose configuration uses searxng/searxng:latest, and the documented MCP installation does not pin a package version. The installer specifies only a minimum Tavily package version. Consequently, the repository revision does not identify a fully reproducible dependency environment. Later source changes and current external compatibility are unknown.

Adoption steps

Choose the intended backend and interface first. For SearxNG, configure a real secret, enable JSON responses and confirm the endpoint is reachable from the process running the CLI or MCP server. Keep the checkout at its installed path and ensure the command's destination directory is on PATH.

Before relying on it, try representative queries in the intended client and inspect empty results, JSON errors and the amount of source text returned. For Tavily, confirm account costs and remember that CLI filters are ignored and MCP tools retain their assigned backends. Arrange a separate page-reading tool when snippets are insufficient. These are recommended adoption checks, with no completed outcomes established here.

Evidence for this report

.github/workflows/test.ymlselected · checked 2026-11-14
.gitignoreselected · checked 2026-11-14
LICENSEnotice · checked 2026-11-14
README.mdselected · checked 2026-11-14
SKILL.mdselected · checked 2026-11-14
install.shselected · checked 2026-11-14
llms.txtselected · checked 2026-11-14
mcp/server.pyselected · checked 2026-11-14
scripts/core.pyselected · checked 2026-11-14
searxng/.env.exampleselected · checked 2026-11-14
searxng/docker-compose.ymlselected · checked 2026-11-14
searxng/searxng.ymlselected · checked 2026-11-14
tests/test_core.pyselected · checked 2026-11-14