DuckDuckGo MCP ServerSAFE
an mcp server to access DuckDuckGo
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
A Model Context Protocol (MCP) server that provides DuckDuckGo search functionality for AI assistants.
[](https://www.npmjs.com/package/@ericthered926/duckduckgo-mcp-server)
Attribution: This project is a fork of zhsama/duckduckgo-mcp-server, originally created by zhsama. This fork adds English localization, news search, region support, time filtering, and modern tooling.
Features
- Web Search - Search the web with region-specific and time-filtered results
- News Search - Search recent news articles with source and date information
- Token Optimization - Configurable result limits, snippet truncation, and formatting for low-VRAM LLMs
- SafeSearch - Content filtering (strict, moderate, off)
- Region Support - Localized results for different countries
- Time Filtering - Filter results by day, week, month, year
- Rate Limiting - Configurable rate limits to prevent abuse
- Configurable Logging - Debug, info, warn, error, or none
Installation
Prerequisites
- Node.js >= 18.0.0 (tested with Node 24)
- npm
Install & Build
npm install npm run build
Available Tools
duckduckgo_web_search
Performs a web search using DuckDuckGo.
b928b68fe9d1OBSERVED · 2026-10-12Connect
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 mcp add duckduckgo-mcp-server -- npx -y @ericthered926/[email protected]
{
"mcpServers": {
"duckduckgo-mcp-server": {
"command": "npx",
"args": [
"-y",
"@ericthered926/[email protected]"
]
}
}
}Exposed tools (2)
2 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
duckduckgo_news_search | read | News search via DuckDuckGo. Returns max ${CONFIG.search.defaultResults} articles with ${CONFIG.search.maxSnippetLength}-char excerpts. |
duckduckgo_web_search | read | Web search via DuckDuckGo. Returns max ${CONFIG.search.defaultResults} results with ${CONFIG.search.maxSnippetLength}-char snippets. |
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.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (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 (2)
.prettierignore
@modelcontextprotocol/sdk, duck-duck-scrape, zod, @eslint/js, @types/node, eslint, globals, husky
Gates applied: no_behavioural_pass.
b928b68fe9d1full audit observations/trust-audit/mcp-server/ericthered926__duckduckgo-mcp-server.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-12 | b928b68fe9d1 | SAFE | B | 89 | first audit |
Questions
What is the @ericthered926/duckduckgo-mcp-server MCP server?
an mcp server to access DuckDuckGo
What tools does @ericthered926/duckduckgo-mcp-server expose?
2 in total: 2 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is @ericthered926/duckduckgo-mcp-server 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 @ericthered926/duckduckgo-mcp-server need?
No credential environment variables were found in its source, so it appears to need none.
How does @ericthered926/duckduckgo-mcp-server run?
It speaks stdio, so it runs as a local process your client starts. It is published on npm as @ericthered926/duckduckgo-mcp-server at 0.6.0.
How current is this page?
The grade is for one exact copy of the source (b928b68fe9d1), read on 2026-10-12. The repository is watched and re-audited when it changes.