home / mcp / duckduckgo mcp server

DuckDuckGo MCP Server

A powerful Model Context Protocol (MCP) server for web search and URL content extraction using DuckDuckGo.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "oevortex-ddg_search": {
      "command": "ddg-search-mcp",
      "args": []
    }
  }
}

This Model Context Protocol (MCP) server provides fast, privacy-first web search and AI-powered answers by integrating DuckDuckGo web search with IAsk AI, Monica, and Brave AI. You can connect MCP-compatible assistants to this server to perform web searches, access AI search capabilities, and receive comprehensive results with built-in performance and security features.

How to use

You equip your MCP client to communicate with this server by configuring an MCP server entry that runs the server locally or remotely. The server exposes tools for web search and AI-assisted querying, so you can perform typical search tasks, ask questions, and retrieve multi-source results within your assistant workflows.

How to install

Prerequisites: Node.js is commonly used to run MCP servers and their tooling. Ensure Node.js and npm (or Yarn, or pnpm) are installed on your system before proceeding.

# Quick start using npx (no installation required)
npx -y @oevortex/ddg_search@latest

If you prefer a persistent setup, you can install the MCP server globally or locally.

# Global installation with npm
npm install -g @oevortex/ddg_search

# Run globally
ddg-search-mcp
# Global installation with Yarn
yarn global add @oevortex/ddg_search

# Run globally
ddg-search-mcp
# Local installation for development
git clone https://github.com/OEvortex/ddg_search.git
cd ddg_search
npm install
npm start

Alternatively, you can use pnpm for a local or global setup.

# Local with pnpm
pnpm install
pnpm start

Using with MCP Clients

To integrate with an MCP client, add a server entry that points to the MCP server executable. The tool can be run via npx or as a locally installed command. The following examples show common configurations.

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

After adding the MCP server, restart your MCP client to apply the changes.

Available tools

web-search

Web search tool that queries DuckDuckGo HTML pages with parameters for query, page, and numResults to return a list of results.

iask-search

IAsk AI search tool that supports mode and detailLevel to tailor AI-assisted search results.

monica-search

Monica AI search tool for querying information from Monica AI with a simple query input.