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.
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 applications that support the MCP and the DuckDuckGo search engine.
How to use duckduckgo-search MCP Server?
To use this server, you need to set it up as an MCP server in your application (e.g., Claude Desktop). You can configure it either online, using the npx duckduckgo-mcp-server
command, or locally, by pointing to the built index.js
file. 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
Easy-to-use search tool interface
Rate limiting (1 request per second, 15000 requests per month)
Error handling support
Use cases of duckduckgo-search MCP Server
Integrating DuckDuckGo search into applications that support the Model Context Protocol.
Providing a search tool for AI models and agents.
Enabling users to perform web searches directly from their applications.
Automating search tasks through the MCP interface.
FAQ from duckduckgo-search MCP Server
What is the maximum query length?
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?
What is the default number of search results?
The default number of search results is 10.
What are the available safety levels?
What are the available safety levels?
The available safety levels are: strict, moderate, and off. The default is moderate.
What are the rate limits?
What are the rate limits?
The rate limits are 1 request per second and a maximum of 15000 requests per month.
How can I debug the server?
How can I debug the server?
You can use the MCP Inspector by running pnpm run inspector
. It provides a URL to access debugging tools in your browser.