duckduckgo-search MCP Server logo

duckduckgo-search MCP Server

by zhsama

A TypeScript-based Model Context Protocol (MCP) server that provides DuckDuckGo search functionality. It demonstrates core MCP concepts through integration with DuckDuckGo Search and offers an easy-to-use search tool interface.

View on GitHub

Last updated: N/A

What is duckduckgo-search MCP Server?

This is a Model Context Protocol (MCP) server that allows you to perform DuckDuckGo searches. It acts as a bridge between a client (like Claude Desktop) and the DuckDuckGo search engine, providing a structured way to access search results.

How to use duckduckgo-search MCP Server?

To use this server, you need to set it up as an MCP server in your client application (e.g., Claude Desktop). The README provides configuration examples for both online and local setups. Once configured, you can use the duckduckgo_search tool with the required query parameter and optional count and safeSearch parameters.

Key features of duckduckgo-search MCP Server

  • Integration with DuckDuckGo Search API

  • Easy-to-use duckduckgo_search tool interface

  • Rate limiting to prevent abuse

  • Error handling support

  • Returns formatted Markdown search results

Use cases of duckduckgo-search MCP Server

  • Integrating DuckDuckGo search into AI assistants

  • Providing search capabilities to applications without direct API access

  • Automating search tasks

  • Creating custom search interfaces

FAQ from duckduckgo-search MCP Server

What is the maximum query length?

The maximum query length for the duckduckgo_search tool is 400 characters.

What is the default number of search results?

The default number of search results is 10.

What safety levels are available?

The available safety levels are strict, moderate, and off. The default is moderate.

What are the rate limits?

The rate limits are 1 request per second and 15000 requests per month.

How can I debug the server?

Use the MCP Inspector tool by running pnpm run inspector.