local-websearch-mcp
Allows searching the public web through DuckDuckGo HTML results, providing web search and page fetching capabilities.
Click on "Install 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., "@local-websearch-mcpsearch for best practices in Python packaging"
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.
local-websearch-mcp
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 installweb searches and page fetches at runtime
Related MCP server: mcp-ddg-research
Quick install
git clone <this-repo-url> local-websearch-mcp
cd local-websearch-mcp
chmod +x install.sh
./install.shThat 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-testRun
.venv/bin/local-websearch-mcpOr:
python -m local_websearch_mcp.serverMCP 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-testExpected 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.pyRepo 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.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceA lightweight MCP server that enables LLMs to search the web via DuckDuckGo, search GitHub code repositories, and extract clean content from web pages in LLM-friendly formats.Last updated8
- Alicense-qualityBmaintenanceLightweight MCP server for DuckDuckGo search with HTML fallback, safe webpage fetching, caching, and clean text extraction.Last updatedAGPL 3.0
- FlicenseAqualityDmaintenanceA simple MCP server that provides web search functionality via DuckDuckGo, returning titles, URLs, and descriptions for results. Configurable result limit.Last updated1
- Flicense-qualityDmaintenanceMCP server that provides web search scraping from DuckDuckGo (with Mojeek fallback) and URL content fetching as markdown/text or raw HTML.Last updated1
Related MCP Connectors
Serper MCP — wraps the Serper Google Search API (serper.dev)
MCP server for Google search results via SERP API
An MCP server that gives your AI access to the source code and docs of all public github repos
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dr34dl10n/websearch-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server