Universal Search-First Knowledge Acquisition Plugin for LLMs (MCP + CLI-Anything)
Project description
🔍 Free Web Search Ultimate
Universal Search-First Knowledge Acquisition Plugin for LLMs
One install. Every LLM. Real-time knowledge. Zero cost.
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
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 "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 git+https://github.com/wd041216-bit/free-web-search-ultimate.git
🔌 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 and the skill is auto-discovered
pip install git+https://github.com/wd041216-bit/free-web-search-ultimate.git
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file free_web_search_ultimate-11.0.0.tar.gz.
File metadata
- Download URL: free_web_search_ultimate-11.0.0.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f7ce9b860f581917feaaf6bc62d21077cb625235d918182f8e112779f25dcc1a
|
|
| MD5 |
fbc84443cc5ee5317c607e4dcd71372e
|
|
| BLAKE2b-256 |
ca971e59917a2a489573a5cd7f37aa71dd7caa7af8e27e19e924542e0f06564b
|
File details
Details for the file free_web_search_ultimate-11.0.0-py3-none-any.whl.
File metadata
- Download URL: free_web_search_ultimate-11.0.0-py3-none-any.whl
- Upload date:
- Size: 16.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.0rc1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ff94b7e92810167ac1311580e21054285901b166c7e3cbd53e21fc7f0c46ba8
|
|
| MD5 |
aa821a93324a8e6ca83a772a18eb31d8
|
|
| BLAKE2b-256 |
3181d82225f5915a14d31b3dbaab078a84230469c91f5d065e7367945fc50b10
|