DuckDuckGo Search MCP Server
MCP DuckDuckGo Search
A Model Context Protocol (MCP) server querying DuckDuckGo Instant Answer API.
Installation
Installing via Smithery
To install DuckDuckGo Search for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @shaheen2013/duckduckgo-search-mcp-server --client claudeManual Installation
# Clone the repository
git clone https://github.com/shaheen2013/duckduckgo-search-mcp-server.git
cd duckduckgo-search-mcp-server
# Install dependencies
npm install
# Build the project
npm run buildDocker
You can test this MCP server using Docker. To do this first run:
docker build -t duckduckgo-search-mcp-server .
docker run -p 8080:8080 duckduckgo-search-mcp-serverYou can then test the server running within Docker via the inspector e.g.
pnpm run inspector http://localhost:8080Usage
Running the Server
You can use the MCP Inspector to test the server:
npm run inspectorAccess the MCP Inspector and then test the tool e.g.

Development
Project Structure
src/index.ts- Main server implementation
Available Scripts
npm run build- Build the TypeScript codenpm run watch- Watch for changes and rebuildnpm run inspector- Run the MCP Inspector against the server
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Acknowledgments
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Muhammad-Sarfaraz/duckduckgo-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server