# deedy5/ddgs

A metasearch library that aggregates results from diverse web search services

Repository: https://github.com/deedy5/ddgs
Canonical: https://ross.abutalabs.com/products/ddgs
Language: Python
License: MIT
License Family: permissive
Topics: python, search, metasearch, ddgs, mcp, mcp-server, websearch, api, dht, p2p
Last push: 2026-08-26T21:52:09+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 1956, "days_push": 7, "days_rel": 7, "gap_med": 4.0, "n_releases_24m": 83}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2915, forks 278 (observed 2026-08-28T04:07:29.957956+00:00)

## What it is
DDGS (Dux Distributed Global Search) is a Python metasearch library that aggregates text, image, video, news, and book results from multiple web search backends such as Bing, Brave, DuckDuckGo, Google, and Yandex. It also ships as a CLI, a FastAPI-based REST API server, and an MCP server for integration with LLM clients like Claude Desktop and Cursor.

## Use cases
- search the web from python without api keys
- aggregate search results from multiple engines
- add web search to an llm agent via mcp
- self-host a rest api for web search
- scrape search results for research or data collection
- extract page content from a url
- search images news videos and books programmatically

## When to choose
- you need programmatic web search in Python across many engines with one interface
- you want to give LLM clients like Claude Desktop or Cursor web search via MCP
- you want a self-hosted search API with Docker or FastAPI
- you need proxy support (e.g. Tor socks5) for search requests

## When to avoid
- you need a general-purpose web crawler rather than search result aggregation
- you require official, contractually sanctioned access to a specific engine's results
- you need guaranteed result quality or SLAs, since scraping-based backends can break or be rate-limited
- you need a JavaScript or non-Python search client

## Facets
- artifact type: library
- maturity: active
- function: search-engine, web-scraping, mcp, http-server, cli
- domain: developer-tools, artificial-intelligence, web-development
- platform: python, cli, self-hosted, cross-platform
- tags: metasearch, duckduckgo, web-search-api, fastapi, mcp-server, search-aggregation, proxy-support, search, docker

## Member repositories
- deedy5/ddgs (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:29.957956+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:34:06.642063+00:00, confidence not recorded.
  - readme: https://github.com/deedy5/ddgs (fetched 2026-08-28T04:07:29.957956+00:00, sha dde617011da2)
  - registry_pypi: https://pypi.org/pypi/ddgs/json (fetched 2026-08-29T09:49:20.718777+00:00, sha 9c2eced66aa7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
