Skip to main content
Glama

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件のリクエスト

発達

前提条件

  • 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 を提供します。

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Claude に DuckDuckGo 検索機能を提供するモデル コンテキスト プロトコル サーバー。レート制限をサポートするクリーンなツール インターフェイスを通じて Web 検索機能を有効にします。

  1. 特徴
    1. 検索ツール
    2. レート制限
  2. 発達
    1. 前提条件
    2. インストール
    3. ビルドと実行
  3. Claude Desktopでのセットアップ
    1. デバッグ

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    A Model Context Protocol (MCP) server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and parsing.
    Last updated -
    2
    351
    Python
    MIT License
    • Apple
  • -
    security
    F
    license
    -
    quality
    A Model Context Protocol server that enables Claude to perform Google Custom Search operations by connecting to Google's search API.
    Last updated -
    2
    Python
    • Linux
  • A
    security
    A
    license
    A
    quality
    A Model Context Protocol server that enables Claude to perform web research by integrating Google search, extracting webpage content, and capturing screenshots.
    Last updated -
    3
    914
    13
    MIT License
    • Apple
  • A
    security
    A
    license
    A
    quality
    A Model Context Protocol server that enables Claude to perform advanced web research with intelligent search queuing, enhanced content extraction, and deep research capabilities.
    Last updated -
    3
    8
    1
    TypeScript
    MIT License
    • Apple

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zhsama/duckduckgo-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server