Sponsored by Deepsite.site

DuckDuckGo Search MCP 🔍

Created By
OEvortex10 months ago
A powerful Model Context Protocol (MCP) server for web search and URL content extraction using DuckDuckGo.
Content
npm version License: Apache 2.0 YouTube Channel

DuckDuckGo Search MCP 🔍

A blazing-fast, privacy-friendly Model Context Protocol (MCP) server for web search and URL content extraction using DuckDuckGo.

Subscribe for updates & tutorials

IMPORTANT

DuckDuckGo Search MCP supports the Model Context Protocol (MCP) standard, making it compatible with various AI assistants and tools.


✨ Features

🌐 Web search using DuckDuckGo HTML
📄 URL content extraction with smart filtering
📊 URL metadata extraction (title, description, images)
⚡ Performance optimized with caching
🛡️ Security features including rate limiting and rotating user agents
🔌 MCP-compliant server implementation
🆓 No API keys required - works out of the box

IMPORTANT

Unlike many search tools, this package performs actual web scraping rather than using limited APIs, giving you more comprehensive results.


🚀 Quick Start

Run instantly with npx:
npx -y @oevortex/ddg_search

TIP

This will download and run the MCP server directly without installation – perfect for quick use with AI assistants.


🛠️ Installation Options

Global Installation
npm install -g @oevortex/ddg_search

Run globally:

ddg-search-mcp
Local Installation (Development)
git clone https://github.com/OEvortex/ddg_search.git
cd ddg_search
npm install
npm start

🧑‍💻 Command Line Options

npx -y @oevortex/ddg_search --help

TIP

Use the --version flag to check which version you're running.


🤖 Using with MCP Clients

IMPORTANT

The most common way to use this tool is by integrating it with MCP-compatible AI assistants.

Add the server to your MCP client configuration:

{
  "mcpServers": {
    "ddg-search": {
      "command": "npx",
      "args": ["-y", "@oevortex/ddg_search"]
    }
  }
}

Or if installed globally:

{
  "mcpServers": {
    "ddg-search": {
      "command": "ddg-search-mcp"
    }
  }
}

TIP

After configuring, restart your MCP client to apply the changes.


🧰 Tools Overview

🔍 Web Search Tool
web-search
  • query (string, required): The search query
  • page (integer, optional, default: 1): Page number
  • numResults (integer, optional, default: 10): Number of results (1-20)
Example: Search the web for "climate change solutions"
📄 Fetch URL Tool
fetch-url
  • url (string, required): The URL to fetch
  • maxLength (integer, optional, default: 10000): Max content length
  • extractMainContent (boolean, optional, default: true): Extract main content
  • includeLinks (boolean, optional, default: true): Include link text
  • includeImages (boolean, optional, default: true): Include image alt text
  • excludeTags (array, optional): Tags to exclude
Example: Fetch the content from "https://example.com"
📊 URL Metadata Tool
url-metadata
  • url (string, required): The URL to extract metadata from
Example: Get metadata for "https://example.com"

📁 Project Structure

bin/              # Command-line interface
src/
  index.js        # Main entry point
  tools/          # Tool definitions and handlers
    searchTool.js
    fetchUrlTool.js
    metadataTool.js
  utils/
    search.js     # Search and URL utilities
package.json
README.md

🤝 Contributing

Contributions are welcome! Please open issues or submit pull requests.

NOTE

Please follow the existing code style and add tests for new features.


📺 YouTube Channel


📄 License

Apache License 2.0

NOTE

This project is licensed under the Apache License 2.0 – see the LICENSE file for details.


Made with ❤️ by @OEvortex
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
WindsurfThe new purpose-built IDE to harness magic
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
ChatWiseThe second fastest AI chatbot™
Amap Maps高德地图官方 MCP Server
CursorThe AI Code Editor
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
Playwright McpPlaywright MCP server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Serper MCP ServerA Serper MCP Server
DeepChatYour AI Partner on Desktop
Tavily Mcp
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.