ddgs is a metasearch engine and web content extractor that provides a toolkit for programmatically retrieving search results from DuckDuckGo. It functions as a search API server and a Model Context Protocol server to integrate web search capabilities directly into large language model environments.
The project distinguishes itself by aggregating text, image, news, and video results from multiple providers into a single interface. It includes a utility for fetching URLs and converting HTML content into markdown, plain text, or structured data.
The system covers a broad range of search capabilities, including specialized searches for books and filtered searches for images and videos. It provides a command line interface for information retrieval, search data export to JSON and CSV, and the ability to define custom search provider extensions.
The project can be deployed as a containerized service with integrated health checks and proxy support.