General
ddgs - Claude MCP Skill
Use when an agent needs to search the web, find images/news/videos/books, or extract content from a URL. Covers the ddgs Python library, CLI, and MCP server integration.
SEO Guide: Enhance your AI agent with the ddgs tool. This Model Context Protocol (MCP) server allows Claude Desktop and other LLMs to use when an agent needs to search the web, find images/news/videos/books, or extract content from a ... Download and configure this skill to unlock new capabilities for your AI workflow.
Documentation
SKILL.md# ddgs — Web Search for Agents
## Overview
**ddgs** (Dux Distributed Global Search) is a Python metasearch library that aggregates results from multiple search engines. Agents can use it via Python API, CLI, or MCP server.
## Python API
```python
from ddgs import DDGS
# Text search
results = DDGS().text("python async", max_results=5)
# Images, news, videos, books
images = DDGS().images("butterfly", max_results=5)
news = DDGS().news("ai regulation", timelimit="w")
videos = DDGS().videos("rust programming")
books = DDGS().books("machine learning")
# Extract content from a URL
page = DDGS().extract("https://example.com")
page["content"] # Markdown text (default)
page = DDGS().extract("https://example.com", fmt="text_plain")
page = DDGS().extract("https://example.com", fmt="content") # raw bytes
```
All search methods return `list[dict[str, Any]]`. Each dict has keys depending on category:
| Method | Keys |
|--------|------|
| `text()` | `title`, `href`, `body` |
| `images()` | `title`, `image`, `thumbnail`, `url`, `height`, `width`, `source` |
| `videos()` | `title`, `content`, `description`, `duration`, `embed_url`, `images`, `publisher` |
| `news()` | `date`, `title`, `body`, `url`, `image`, `source` |
| `books()` | `title`, `author`, `publisher`, `info`, `url`, `thumbnail` |
## CLI
```bash
# Text search
ddgs text -q "python async" --max_results 5
# Other categories
ddgs images -q "cats" --color Blue
ddgs news -q "tech" --timelimit d
ddgs videos -q "cars" --duration medium
ddgs books -q "sea wolf"
# Extract content
ddgs extract -u https://example.com
ddgs extract -u https://example.com -f text_plain
# Save results
ddgs text -q "dogs" -o results.json
ddgs text -q "dogs" -o results.csv
# Version
ddgs version
```
## CLI for Agents
Agents can also use `ddgs` as a CLI tool via subprocess. Auto-detects non-TTY — outputs plain text without colors or interactive pauses.
To discover available options:
```bash
ddgs --help
ddgs text --help
ddgs images --help
```
## MCP Server
### stdio (for local MCP clients like Cursor, Claude Desktop)
```bash
pip install ddgs[mcp]
ddgs mcp # stdio MCP server
ddgs mcp -pr socks5h://127.0.0.1:9150 # with proxy
```
Client configuration:
```json
{
"mcpServers": {
"ddgs": {
"command": "ddgs",
"args": ["mcp"]
}
}
}
```
### Available MCP Tools
| Tool | Description |
|------|-------------|
| `search_text` | Web text search |
| `search_images` | Image search |
| `search_news` | News search |
| `search_videos` | Video search |
| `search_books` | Book search |
| `extract_content` | Extract content from a URL |
## Quick Reference
| Parameter | Values | Default |
|-----------|--------|---------|
| `region` | `us-en`, `uk-en`, `ru-ru`, `de-de`, etc. | `us-en` |
| `safesearch` | `on`, `moderate`, `off` | `moderate` |
| `timelimit` | `d` (day), `w` (week), `m` (month), `y` (year) | None |
| `max_results` | int | 10 |
| `page` | int | 1 |
| `backend` | `auto`, `all`, or engine name | `auto` |
Available backends by method:
| Method | Backends |
|--------|----------|
| `text()` | `bing`, `brave`, `duckduckgo`, `google`, `grokipedia`, `mojeek`, `startpage`, `yandex`, `yahoo`, `wikipedia` |
| `images()` | `bing`, `duckduckgo` |
| `videos()` | `duckduckgo` |
| `news()` | `bing`, `duckduckgo`, `yahoo` |
| `books()` | `annasarchive` |
## Tips
- **Proxy (Python)**: `DDGS(proxy="socks5h://127.0.0.1:9150")` or set env `DDGS_PROXY`
- **Proxy (MCP)**: `ddgs mcp -pr socks5h://127.0.0.1:9150` or `export DDGS_PROXY=...`
- **Proxy (API)**: `ddgs api -pr socks5h://127.0.0.1:9150` or `export DDGS_PROXY=...`
- **SSL verification**: `DDGS(verify=False)` or `DDGS(verify="/path/to/cert.pem")`
- **Timeout**: `DDGS(timeout=10)` (default: 5 seconds)
- **Errors**: catches `DDGSException`, `RatelimitException`, `TimeoutException`
- **Multiple backends**: `backend="bing,google"` (comma-separated)Signals
Information
- Repository
- deedy5/ddgs
- Author
- deedy5
- Last Sync
- 11/2/2026
- Repo Updated
- 11/2/2026
- Created
- 3/28/2026
Reviews (0)
No reviews yet. Be the first to review this skill!
Related Skills
CLAUDE
Claude-Mem: AI Development Instructions
cursorrules
CrewAI Development Rules
firecrawl-build-onboarding
Get Firecrawl credentials and SDK setup into a project. Use when an application needs `FIRECRAWL_API_KEY`, when an agent should add Firecrawl to `.env`, when the user wants to authenticate Firecrawl for app code, or when choosing the first SDK and docs for a new Firecrawl integration. This skill includes its own browser auth flow, so it does not depend on the website onboarding skill.
firecrawl-build
Integrate Firecrawl into application code whenever a product, agent, or workflow needs web data inside the app — web search, live search results, page scraping, structured extraction, or browser interaction. Use when building any feature that needs data from the web in code, even if the user does not mention Firecrawl explicitly and only describes wanting web data, website content, search, scraping, or interaction in an application. Trigger for Firecrawl requests, "fire girl" shorthand, and generic app-level web-data needs that should map to `/scrape`, `/search`, or `/interact`. Do not use this skill for one-off terminal-only web tasks during the current session; use `firecrawl/cli` for those.
Related Guides
Bear Notes Claude Skill: Your AI-Powered Note-Taking Assistant
Learn how to use the bear-notes Claude skill. Complete guide with installation instructions and examples.
Mastering tmux with Claude: A Complete Guide to the tmux Claude Skill
Learn how to use the tmux Claude skill. Complete guide with installation instructions and examples.
OpenAI Whisper API Claude Skill: Complete Guide to AI-Powered Audio Transcription
Learn how to use the openai-whisper-api Claude skill. Complete guide with installation instructions and examples.