kouui_web_search_duckduckgo

kouui_web_search_duckduckgo

by kouui
An MCP server for web search and content fetching using DuckDuckGo and Jina API, with no API key required.

DuckDuckGo Web Search MCP Server

This project provides an MCP (Model Context Protocol) server that allows you to search the web using the DuckDuckGo search engine and optionally fetch and summarize the content of the found URLs.

Features

  • Web Search: Search the web using DuckDuckGo.
  • Result Extraction: Extracts titles, URLs, and snippets from search results.
  • Content Fetching (Optional): Fetches the content of the URLs found in the search results and converts it to markdown format using Jina API.
  • Parallel Fetching: Fetches multiple URLs concurrently for faster processing.
  • Error Handling: Gracefully handles timeouts and other potential errors during search and fetching.
  • Configurable: Allows you to set the maximum number of search results to return.
  • Jina API: Uses Jina API to convert HTML to markdown.
  • MCP Compliant: This server is designed to be used with any MCP-compatible client.

Usage

Prerequisites

  • uvx package manager

Claude Desktop Configuration

If you are using Claude Desktop, you can add the server to the claude_desktop_config.json file.

{
    "mcpServers": {
        "web-search-duckduckgo": {
            "command": "uvx",
            "args": [
                "--from",
                "git+https://github.com/kouui/web-search-duckduckgo.git@main",
                "main.py"
            ]
        }
    }
}

Note: The above configuration might not work. You may need to clone the repository to your local PC and use the following configuration:

{
    "mcpServers": {
        "web-search-duckduckgo": {
            "command": "uv",
            "args": [
                "--directory",
                "/path/to/web-search-duckduckgo",
                "run",
                "main.py"
            ]
        }
    }
}

Tools

In your MCP client (e.g., Claude), you can now use the following tools:

  • search_and_fetch: Search the web and fetch the content of the URLs.
  • query: The search query string.
  • limit: The maximum number of results to return (default: 3, maximum: 10).
  • fetch: Fetch the content of a specific URL.
  • url: The URL to fetch.

License

This project is licensed under the MIT License.

About

MCP server of web search/fetch functionality using DuckDuckGo and Jina API. No API key required.

Resources

Stars

0 stars

Watchers

1 watching

Forks

1 fork

Report repository

Releases


No releases published

Packages 0


No packages published

Languages

Features & Capabilities

Categories
mcp_server model_context_protocol python search api_integration duckduckgo jina_api content_fetching

Implementation Details

Stats

0 Views
0 Favorites
0 GitHub Stars

Repository Info

kouui Organization

Similar Servers

continuedev_continue by continuedev
0
0
0