DuckDuckGo Search MCP Server
Project description
DDGS MCP Server
A Model Context Protocol (MCP) server that provides DuckDuckGo Search capabilities to AI agents.
Features
- search_text: advanced metasearch using
bing,brave,duckduckgo,google,mojeek,yahoo,yandex,wikipedia. - search_news: Find latest updates, releases, and tech news.
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-server
Secrets & 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 .env
2. Required Tokens
| Token | Purpose | How to Get It |
|---|---|---|
| PyPI API Token | Publishing to PyPI | 1. Go to PyPI Account Settings 2. Select "Add API Token" 3. Scope to "Entire account" (for first publish) 4. Set as TWINE_PASSWORD in .env |
| 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 build
-
Publish (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/*
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ddgs_mcp_server-0.4.0.tar.gz.
File metadata
- Download URL: ddgs_mcp_server-0.4.0.tar.gz
- Upload date:
- Size: 7.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f527b2cdd0c524de14d6de866ff744c609fe0f0a4c720499d352cb8c75737081
|
|
| MD5 |
63df5a9611dfa3d1d416660bb7f1e74a
|
|
| BLAKE2b-256 |
82b2e3650c0f801b93b2b4a226220b0c3b73fc4530565603ce52db3fca063e83
|
File details
Details for the file ddgs_mcp_server-0.4.0-py3-none-any.whl.
File metadata
- Download URL: ddgs_mcp_server-0.4.0-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb1235ad29d4632985e279396a72c7fe2610380e678ec658822e2a5ed8419122
|
|
| MD5 |
04ccfe84c290dc53b652f22e3425029e
|
|
| BLAKE2b-256 |
3229901f003d6e94bf8c93c5b50051c46048a065c1aa26e84e2ad48b06ad097d
|