Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"ddg-search": {
"args": [
"-y",
"@oevortex/ddg_search@latest"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Powered by DuckDuckGo, IAsk AI, Monica, and Brave AI.
This server supports HTTP transport. Be the first to test it — help the community know if it works.
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @oevortex/ddg_search against OSV.dev.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in search
Web and local search using Brave Search API
The official MCP server implementation for the Perplexity API Platform
Production ready MCP server with real-time search, extract, map & crawl.
mini cli search engine for your docs, knowledge bases, meeting notes, whatever. Tracking current sota approaches while being all local
MCP Security Weekly
Get CVE alerts and security updates for Ddg_search and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Web search and AI-powered answers from the command line or MCP.
DuckDuckGo, IAsk AI, and Monica AI. No API keys required.
# Search from the command line
npx -y @oevortex/ddg_search@latest "your search query"
# Or install globally
npm install -g @oevortex/ddg_search
ddg "your search query"
# Basic web search (DuckDuckGo)
ddg "quantum computing"
# Get more results
ddg "latest news" -n 10
# AI-generated answer (IAsk)
ddg "explain recursion" -m ai
# AI-generated answer (Monica)
ddg "hello world" -m ai -b monica
# IAsk with options
ddg "gravity" -m ai --iask-mode academic --detail-level comprehensive
| Flag | Description | Default |
|---|---|---|
-m, --mode | web or ai | web |
-b, --backend | iask or monica (AI mode only) | iask |
-n, --num-results | Number of results (1-20, web mode) | 3 |
--iask-mode | question, academic, forums, wiki, thinking | thinking |
--detail-level | concise, detailed, comprehensive | — |
-h, --help | Show help | |
-v, --version | Show version |
Start the MCP server for use with Claude Desktop, OpenCode, or other MCP clients:
ddg --server
Claude Desktop config:
{
"mcpServers": {
"ddg-search": {
"command": "npx",
"args": ["-y", "@oevortex/ddg_search@latest"]
}
}
}
Global install config:
{
"mcpServers": {
"ddg-search": {
"command": "ddg"
}
}
}
import { searchDuckDuckGo } from '@oevortex/ddg_search/src/utils/search.js';
import { searchIAsk } from '@oevortex/ddg_search/src/utils/search_iask.js';
import { searchMonica } from '@oevortex/ddg_search/src/utils/search_monica.js';
// DuckDuckGo
const results = await searchDuckDuckGo("query", 5);
// IAsk AI
const answer = await searchIAsk("query", "thinking", null);
// Monica AI
const answer = await searchMonica("query");
Single unified tool web-search:
| Parameter | Type | Default | Description |
|---|---|---|---|
query | string | required | Search query |
mode | "web" | "ai" | "web" | DuckDuckGo results or AI answer |
backend | "iask" | "monica" | "iask" | AI backend (mode=ai only) |
numResults | integer | 3 | Results count (web mode, 1-20) |
iaskMode | string | "thinking" | IAsk mode (backend=iask only) |
detailLevel | string | — | IAsk detail level (backend=iask only) |
Add this to your agent's system prompt to enable web search:
When you need to search the web or find current information, use the DDG Search CLI:
npx -y @oevortex/ddg_search@latest "<query>" -m ai
This runs an AI-powered web search via IAsk. For standard DuckDuckGo results (titles + URLs + snippets), use mode "web" instead:
npx -y @oevortex/ddg_search@latest "<query>" -m web -n 5
For a different AI backend (Monica), add -b monica. Use this for any research, fact-checking, or current events task.
Respects HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables automatically.
HTTPS_PROXY=http://proxy:8080 ddg "search query"
npm install -g @oevortex/ddg_search
Or use npx without installing.
bin/cli.js
... [View full README on GitHub](https://github.com/OEvortex/ddg_search#readme)