English | 中文 A Model Context Protocol server for DuckDuckGo Search This is a TypeScript-based MCP server that provides DuckDuckGo search functionality. It demonstrates core MCP concepts through: - Integration with DuckDuckGo Search - Easy-to-use search tool interface - Rate limiting and error handling support - duckduckgosearch - Perform web searches using DuckDuckGo API - Required parameter: quer
Add this skill
npx mdskills install zhsama/duckduckgo-mcp-serverClean DuckDuckGo search integration with clear tool descriptions and solid setup docs
1# duckduckgo-search MCP Server23English | [中文](README_zh.md)45A Model Context Protocol server for DuckDuckGo Search67This is a TypeScript-based MCP server that provides DuckDuckGo search functionality. It demonstrates core MCP concepts through:89- Integration with DuckDuckGo Search10- Easy-to-use search tool interface11- Rate limiting and error handling support1213<a href="https://glama.ai/mcp/servers/34fhy9xb9w">14 <img width="380" height="200" src="https://glama.ai/mcp/servers/34fhy9xb9w/badge" alt="DuckDuckGo Server MCP server" />15</a>1617## Features1819### Search Tool2021- `duckduckgo_search` - Perform web searches using DuckDuckGo API22 - Required parameter: `query` (search query, max 400 characters)23 - Optional parameter: `count` (number of results, 1-20, default 10)24 - Optional parameter: `safeSearch` (safety level: strict/moderate/off, default moderate)25 - Returns formatted Markdown search results2627### Rate Limits2829- Maximum 1 request per second30- Maximum 15000 requests per month3132## Development3334### Prerequisites3536- Node.js >= 1837- pnpm >= 8.0.03839### Installation4041```bash42# Install pnpm if not already installed43npm install -g pnpm4445# Install project dependencies46pnpm install47```4849### Build and Run5051Build the server:5253```bash54pnpm run build55```5657For development with auto-rebuild:5859```bash60pnpm run watch61```6263## Setup in Claude Desktop6465To use with Claude Desktop, add the server config:6667On MacOS: `~/Library/Application Support/Claude/claude_desktop_config.json`68On Windows: `%APPDATA%/Claude/claude_desktop_config.json`6970```json71# online72{73 "mcpServers": {74 "duckduckgo-search": {75 "command": "npx",76 "args": [77 "-y",78 "duckduckgo-mcp-server"79 ]80 }81 }82}8384# local85{86 "mcpServers": {87 "duckduckgo-search": {88 "command": "node",89 "args": [90 "/path/to/duckduckgo-search/build/index.js"91 ]92 }93 }94}95```96979899### Debugging100101Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector), which is available as a package script:102103```bash104pnpm run inspector105```106107The Inspector will provide a URL to access debugging tools in your browser.
Full transparency — inspect the skill content before installing.