MCP ExplorerExplorer

Duckduckgo Web Search

@Sunwood-ai-labson a year ago
9 MIT
FreeCommunity
AI Systems
# DuckDuckGo Network Search MCP Server A simple web search implementation using the DuckDuckGo API for Claude Desktop.

Overview

What is Duckduckgo Web Search

duckduckgo-web-search is an MCP Server that implements a simple web search functionality using the DuckDuckGo API. It is built with TypeScript and provides a basic notes system to demonstrate core MCP concepts.

Use cases

Use cases include personal note-taking, collaborative projects where notes need to be shared and summarized, and educational settings where students can create and summarize study notes.

How to use

To use duckduckgo-web-search, install the necessary dependencies with ‘npm install’, build the server using ‘npm run build’, and configure it in Claude Desktop by adding the server path to the configuration file.

Key features

Key features include the ability to create and access text notes via ‘note://’ URIs, a tool for creating new notes with required title and content parameters, and a prompt for generating summaries of all stored notes.

Where to use

duckduckgo-web-search can be used in various fields such as note-taking applications, educational tools, and any context where simple text note management and summarization is needed.

Content

duckduckgo-web-search MCP Server

duckduckgo-web-search

This is a TypeScript-based MCP server that implements a simple notes system. It demonstrates core MCP concepts by providing:

  • Resources representing text notes with URIs and metadata
  • Tools for creating new notes
  • Prompts for generating summaries of notes

Features

Resources

  • List and access notes via note:// URIs
  • Each note has a title, content and metadata
  • Plain text mime type for simple content access

Tools

  • create_note - Create new text notes
    • Takes title and content as required parameters
    • Stores note in server state

Prompts

  • summarize_notes - Generate a summary of all stored notes
    • Includes all note contents as embedded resources
    • Returns structured prompt for LLM summarization

Development

Install dependencies:

npm install

Build the server:

npm run build

For development with auto-rebuild:

npm run watch

Installation

To use with Claude Desktop, add the server config:

On MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "duckduckgo-web-search": {
      "command": "/path/to/duckduckgo-web-search/build/index.js"
    }
  }
}

Debugging

Since MCP servers communicate over stdio, debugging can be challenging. We recommend using the MCP Inspector, which is available as a package script:

npm run inspector

The Inspector will provide a URL to access debugging tools in your browser.

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers