mcp-web-search
Provides web search functionality via DuckDuckGo, returning search 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., "@mcp-web-search Search for the latest AI news and summarize the top result."
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.
MCP Web Search
A Model Context Protocol (MCP) server for web search using DuckDuckGo. No API key required.
Features
Web Search - Search the web via DuckDuckGo's static HTML interface
Content Extraction - Fetch and extract readable content from any webpage using Mozilla's Readability
Zero Configuration - No API keys, no signup, works out of the box
Lightweight - Uses Node.js native
fetch, no heavy browser automation
Related MCP server: Web Scout MCP Server
Tools
Tool | Description |
| Search the web with DuckDuckGo. Returns title, URL, and snippet for each result. |
| Extract main text content from a webpage URL. Removes ads, navigation, and noise. |
Usage
Local installation
git clone https://github.com/doranobik/mcp-web-search.git
cd mcp-web-search
npm install
npm run build
node dist/index.jsNote: This package is not published to npm. The
mcp-web-searchname on npm belongs to an unrelated project, so install from this repository instead.
Docker
docker build -t mcp-web-search .
docker run -i mcp-web-searchMCP Client Configuration
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"web-search": {
"command": "node",
"args": ["/path/to/mcp-web-search/dist/index.js"]
}
}
}LM Studio (mcp.json):
{
"mcpServers": {
"web-search": {
"command": "node",
"args": ["/path/to/mcp-web-search/dist/index.js"]
}
}
}Tool Parameters
webSearch
Parameter | Type | Required | Default | Description |
| string | Yes | - | Search query |
| number | No | 10 | Max results (1-20) |
| string | No | - | Region code (e.g., |
fetchWebContent
Parameter | Type | Required | Default | Description |
| string | Yes | - | URL to fetch |
| number | No | 5000 | Max characters to return (100-200000) |
Disclaimer
This server searches the web by parsing DuckDuckGo's HTML interface, not an official API. It may break if DuckDuckGo changes its markup, and heavy automated use may violate DuckDuckGo's terms of service or lead to rate limiting. Use it responsibly and at your own risk.
License
MIT — see LICENSE for details.
Available Tools
2 toolsfetchWebContentFetch Web ContentA
<use_case>Fetch and extract the main text content from a webpage. Use this tool after webSearch to read the full content of a specific URL, or when given a direct URL to analyze.</use_case> <important_notes>
Extracts readable article text, removing ads, navigation, and other non-content elements
Works best with article pages, blog posts, and documentation
May not work well with heavily JavaScript-rendered pages or pages requiring login
Use maxChars to limit returned content length for large pages </important_notes>
Inputs: url (required), maxChars.
webSearchWeb SearchA
<use_case>Search the web using DuckDuckGo. Use this tool when you need to find current information, news, documentation, or answers to questions from the internet.</use_case> <important_notes>
No API key required
Results include title, URL, and snippet for each result
Use the region parameter to get localized results (e.g., 'jp-ja' for Japanese)
After getting search results, use fetchWebContent to read full page content from any URL </important_notes>
Inputs: query (required), region, maxResults.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have clearly distinct purposes: webSearch for querying the web and fetchWebContent for retrieving page content. There is no overlap or ambiguity between them.
Both tool names follow a consistent camelCase verb-noun pattern (webSearch, fetchWebContent), making them predictable and easy to understand.
With only 2 tools, the server is minimal but well-scoped for its stated purpose of web search and content fetching. While the typical range is 3-15, this lean set is appropriate for the narrow domain.
The server covers the essential workflow of searching the web and then fetching full content from selected URLs. No critical operations are missing for its intended use case.
Maintenance
Related MCP Connectors
Web search, URL content extraction to Markdown, site mapping, and recursive web crawler.
Web search and page reading for AI agents, including JSON APIs, RSS feeds and YouTube.
Web search and any page as LLM-ready Markdown for AI agents. Free keyless tier, no signup.
Search the open web and Extract Raw Content for AI agents.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables web searching through DuckDuckGo and fetching content from webpages. Provides search capabilities with configurable result limits and webpage content extraction for AI assistants.-
- AlicenseBqualityCmaintenanceEnables privacy-focused web searches using DuckDuckGo and extraction of clean, readable content from web pages with support for parallel processing of multiple URLs.239 npm151Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables web search and content fetching via DuckDuckGo without requiring an API key.547 npm3MIT
- AlicenseNot gradedqualityDmaintenanceEnables web search using Bing and DuckDuckGo combined, and fetching readable content from web pages, with no API key required.9 npm2MIT