mcpField
D
DuckDuckGo MCP Server

DuckDuckGo MCP Server

Local
github.com/rsimdSearch0Updated 73w ago

About DuckDuckGo MCP Server

DuckDuckGo MCP Server exposes DuckDuckGo search to MCP-compatible applications such as Claude Desktop and Cursor. Its search tool returns summaries and detailed information, with asynchronous processing and fallback behavior.

Key features

  1. 01Search the web with DuckDuckGo
  2. 02Return result summaries and details
  3. 03Process searches asynchronously
  4. 04Provide fallback behavior

Use cases

  1. 01Searching the web from Claude Desktop
  2. 02Looking up information in Cursor
  3. 03Retrieving search result summaries and details

MCP support

The MCP server provides a `search_duckduckgo` tool for running DuckDuckGo searches from MCP-compatible applications.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

This project was created by the AI code editor "Cursor". The large language model (LLM) used by Cursor is "GPT-4.1". Detailed specifications are documented in specifications.md.

DuckDuckGo MCP Server

DuckDuckGoの検索機能を提供するModel Context Protocol (MCP) サーバーです。

対応アプリケーション

  • Claude Desktop - Mac/Windows/Linux
  • Cursor IDE - AI搭載コードエディター
  • その他のMCP対応アプリケーション

機能

  • DuckDuckGoでのWebページ検索
  • 検索結果の要約と詳細情報の取得
  • 非同期処理による高速な検索
  • フォールバック機能による安定性確保

前提条件

  • Python 3.11以降 (推奨: Python 3.13)
  • uv パッケージマネージャー (推奨) または pip

セットアップ

uv を使用する場合(推奨)
  1. uv をインストールします:
curl -LsSf https://astral.sh/uv/install.sh | sh
  1. プロジェクトの依存関係をインストールします:
uv sync
  1. サーバーの起動:
uv run duckduckgo-mcp-server
# または
python run.py
従来の方法(pip)
  1. 依存関係のインストール:
pip install -r requirements.txt
  1. サーバーの起動:
python server.py

使用方法

このMCPサーバーは以下のツールを提供します:

  • search_duckduckgo: DuckDuckGoで検索を実行

設定

特別な設定は不要です。DuckDuckGoのAPIは無料で利用可能です。

テスト

uv を使用する場合
uv run test-search
# または
python run.py test
従来の方法
python test_search.py

Docker での実行

Docker環境でも実行可能です(Python 3.13 + uvとpipの両方をサポート):

# ビルドと起動
docker compose up --build -d

# テスト実行
docker compose --profile testing up test-runner

# 停止
docker compose down

MCP クライアントでの使用

Claude Desktop

詳細は CLAUDE_DESKTOP_SETUP.md を参照してください。

ローカル環境(uv)
{
  "mcpServers": {
    "duckduckgo-search": {
      "command": "uv",
      "args": ["run", "duckduckgo-mcp-server"],
      "cwd": "/path/to/duckduckgo-mcp-server",
      "env": {}
    }
  }
}
Cursor IDE

詳細は CURSOR_SETUP.md を参照してください。

プロジェクト設定(.cursor/mcp.json)
{
  "mcpServers": {
    "duckduckgo-search": {
      "command": "uv",
      "args": ["run", "duckduckgo-mcp-server"],
      "env": {}
    }
  }
}
グローバル設定(~/.cursor/mcp.json)
{
  "mcpServers": {
    "duckduckgo-search": {
      "command": "uv",
      "args": ["run", "duckduckgo-mcp-server"],
      "env": {}
    }
  }
}
リモート環境での使用

SSH経由でリモートサーバー上のMCP Serverを利用する場合は CONNECTION_SOLUTION.md を参照してください。

トラブルシューティング

問題が発生した場合は以下を参照してください:

ライセンス

MIT License

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.