Skip to main content

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):

  1. Build:

    pip install build twine
    python -m build
    
  2. 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

ddgs_mcp_server-0.3.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ddgs_mcp_server-0.3.0-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file ddgs_mcp_server-0.3.0.tar.gz.

File metadata

  • Download URL: ddgs_mcp_server-0.3.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.7

File hashes

Hashes for ddgs_mcp_server-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b424a19621e8f7e81c40f253514b7f886e97114f5319aa06330ab208117f26f1
MD5 3b2a0cb1b0744dd126937e6e4fe96963
BLAKE2b-256 88cd2f3c6c1e8708c69b3bf3d6b76db1e7d5c764e2bd78fcc2a132955e93ae10

See more details on using hashes here.

File details

Details for the file ddgs_mcp_server-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ddgs_mcp_server-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5fc4d03080108a0a73fbaefe7514b44881ab4fce2548a9d311f226a063f8077c
MD5 4543591f36dcfd48d03aa011f5c0ef28
BLAKE2b-256 58610f37f8405db6422090c0f7b89b9380b885d522dbf678c37009112025ac51

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page