Local Websearch
FreeNot checkedSmall Python MCP server that provides web search and page fetching tools via DuckDuckGo, requiring no API key.
About
Small Python MCP server that provides web search and page fetching tools via DuckDuckGo, requiring no API key.
README
Small Python MCP server that provides two tools:
web_search: search the public web through DuckDuckGo HTML resultsweb_fetch: fetch a page and extract readable text
No API key is required.
Requirements
- Linux server or workstation
- Python 3.10+
- Outbound internet access for:
pip install- web searches and page fetches at runtime
Quick install
git clone <this-repo-url> local-websearch-mcp
cd local-websearch-mcp
chmod +x install.sh
./install.sh
That creates .venv/, installs the package, and runs a built-in health check.
Manual install
python3 -m venv .venv
. .venv/bin/activate
pip install --upgrade pip
pip install .
local-websearch-mcp --self-test
Run
.venv/bin/local-websearch-mcp
Or:
python -m local_websearch_mcp.server
MCP client config
Use the installed executable directly:
{
"mcpServers": {
"local-websearch": {
"command": "/absolute/path/to/local-websearch-mcp/.venv/bin/local-websearch-mcp"
}
}
}
Health check
.venv/bin/local-websearch-mcp --self-test
Expected output:
{
"server": "local-websearch",
"status": "ok",
"tools": ["web_search", "web_fetch"]
}
Tools
web_search(query: str, max_results: int = 5)web_fetch(url: str, max_chars: int = 12000)
Local demo
python examples/simple_client.py
Repo contents
src/local_websearch_mcp/: MCP server and helpersexamples/: local demo clientinstall.sh: one-command local install
Notes
- DuckDuckGo HTML markup can change, so selectors may need maintenance.
- This server uses direct HTTP requests. Respect site terms and robots policies.
Installing Local Websearch
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/dr34dl10n/websearch-mcpFAQ
Is Local Websearch MCP free?
Yes, Local Websearch MCP is free — one-click install via Unyly at no cost.
Does Local Websearch need an API key?
No, Local Websearch runs without API keys or environment variables.
Is Local Websearch hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Local Websearch in Claude Desktop, Claude Code or Cursor?
Open Local Websearch on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Local Websearch with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
