mcp-web-search

mcp-web-search

Enables web searches through DuckDuckGo without an API key and extracts readable main content from web pages.

Category
Visit Server

README

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

Tools

Tool Description
webSearch Search the web with DuckDuckGo. Returns title, URL, and snippet for each result.
fetchWebContent 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.js

Note: This package is not published to npm. The mcp-web-search name 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-search

MCP 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
query string Yes - Search query
maxResults number No 10 Max results (1-20)
region string No - Region code (e.g., jp-ja, us-en, wt-wt)

fetchWebContent

Parameter Type Required Default Description
url string Yes - URL to fetch
maxChars 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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured