websearch-ddgs

Use a local DDGS MCP server (SSE) via mcporter to access fast web search tools (text/news/images/videos/books) without API keys. Use when user requests general web search, especially in automated/cron runs, images search, news search, videos search, books search.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "websearch-ddgs" with this command: npx skills add firefrog-pepe/websearch-ddgs-mcp

DDGS web search

Setup: install ddgs, run MCP server (SSE), optionally keep it as a daemon

It is recommended to enable built-in mcporter skill.

Install the Python package

python3 -m pip install -U ddgs

Run the DDGS MCP server (SSE)

Foreground (good for debugging):

ddgs api --host 127.0.0.1 --port 8000

Detached/background mode (convenient on a dev machine):

ddgs api -d --host 127.0.0.1 --port 8000

Stop the detached server:

ddgs api -s

Optional: systemd user service (always available)

Create ~/.config/systemd/user/ddgs.service:

[Unit]
Description=DDGS MCP SSE server
After=network-online.target

[Service]
Type=simple
ExecStart=%h/.local/bin/ddgs api --host 127.0.0.1 --port 8000
Restart=on-failure
RestartSec=2

[Install]
WantedBy=default.target

Then:

systemctl --user daemon-reload
systemctl --user enable --now ddgs
systemctl --user status ddgs --no-pager

Add the MCP server to mcporter

Add a named server pointing at the DDGS SSE endpoint:

mcporter config add ddgs http://127.0.0.1:8000/sse --allow-http

Verify it shows up:

mcporter config list ddgs

Then you can call tools as ddgs.<tool> (examples below).

Key idea:

  • DDGS runs an MCP SSE endpoint at http://127.0.0.1:8000/sse
  • mcporter connects to that endpoint and exposes tools like ddgs.search_text_search_text_post

Defaults (use unless user says otherwise)

  • backend="duckduckgo" (most reliable)
  • max_results=10 (“SERP page 1”)
  • region="us-en", safesearch="moderate"

Workflow

0) Preconditions / sanity

  1. Confirm DDGS server is up:
    • curl -s http://127.0.0.1:8000/health
  2. Confirm mcporter can see the server:
    • mcporter config list ddgs

If the server is down, either:

  • start/restore it (if you have permission), or
  • use fallback (web_search).

1) Execution examples

Use mcporter to call DDGS tools and parse JSON.

Text search:

mcporter call ddgs.search_text_search_text_post \
  query="<query>" max_results=10 backend="duckduckgo" region="us-en" safesearch="moderate" --json

News search:

mcporter call ddgs.search_news_search_news_post \
  query="<query>" max_results=10 backend="bing" timelimit="w" --json

Images:

mcporter call ddgs.search_images_search_images_post \
  query="<query>" max_results=10 backend="duckduckgo" region="us-en" safesearch="moderate" --json

Videos:

mcporter call ddgs.search_videos_search_videos_post \
  query="<query>" max_results=10 backend="duckduckgo" region="us-en" safesearch="moderate" --json

Books:

mcporter call ddgs.search_books_search_books_post \
  query="<query>" max_results=10 backend="annasarchive" --json

Available tools (via mcporter)

  • ddgs.search_text_search_text_post
  • ddgs.search_images_search_images_post
  • ddgs.search_news_search_news_post
  • ddgs.search_videos_search_videos_post
  • ddgs.search_books_search_books_post

Tool parameters

Common parameters (most endpoints):

  • query — the search string.
  • max_results — cap results; default 10 (fast, “page 1”).
  • backend — engine selector. Prefer duckduckgo for reliability; bing as second choice; avoid google on servers (403/captcha risk)
  • region — locale for results (e.g. us-en, uk-uk).
  • safesearch — content filtering (off|moderate|strict); default moderate.

News-specific:

  • timelimit — recency filter (commonly d, w, m, y).

Books-specific:

  • recommended backend is annasarchive.

Tip: when you need reproducibility, explicitly pass backend, region, safesearch, max_results even if they match defaults.

Troubleshooting

  • mcporter says server not found → you’re using a different config file; if you use a non-default config, pass --config path from your system (default is ~/.openclaw/workspace/config/mcporter.json).

  • backend="google" often returns HTTP 403 in server environments → use another backend, e.g. duckduckgo/bing.

  • Full API docs available locally at http://localhost:8000/docs.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Huo15 Openclaw Enhance

火一五·克劳德·龙虾增强插件 v5.7.8 — 全面适配 openclaw 2026.4.24:peerDep ^4.24 + build/compat 同步到 4.24 + 14 处 api.on 全部去掉 as any 改成 typed hook(hookName 联合类型 + handler 自动推断 Pl...

Registry SourceRecently Updated
General

Content Trend Analyzer

Aggregates and analyzes content trends across platforms to identify hot topics, user intent, content gaps, and generates data-driven article outlines.

Registry SourceRecently Updated
General

Prompt Debugger

Debug prompts that produce unexpected AI outputs — diagnose failure modes, identify ambiguity and conflicting instructions, test variations, compare model re...

Registry SourceRecently Updated
General

Indie Maker News

独行者 Daily - 变现雷达。读对一条新闻,少走一年弯路。每天5分钟,给创业者装上商业雷达。聚焦一人公司、副业、创业变现资讯,智能分类,行动导向。用户下载即能用,无需本地部署!

Registry SourceRecently Updated