SuperAPIAI Directory

free-web-search-ultimate

github.com · AI developer platforms

Web search across DuckDuckGo, Bing, Google, Brave, Wikipedia, arXiv, YouTube and Reddit with deep page browsing. Instructs LLMs to search before answering.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsmacOS · Linux

About this tool

This project aims to provide AI agents with a free, zero-API-key search infrastructure that can verify evidence locally. Its core idea is to insert a "filter" between raw web search results and the agent, filtering out low-quality content and reducing context token consumption, latency, and distraction.

Purpose and Positioning This project is aimed at AI agents, LLM applications, or developer tools that need web search capabilities. It emphasizes "search before answering," can retrieve information across multiple search engines and knowledge sources, and performs evidence verification.

Main Capabilities

  • Zero API key search: Uses DuckDuckGo by default, can self-host SearXNG for cross-validation, and optionally uses Bright Data for production-grade SERP and Web Unlocker.
  • Local neural evidence verification: Built-in Laya (Apache-2.0 open weights, non-autoregressive decision model), scores the relevance of each result, with a single forward pass of about 35ms, batch throughput of 100–330 questions/second, and outputs calibrated probabilities.
  • Claim verification: Performs probabilistic stance classification for each source (support/conflict/neutral), replacing pure keyword matching, and generates citable evidence reports.
  • Graceful degradation: Falls back to a lexical heuristic verifier when Laya is not installed; switches to the next provider when one is unavailable; tries the unlocker when a page is blocked; uses only summaries when the unlocker is disabled.
  • MCP server: Provides 8 tools, including search_web, llm_context, browse_page, verify_claim, evidence_report, list_providers, clear_cache, setup_providers; the first four support the laya and laya_threshold parameters.
  • Provider paths: From free (DuckDuckGo) to free cross-validation (self-hosted SearXNG), then to production SERP (Bright Data supports Google, Bing, DuckDuckGo, Yandex, Baidu, Yahoo, Naver), and production-grade plus Web Unlocker.
  • Reliability mechanisms: Each provider has a circuit breaker (cooldown of 60 seconds after 3 consecutive failures), search and page response caching, asynchronous and multithreaded provider fan-out, goggles-style reranking presets (docs-first, research, news-balanced).

How to use A 30-second quick setup is provided. Users can optionally install a local "sieve" (about 800 MB), use MPS on Apple Silicon, CUDA on NVIDIA GPUs, and it can also run on CPU (slower). If the network cannot access Hugging Face, you can set HF_ENDPOINT. The project includes a CLI and an MCP server, and MCP can be integrated with MCP-capable agent tools such as Claude and Cursor.

Use cases

  • AI agents that need web search capability but do not want to manage multiple search API keys.
  • Research-oriented applications that need evidence verification of search results and generation of reports with citations.
  • Scenarios that need to obtain information across multiple search engines, multiple languages, and multiple platforms (such as Wikipedia, arXiv, YouTube, Reddit).
  • Teams that want structured, geographically targeted search results through Bright Data in production environments.

Limitations and notes

  • The lexical verifier (evidence-aware-heuristic-v3) is pattern matching rather than entailment judgment, and is insensitive to synonymous paraphrasing, negation scope, and numerical mismatches.
  • Laya mode (laya-stance-v1) can reduce one class of failures, but does not eliminate the possibility of failure. Laya's default threshold of 0.5 is a reasonable value rather than a calibrated value; before production use, it is recommended to scan --laya-threshold with a small labeled set.
  • Laya's base checkpoint is suitable for fine-tuning, not a zero-shot oracle; for high-risk domains, it is recommended to fine-tune on an open checkpoint for your own workflow and load it via --laya-model / --laya-subfolder.
  • High-cardinality option sets (more than 20 options per question) are a weakness of Laya; this project asks only 1-2 yes/no questions per item, which is within its comfort zone.
  • Verification quality depends on search returns: when there is no web footprint, insufficient_evidence is returned by design.
  • The Laya integration uses Laya from Convai Innovations (Apache-2.0 open weights); the search provider, verification pipeline, MCP server, and CLI are original to this project and use the MIT license.

Technical details

  • Verification fusion formula: in Laya mode it is 0.55 × neural stance + 0.35 × source quality + 0.10 × freshness; under the lexical model it is 0.45 × keyword overlap + other factors. The result payload retains the complete lexical sidecar for easy comparison of the two classifiers.
  • Tests: 111 tests pass (python -m pytest tests/ -q).
  • Page-aware verification (--deep) fetches the top pages and re-scores them.
  • When a compound statement is hit, claim decomposition is performed, producing sub-claim verdicts.

Official repository address:https://github.com/wd041216-bit/free-web-search-ultimate

Up/Down to navigate · Enter to open · ESC to closeBrowse all tools