DDGS MCP Server
Allows searching the web using Brave Search, with results including snippets and optional full content extraction.
Allows searching the web using DuckDuckGo, with results including snippets and optional full content extraction.
Allows searching the web using Google, with results including snippets and optional full content extraction.
Allows searching the web using Mojeek, with results including snippets and optional full content extraction.
Allows searching Wikipedia for encyclopedia articles, with results including snippets and optional full content extraction.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DDGS MCP Serversearch for recent AI news"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
DDGS MCP Server
A Model Context Protocol (MCP) server that provides DuckDuckGo Search capabilities to AI agents.
Live page: https://ddgs-mcp-server.oriz.in
Features
search_text: Advanced metasearch using
bing,brave,duckduckgo,google,mojeek,yahoo,yandex,wikipedia.Full Content Extraction: Optionally fetch complete page content (not just snippets) for comprehensive context.
search_news: Find latest updates, releases, and tech news.
Related MCP server: WebRead MCP
Full Content Extraction
For coding agents that need complete context from search results, enable full page content fetching:
Usage
{
"query": "python async programming tutorial",
"fetch_full_content": true,
"max_content_length": 50000,
"max_results": 5
}Parameters
Parameter | Type | Default | Description |
| boolean |
| Enable full page content extraction |
| integer |
| Maximum characters per page (when |
Response Structure
When fetch_full_content is enabled, each result includes a full_content field:
[
{
"title": "Python Async Programming Guide",
"href": "https://example.com/python-async",
"body": "Brief snippet from search results...",
"full_content": "Complete extracted article text with all paragraphs, code examples, and detailed explanations..."
}
]Performance Notes
Content extraction adds ~1-3 seconds latency per page
Up to 5 pages are fetched concurrently to minimize total time
Failed fetches return
[Content extraction failed or blocked]without breaking the searchUses Trafilatura for high-quality text extraction
Installation & Usage
You can run this server directly using uvx without installing it globally.
VS Code (Claude Desktop / Cline)
Add this to your MCP settings file (e.g., cline_mcp_settings.json or claude_desktop_config.json):
{
"mcpServers": {
"ddgs-search": {
"command": "uvx",
"args": [
"ddgs-mcp-server"
],
"disabled": false,
"alwaysAllow": []
}
}
}Manual Execution
uvx ddgs-mcp-serverSecrets & Configuration
This project technically does not require API keys to run locally, as it scrapes DuckDuckGo. However, for publishing or proxy usage, you should configure your environment.
1. Set up Secrets
Copy the example file:
cp .env.example .env2. Required Tokens
Token | Purpose | How to Get It |
PyPI API Token | Publishing to PyPI | 1. Go to PyPI Account Settings2. Select "Add API Token"3. Scope to "Entire account" (for first publish)4. Set as |
Proxy URL | Bypassing Blocks (Optional) | Use any HTTP/SOCKS5 proxy provider if you encounter rate limits. |
Development / Publishing
To build and publish this package to PyPI (using the secrets from above):
Build:
pip install build twine python -m buildPublish (loads secrets from .env if you export them, or prompts you):
# If using .env variables (PowerShell) # $env:TWINE_USERNAME = "__token__" # $env:TWINE_PASSWORD = "pypi-..." python -m twine upload dist/*
This server cannot be deployed
Maintenance
Related MCP Connectors
Fetch pages as markdown, search web and news, extract structured data. For AI agents.
Search Google straight from your AI agent. Web results, images, videos, news, products, scholarly ar
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Agent-native search engine with live web research optimized for AI agents.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables web searching through DuckDuckGo and fetching content from webpages. Provides search capabilities with configurable result limits and webpage content extraction for AI assistants.-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to read webpages and perform web searches using DuckDuckGo.MIT
- AlicenseNot gradedqualityFmaintenanceEnables AI agents to search the web, find news, and read page content via DuckDuckGo without an API key.2MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to perform query-driven web searches and fetch page content via Bing and DuckDuckGo engines, with automatic fallback and no API keys needed.MIT