Skip to content
Back to search

duckduckgo-mcp-server

A Model Context Protocol server for DuckDuckGo Search

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today
Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/zhsama--duckduckgo-mcp-server/badge.svg)](/listings/zhsama--duckduckgo-mcp-server)

HTML

<a href="/listings/zhsama--duckduckgo-mcp-server"><img src="/api/listings/zhsama--duckduckgo-mcp-server/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

# Install pnpm if not already installed
npm install -g pnpm

# Install project dependencies
pnpm install

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 107 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

  1. # duckduckgo-search MCP Server
  2. English | [中文](README_zh.md)
  3. A Model Context Protocol server for DuckDuckGo Search
  4. This is a TypeScript-based MCP server that provides DuckDuckGo search functionality. It demonstrates core MCP concepts through:
  5. - Integration with DuckDuckGo Search
  6. - Easy-to-use search tool interface
  7. - Rate limiting and error handling support
  8. <a href="https://glama.ai/mcp/servers/34fhy9xb9w">
  9. <img width="380" height="200" src="https://glama.ai/mcp/servers/34fhy9xb9w/badge" alt="DuckDuckGo Server MCP server" />
  10. </a>
  11. ## Features
  12. ### Search Tool
  13. - `duckduckgo_search` - Perform web searches using DuckDuckGo API
  14. - Required parameter: `query` (search query, max 400 characters)
  15. - Optional parameter: `count` (number of results, 1-20, default 10)
  16. - Optional parameter: `safeSearch` (safety level: strict/moderate/off, default moderate)
  17. - Returns formatted Markdown search results
  18. ### Rate Limits
  19. - Maximum 1 request per second
  20. - Maximum 15000 requests per month
  21. ## Development
  22. ### Prerequisites
  23. - Node.js >= 18
  24. - pnpm >= 8.0.0
  25. ### Installation
  26. ```bash
  27. # Install pnpm if not already installed
  28. npm install -g pnpm
  29. # Install project dependencies
  30. pnpm install
  31. ```
  32. ### Build and Run
  33. Build the server:
  34. ```bash
  35. pnpm run build
  36. ```
  37. For development with auto-rebuild:
  38. ```bash
  39. pnpm run watch
  40. ```
  41. ## Setup in Claude Desktop
  42. To use with Claude Desktop, add the server config:
  43. On MacOS: `~/Library/Application Support/Claude/claude_desktop_config.json`
  44. On Windows: `%APPDATA%/Claude/claude_desktop_config.json`
  45. ```json
  46. # online
  47. {
  48. "mcpServers": {
  49. "duckduckgo-search": {
  50. "command": "npx",
  51. "args": [
  52. "-y",
  53. "duckduckgo-mcp-server"
  54. ]
  55. }
  56. }
  57. }
  58. # local
  59. {
  60. "mcpServers": {
  61. "duckduckgo-search": {
  62. "command": "node",
  63. "args": [
  64. "/path/to/duckduckgo-search/build/index.js"
  65. ]
  66. }
  67. }
  68. }
  69. ```
  70. ![image](https://github.com/user-attachments/assets/6906e280-9dbb-4bb5-a537-d9e45e666084)
  71. ![image](https://github.com/user-attachments/assets/867a70ae-082f-45ab-a623-869bfd6c31eb)
  72. ### Debugging
  73. Since 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:
  74. ```bash
  75. pnpm run inspector
  76. ```
  77. The Inspector will provide a URL to access debugging tools in your browser.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.