free-web-search-mcp
Allows searching the web using DuckDuckGo, returning a list of results with titles, URLs, and snippets.
Allows searching the web using Google's search engine, returning a list of results with titles, URLs, and snippets.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@free-web-search-mcp search the web for MCP server best practices"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
free-web-search-mcp
A free web search MCP server powered by real browsers.
Features · Install · Configure · Tools · Contributing · License
Features
MCP server exposing
web_search,fetch_page, andsetup_camoufoxtoolsMultiple browser backends selectable at runtime:
camoufox— stealth Firefox (anti-detect), default when installedchrome— Playwright Chromium via installed Google Chromemsedge— Playwright Chromium via installed Microsoft Edgechromium— Playwright bundled Chromiumfirefox— Playwright Firefoxwebkit— Playwright WebKit
Auto-setup Camoufox — pip install + binary download on demand
Multiple search engines: Google (default), Bing, DuckDuckGo
Page content extraction (plain text) for deep-reading a result URL
Humanized typing, configurable proxy, locale, headless mode
Block detection with actionable hints (e.g. "retry with
browser='camoufox'")
Related MCP server: CloakBrowser Search MCP
Install
# Default install (Playwright path)
pip install -e .
# With Camoufox (recommended for stealth)
pip install -e ".[camoufox]"
camoufox fetch
# Playwright browsers (only download the ones you'll use)
playwright install chromium # for backend=chromium
playwright install firefox # for backend=firefox
playwright install webkit # for backend=webkit
# chrome / msedge backends use the already-installed system browser, no download needed.Camoufox missing on first run? It is installed and downloaded automatically — no manual steps required.
Configure
cp .env.example .env
# edit .envEnv | Default | Description |
|
| Default search engine: |
|
| Max results returned per search |
| auto |
|
|
| Run browser headless |
|
| Humanized typing |
|
| Browser locale |
| empty | Optional proxy |
|
|
|
Run
# Direct
python -m free_web_search_mcp
# Via script entry point
free-web-search-mcpIntegrate
Claude Desktop — claude_desktop_config.json
{
"mcpServers": {
"free-web-search": {
"command": "python",
"args": ["-m", "free_web_search_mcp"],
"cwd": "<path-to-this-project>"
}
}
}opencode — opencode.json (global or project)
{
"mcp": {
"free-web-search": {
"type": "local",
"command": ["python", "-m", "free_web_search_mcp"],
"enabled": true,
"environment": {
"HEADLESS": "true",
"HUMANIZE": "true",
"DEFAULT_BROWSER": "camoufox"
}
}
}
}Tools
web_search(query, max_results=10, engine="google", browser="")
Search the web and return a list of {position, title, url, snippet}.
Parameter | Type | Default | Description |
| str | required | Search query string |
| int |
| 1-20 |
| str |
|
|
| str | auto |
|
fetch_page(url, max_chars=20000, browser="")
Fetch a URL and extract its main content as plain text.
Parameter | Type | Default | Description |
| str | required | Page URL |
| int |
| 1000-50000 |
| str | auto | Same options as |
setup_camoufox(force=False)
Ensure the Camoufox stealth browser is installed and its binary is downloaded. Runs pip install camoufox and python -m camoufox fetch automatically if missing. No-op if already installed.
Parameter | Type | Default | Description |
| bool |
| Re-download the binary even if present |
Tips: avoid captcha & blocks
Search engines flag requests by IP reputation, not just browser fingerprint. Camoufox handles the fingerprint side, but the IP matters more than people expect.
Run locally when possible. A residential home IP is clean and almost never gets captchas. A VPS/datacenter IP is frequently flagged — even with Camoufox, Google may serve reCAPTCHA. Prefer running this server on your local machine (or home server) and pointing your MCP client at it.
If you must run on a VPS:
Set
HUMANIZE=trueand keep requests spaced out (no rapid bursts).Use a residential proxy via
PROXY_URL(http://user:pass@host:port). This is the single most effective fix for captcha on datacenter IPs.Fall back to
engine="bing"orengine="duckduckgo"— they are generally more permissive than Google.Rotate locale / user-agent across calls.
Block detection is built in. When a search hits a captcha/consent page, the tool returns a clear error and suggests retrying with browser="camoufox" — so the caller can switch backend automatically.
Contributing
Pull requests are welcome. Please open them against a feature branch (not main):
git checkout -b feature/your-feature
git push -u origin feature/your-featureThen open a PR targeting main. Keep commits focused and titled in the imperative mood (e.g. "Add support for Yandex"). Run ruff check . before submitting.
License
MIT — see LICENSE.
Available Tools
3 toolsfetch_pageA
Fetch a web page and return its main content as plain text. Browser backend: 'camoufox' (stealth Firefox, default if installed), 'chrome', 'msedge', 'chromium', 'firefox', or 'webkit'. Omit to use the default. Useful for reading the full content of a search result URL.
Inputs: url (required), browser, max_chars. Returns: result
setup_camoufoxA
Ensure the Camoufox stealth browser is installed and its binary is downloaded. Runs pip install camoufox and python -m camoufox fetch automatically if missing. Returns current status. No-op if already installed.
Inputs: force. Returns: result
web_searchA
Search the web via a real browser and return results. Browser backend: 'camoufox' (stealth Firefox, default if installed), 'chrome', 'msedge', 'chromium', 'firefox', or 'webkit'. Omit to use the default. Engine options: 'google', 'bing', or 'duckduckgo'.
Inputs: query (required), engine, browser, max_results. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a distinct purpose: setup_camoufox handles installation, web_search performs queries, and fetch_page retrieves page content. No overlap in functionality.
All names use snake_case, but web_search is a compound noun rather than a clear verb_noun construction like the other two. Minor deviation from the otherwise consistent pattern.
Three tools is a well-scoped set for a web search server, covering setup, searching, and fetching without unnecessary bloat.
The domain of web search is fully covered: setup ensures the browser is ready, web_search finds results, and fetch_page reads full content. No obvious gaps for basic search workflows.
Related MCP Connectors
One MCP server for all web data. Scrape, search, crawl, and AI research in one install.
Web search API and MCP server for developers building AI agents.
Docs: https://docs.keenable.ai/mcp-server Keenable is a free, remote MCP server that gives agents access to the web index. Search the web with ranked results and date/site filters, then fetch any indexed page as clean markdown. Works out of the box with no account or API key.
Free remote MCP server for fetching public web pages through a rotating proxy pool.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides web search and content fetching using real Chrome browsers via CDP, bypassing bot detection and requiring no API keys.22MIT
- AlicenseNot gradedqualityDmaintenanceA local web search MCP server that uses stealth Chromium to bypass CAPTCHAs and bot blocks, supporting Google and DuckDuckGo with automatic fallback.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for internet search via direct Google and DuckDuckGo HTML scraping with AI-powered result normalization and optional summarization, requiring no API keys for search.MIT
- AlicenseAqualityDmaintenanceA production-ready MCP server for free web search, news search, and webpage content extraction using DuckDuckGo and Bing.4MIT