Atlas / MCP servers / zhsama / DuckDuckGo Search

DuckDuckGo SearchSAFE

mcp/zhsama/duckduckgo-search-2
Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
1 1r · 0w · 0d
Transport
stdio
License
MIT
Stars
87
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

English | 中文

A Model Context Protocol server for DuckDuckGo Search

This is a TypeScript-based MCP server that provides DuckDuckGo search functionality. It demonstrates core MCP concepts through:

  • Integration with DuckDuckGo Search
  • Easy-to-use search tool interface
  • Rate limiting and error handling support

Features

Search Tool

  • duckduckgo_search - Perform web searches using DuckDuckGo API
  • Required parameter: query (search query, max 400 characters)
  • Optional parameter: count (number of results, 1-20, default 10)
  • Optional parameter: safeSearch (safety level: strict/moderate/off, default moderate)
  • Returns formatted Markdown search results

Rate Limits

  • Maximum 1 request per second
  • Maximum 15000 requests per month

Development

Prerequisites

  • Node.js >= 18
  • pnpm >= 8.0.0

Installation

# Install pnpm if not already installed
npm install -g pnpm

# Install project dependencies
pnpm install

Build and Run

Build the server:

pnpm run build

For development with auto-rebuild:

pnpm run watch

Setup in Claude Desktop

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json On Windows: %APPDATA%/Claude/claude_desktop_config.json

# online
{
"mcpServers": {
"duckduckgo-search": {
"command": "npx",
"args": [
"-y",
"duckduckgo-mcp-server"
]
}
}
}

# local
{
"mcpServers": {
"duckduckgo-search": {
"command": "node",
"args": [
"/path/to/duckduckgo-search/build/index.js"
]
}
}
}

![image](ht

Read from source at commit b46877fd2692OBSERVED · 2026-10-07
Advertisement
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add duckduckgo-mcp-server -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "duckduckgo-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (1)

1 read · 0 write · 0 destructive.

ToolRiskDescription
duckduckgo_web_searchreadPerforms a web search using the DuckDuckGo, ideal for general queries, news, articles, and online content.
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
none-observed
Network
none-observed
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (1)

LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
node-fetch, @types/node, ts-node, typescript
Why it matters. 4 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha b46877fd2692full audit observations/trust-audit/mcp-server/zhsama__duckduckgo-search-2.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-07b46877fd2692SAFEB89first audit
06

Questions

What tools does DuckDuckGo Search expose?

1 in total: 1 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is DuckDuckGo Search safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does DuckDuckGo Search need?

No credential environment variables were found in its source, so it appears to need none.

How does DuckDuckGo Search run?

It speaks stdio, so it runs as a local process your client starts. It is published on npm as duckduckgo-mcp-server at 0.1.2.

How current is this page?

The grade is for one exact copy of the source (b46877fd2692), read on 2026-10-07. The repository is watched and re-audited when it changes.

Advertisement