free-web-search-ultimate
Universal Search-First Knowledge Acquisition Plugin for LLMs. Enables real-time web search and deep page browsing via MCP or CLI. Zero-cost, privacy-first, supports DuckDuckGo, Bing, Google, Brave, Wikipedia, Arxiv, YouTube, Reddit and more.
README
<div align="center"> <img src="assets/banner.png" alt="Free Web Search Ultimate" width="100%"/> <h1>🔍 Free Web Search Ultimate</h1> <p><strong>Universal Search-First Knowledge Acquisition Plugin for LLMs</strong></p> <p><em>One install. Every LLM. Real-time knowledge. Zero cost.</em></p>
<br/>
Stop letting your LLM guess. Give it the ability to search.
By default, every LLM—Claude, GPT-4, Gemini—answers questions from training data that can be months or years out of date. This plugin introduces a Search-First Paradigm: the LLM is instructed to use real-time web search as its primary knowledge source, not a fallback.
🏗️ Architecture
<div align="center"> <img src="assets/architecture.png" alt="Architecture Diagram" width="90%"/> </div>
One plugin, every ecosystem. Whether you use Claude Desktop, Cursor, OpenClaw, or a custom LangChain agent, this plugin connects your LLM to the live web through a unified interface.
The free_web_search/skills/ directory contains the auto-discoverable SKILL.md that CLI-Anything compatible frameworks (such as OpenClaw) load automatically at startup — no manual configuration required.
🌟 The "Search-First" Paradigm
| Old Paradigm (Default LLM) | New Paradigm (This Plugin) |
|---|---|
| Answers from training data | Answers from live web search |
| Knowledge cutoff date | Always up-to-date |
| May hallucinate facts | Cites verifiable sources |
| Single knowledge source | Multi-source cross-validation |
When this plugin is installed, the AI agent is instructed to:
- Never Guess Facts — Use
search-webbefore answering any factual, technical, or real-time question. - Override Internal Knowledge — Even if the LLM "knows" the answer, it verifies via search for topics prone to change.
- Deep Verification — If search snippets are insufficient, use
browse-pageto read the full source. - Cite Sources — Always provide the source URLs in the final answer.
📦 Installation
pip install free-web-search-ultimate
Requirements: Python 3.10+
Or install from source:
git clone https://github.com/wd041216-bit/free-web-search-ultimate.git
cd free-web-search-ultimate
pip install -e .
🔌 Integration Guide
Claude Desktop & Cursor (via MCP)
Add to your claude_desktop_config.json or Cursor MCP settings:
{
"mcpServers": {
"free-web-search": {
"command": "free-web-search-mcp",
"args": []
}
}
}
That's it. Claude and Cursor will now have access to search_web and browse_page tools.
OpenClaw (via CLI-Anything)
# Install — the skill is auto-discovered from the bundled SKILL.md
pip install free-web-search-ultimate
OpenClaw reads the bundled SKILL.md and automatically loads the Search-First behavioral instructions.
LangChain / Custom Agents
from langchain.tools import Tool
import subprocess, json
def search_web(query: str) -> str:
result = subprocess.run(
["search-web", query, "--json"],
capture_output=True, text=True
)
data = json.loads(result.stdout)
return data.get("answer", "No results found.")
search_tool = Tool(
name="search_web",
func=search_web,
description="Search the web for real-time information. Use this before answering any factual question."
)
OpenAI Function Calling
tools = [
{
"type": "function",
"function": {
"name": "search_web",
"description": "Search the web for real-time information, news, or facts. Always call this before answering factual questions.",
"parameters": {
"type": "object",
"properties": {
"query": {"type": "string", "description": "The search query"},
"type": {"type": "string", "enum": ["text", "news", "images", "videos", "books"], "default": "text"}
},
"required": ["query"]
}
}
}
]
💻 CLI Usage
search-web — Web Search
# General knowledge
search-web "Python 3.13 new features"
# Breaking news
search-web "OpenAI GPT-5" --type news --timelimit w
# Images
search-web "neural network diagram" --type images
# Chinese search
search-web "人工智能最新进展" --region zh-cn
# JSON output for programmatic use
search-web "quantum computing" --json
browse-page — Deep Page Reading
# Read full page content
browse-page "https://docs.python.org/3/whatsnew/3.13.html"
# JSON output
browse-page "https://arxiv.org/abs/2303.08774" --json
🏆 Why This Over Alternatives?
| Feature | This Plugin | Tavily API | Serper API | Bing Search API |
|---|---|---|---|---|
| Cost | Free | $0.01/req | $0.001/req | $3/1000 req |
| API Key Required | No | Yes | Yes | Yes |
| Privacy | Local | Cloud | Cloud | Cloud |
| MCP Support | Yes | Partial | No | No |
| CLI-Anything | Yes | No | No | No |
| Image Search | Yes | No | Yes | Yes |
| Book Search | Yes | No | No | No |
| Browse Page | Yes | Yes | No | No |
📄 License
MIT License — free for personal and commercial use.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.