Enables web search functionality using DuckDuckGo's HTML interface to query the web and retrieve search results with URLs, titles, and snippets.
Uses Mozilla Readability library to extract clean, readable content from web pages, removing clutter and formatting for better text extraction.
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., "@Web Search MCPsearch for recent developments in quantum computing"
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.
Web Search MCP
Minimal MCP server that can search the web and extract readable page content, similar to Cursor's built-in web context.
Features
search_web: Query the web (DuckDuckGo HTML) and return result URLs and titles
fetch_page: Fetch any URL and extract readable content using Mozilla Readability + JSDOM
Requirements
Node.js 20+ (recommended: 20.18.1+)
Install
Run (stdio)
Install globally
Then reference the binary web-search-mcp.
Integrate with Cursor (MCP)
Add to your Cursor MCP settings:
Alternatively, without global install, use npx:
Tools
search_web
input:
query(string, required)limit(number, optional, 1–10, default 5)
output: array of
{ url: string; title?: string; snippet?: string }
fetch_page
input:
url(string URL, required)
output:
{ url: string; title?: string; content: string }
Development
Type-check, lint and tests:
Run individually:
Notes
Web search uses DuckDuckGo HTML; results may vary and are HTML-scraped (no API key required)
Be mindful of target site terms of use and robots policies when fetching pages
License
MIT