Skip to main content
Glama
zhsama

DuckDuckGo MCP Server

by zhsama

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 watch

Claude 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 tool

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool updatev1.0.0
    • First observedduckduckgo_web_search

TDQS

B3.4/5.0

Scored across 1 tool

Disambiguation5/5

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.

Naming Consistency5/5

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.

Tool Count2/5

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.

Completeness2/5

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

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    A
    maintenance
    A Model Context Protocol (MCP) server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and parsing.
    3
    15,517 PyPI
    1,522
    MIT
  • F
    license
    B
    quality
    D
    maintenance
    A server that provides DuckDuckGo search capabilities (text, image, news, video search and AI chat) through the Model Context Protocol.
    5
    16
    -