Skip to main content
Glama
DuckDuckGo Search MCP Server

DuckDuckGo Search MCP Server

MCP DuckDuckGo Search

A Model Context Protocol (MCP) server querying DuckDuckGo Instant Answer API.

Installation

Installing via Smithery

To install DuckDuckGo Search for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @shaheen2013/duckduckgo-search-mcp-server --client claude

Manual Installation

# Clone the repository
git clone https://github.com/shaheen2013/duckduckgo-search-mcp-server.git
cd duckduckgo-search-mcp-server

# Install dependencies
npm install

# Build the project
npm run build

Docker

You can test this MCP server using Docker. To do this first run:

docker build -t duckduckgo-search-mcp-server .
docker run -p 8080:8080 duckduckgo-search-mcp-server

You can then test the server running within Docker via the inspector e.g.

pnpm run inspector http://localhost:8080

Related MCP server: DuckDuckGo Search MCP Server

Usage

Running the Server

You can use the MCP Inspector to test the server:

npm run inspector

Access the MCP Inspector and then test the tool e.g.

alt text

Development

Project Structure

  • src/index.ts - Main server implementation

Available Scripts

  • npm run build - Build the TypeScript code

  • npm run watch - Watch for changes and rebuild

  • npm run inspector - Run the MCP Inspector against the server

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Acknowledgments

Available Tools

1 tool

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 1 tool

    Disambiguation5/5

    Only one tool exists, so there is no possibility of confusion between tools.

    Naming Consistency5/5

    The single tool name follows a clear verb_noun pattern (search_duckduckgo), which is consistent and descriptive.

    Tool Count3/5

    A single tool for a search server feels minimal but still functional for its stated purpose; it is at the lower end of acceptable scope.

    Completeness2/5

    The server only offers a single search operation (Instant Answer API), lacking common search features like web search, image search, or filtering, which are typical gaps.

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables web search capabilities using DuckDuckGo's free API without requiring authentication or API keys.
      -
    • F
      license
      B
      quality
      D
      maintenance
      Enables querying the DuckDuckGo Instant Answer API through the Model Context Protocol, allowing users to perform searches and retrieve instant answers.
      1
      9
      -
    • F
      license
      C
      quality
      C
      maintenance
      Enables web searching using Google search results with no API keys required.
      1
      1
      -

    Appeared in Searches