DuckDuckGo MCP Server
duckduckgo-search MCP サーバー
英語 |中国語
DuckDuckGo Search用のモデルコンテキストプロトコルサーバー
これはTypeScriptベースのMCPサーバーで、DuckDuckGoの検索機能を提供します。以下の方法でMCPのコアコンセプトを実証します。
DuckDuckGo Searchとの統合
使いやすい検索ツールインターフェース
レート制限とエラー処理のサポート
特徴
検索ツール
duckduckgo_search- DuckDuckGo API を使用してウェブ検索を実行する必須パラメータ:
query(検索クエリ、最大 400 文字)オプションパラメータ:
count(結果数、1~20、デフォルト10)オプションパラメータ:
safeSearch(安全レベル: 厳格/中程度/オフ、デフォルト: 中程度)フォーマットされたMarkdown検索結果を返します
レート制限
1秒あたり最大1リクエスト
月間最大15000件のリクエスト
Related MCP server: DuckDuckGo MCP Server
発達
前提条件
Node.js >= 18
pnpm >= 8.0.0
インストール
# Install pnpm if not already installed
npm install -g pnpm
# Install project dependencies
pnpm installビルドと実行
サーバーを構築します。
pnpm run build自動リビルドを使用した開発の場合:
pnpm run watchClaude Desktopでのセットアップ
Claude Desktop で使用するには、サーバー設定を追加します。
MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
# online
{
"mcpServers": {
"duckduckgo-search": {
"command": "npx",
"args": [
"-y",
"duckduckgo-mpc-server"
]
}
}
}
# local
{
"mcpServers": {
"duckduckgo-search": {
"command": "node",
"args": [
"/path/to/duckduckgo-search/build/index.js"
]
}
}
}デバッグ
MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。
pnpm run inspectorインスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。
Available Tools
1 toolduckduckgo_web_searchB
Performs a web search using the DuckDuckGo, ideal for general queries, news, articles, and online content. Use this for broad information gathering, recent events, or when you need diverse web sources. Supports content filtering and region-specific searches. Maximum 20 results per request.
Inputs: query (required), count, safeSearch.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The tool's purpose is clearly defined as performing web searches using DuckDuckGo.
Since there is only one tool, naming consistency is inherently perfect. The tool name 'duckduckgo_web_search' follows a clear verb_noun pattern that would be appropriate if more tools were added.
A single tool for a web search server is too minimal for the apparent scope. While the tool covers basic search functionality, a more complete surface would likely include additional tools such as for image search, news search, or advanced query options, making this feel thin and incomplete.
The tool surface is severely incomplete for a DuckDuckGo server. It only provides general web search, missing obvious functionalities like image search, video search, instant answers, or autocomplete, which are core features of DuckDuckGo. This will limit agents to basic queries without specialized capabilities.
Maintenance
Related MCP Connectors
Web search API and MCP server for developers building AI agents.
Hosted Web Crawler MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
DuckDuckGo web search results, news and related searches. Paid, on Apify's hosted MCP.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Related MCP Servers
- AlicenseAqualityBmaintenanceA Model Context Protocol (MCP) server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and parsing.320,901 PyPI1,584MIT
- FlicenseBqualityDmaintenanceA server that provides DuckDuckGo search capabilities (text, image, news, video search and AI chat) through the Model Context Protocol.516-
- AlicenseCqualityCmaintenanceA Model Context Protocol server implementation that enables AI assistants like Claude to perform Google searches and retrieve web data directly through natural language requests.1329 npm170MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables AI applications like Claude Desktop and Cursor IDE to perform web searches via DuckDuckGo's search engine.-