DuckDuckGo Web Search MCP Server
DuckDuckGo ウェブ検索 MCP サーバー
このプロジェクトは、DuckDuckGo 検索エンジンを使用して Web を検索し、オプションで見つかった URL のコンテンツを取得して要約できる MCP (Model Context Protocol) サーバーを提供します。
特徴
Web 検索: DuckDuckGo を使用して Web を検索します。
**結果の抽出:**検索結果からタイトル、URL、スニペットを抽出します。
**コンテンツの取得 (オプション):**検索結果で見つかった URL のコンテンツを取得し、jina api を使用して markdown 形式に変換します。
**並列フェッチ:**複数の URL を同時にフェッチして、処理を高速化します。
**エラー処理:**検索および取得中のタイムアウトやその他の潜在的なエラーを適切に処理します。
**構成可能:**返される検索結果の最大数を設定できます。
Jina API : jina API を使用して HTML を Markdown に変換します。
MCP 準拠: このサーバーは、MCP 互換のあらゆるクライアントで使用できるように設計されています。
Related MCP server: DuckDuckGo MCP Server
使用法
前提条件:
uvxパッケージマネージャー
クロードデスクトップ構成
Claude Desktop を使用している場合は、
claude_desktop_config.jsonファイルにサーバーを追加できます。
{ "mcpServers": { "web-search-duckduckgo": { "command": "uvx", "args": [ "--from", "git+https://github.com/kouui/web-search-duckduckgo.git@main", "main.py" ] } } }上記の設定が機能しない場合は、リポジトリをローカルPCにクローンし、次の設定を使用する必要があります。
{ "mcpServers": { "web-search-duckduckgo": { "command": "uv", "args": [ "--directory", "/path/to/web-search-duckduckgo", "run", "main.py" ] } } }道具
MCP クライアント (例: Claude) では、次のツールを使用できるようになりました。
search_and_fetch: Web を検索し、URL のコンテンツを取得します。query: 検索クエリ文字列。limit: 返される結果の最大数 (デフォルト: 3、最大: 10)。
**
fetch:**特定の URL のコンテンツを取得します。url: 取得する URL。
ライセンス
このプロジェクトは MIT ライセンスの下でライセンスされます。(ライセンスを指定する場合は、ライセンス ファイルを追加してください)。
Available Tools
2 toolsfetchC
scrape the html content and return the markdown format using jina api.
Args:
url: The search query string
Returns:
text : html in markdown format
Inputs: url (required).
search_and_fetchA
Search the web using DuckDuckGo and return results.
Args:
query: The search query string
limit: Maximum number of results to return (default: 3, maximum 10)
Returns:
List of dictionaries containing
- title
- url
- snippet
- summary markdown (empty if not available)
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have distinct primary purposes: 'search_and_fetch' performs web searches and returns results, while 'fetch' scrapes HTML content from a given URL. However, there is some potential for confusion because 'fetch' accepts a 'url' argument but its description mentions 'search query string' (likely a documentation error), which could blur the boundary between searching and fetching.
The tool names follow a consistent verb-based pattern ('fetch' and 'search_and_fetch'), with clear action-oriented naming. The minor deviation is that 'search_and_fetch' uses an 'and' conjunction, but overall the naming is readable and predictable.
With only 2 tools, the server feels thin for a web search and scraping domain. While it covers basic search and fetch operations, more tools (e.g., for advanced search filtering, caching, or handling different content types) would provide better scope. It's borderline but not severely lacking.
The server covers core web search and content fetching workflows, but there are notable gaps. For example, it lacks tools for managing search history, refining queries, handling pagination, or supporting different output formats beyond markdown. Agents can work around these, but the surface is not fully comprehensive.
Maintenance
Related MCP Connectors
Web search, fetch, extract, and research for AI agents. Markdown output + AI-synthesized answers.
LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.
Web knowledge fetching tools for your agent.
Search the web, fetch any URL and map a site as clean, LLM-ready Markdown.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables web searching through DuckDuckGo and fetching content from webpages. Provides search capabilities with configurable result limits and webpage content extraction for AI assistants.-
- AlicenseBqualityDmaintenanceEnables web search through DuckDuckGo and webpage content fetching with intelligent text extraction. Features built-in rate limiting and LLM-optimized result formatting for seamless integration with language models.2MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform real-time web searches, fetch webpage content, and get search suggestions using DuckDuckGo's privacy-focused search engine.-
- AlicenseNot gradedqualityDmaintenanceEnables web searching through Google, DuckDuckGo, and Bing using a headless Chrome browser, returning structured results with titles, URLs, and snippets. Also supports fetching and extracting text content from any webpage.17MIT