Skip to main content
Glama
mcp-web-search
by doranobik

MCP Web Search

Сервер Model Context Protocol (MCP) для веб-поиска с использованием DuckDuckGo. Ключ API не требуется.

Возможности

  • Веб-поиск — Поиск в интернете через статический HTML-интерфейс DuckDuckGo

  • Извлечение контента — Получение и извлечение читаемого контента с любой веб-страницы с помощью Mozilla Readability

  • Нулевая настройка — Никаких ключей API, никакой регистрации, работает из коробки

  • Легковесность — Использует нативный fetch из Node.js, без тяжелой автоматизации браузера

Related MCP server: Web Scout MCP Server

Инструменты

Инструмент

Описание

webSearch

Поиск в интернете с помощью DuckDuckGo. Возвращает заголовок, URL и фрагмент для каждого результата.

fetchWebContent

Извлекает основной текстовый контент с URL веб-страницы. Удаляет рекламу, навигацию и шум.

Использование

Локальная установка

git clone https://github.com/doranobik/mcp-web-search.git
cd mcp-web-search
npm install
npm run build
node dist/index.js

Примечание: Этот пакет не опубликован в npm. Имя mcp-web-search в npm принадлежит несвязанному проекту, поэтому устанавливайте из этого репозитория.

Docker

docker build -t mcp-web-search .
docker run -i mcp-web-search

Конфигурация MCP-клиента

Claude Desktop (claude_desktop_config.json):

{
  "mcpServers": {
    "web-search": {
      "command": "node",
      "args": ["/path/to/mcp-web-search/dist/index.js"]
    }
  }
}

LM Studio (mcp.json):

{
  "mcpServers": {
    "web-search": {
      "command": "node",
      "args": ["/path/to/mcp-web-search/dist/index.js"]
    }
  }
}

Параметры инструментов

Параметр

Тип

Обязательный

По умолчанию

Описание

query

string

Да

-

Поисковый запрос

maxResults

number

Нет

10

Максимум результатов (1-20)

region

string

Нет

-

Код региона (например, jp-ja, us-en, wt-wt)

fetchWebContent

Параметр

Тип

Обязательный

По умолчанию

Описание

url

string

Да

-

URL для получения

maxChars

number

Нет

5000

Максимум символов для возврата (100-200000)

Отказ от ответственности

Этот сервер выполняет поиск в интернете, разбирая HTML-интерфейс DuckDuckGo, а не через официальный API. Он может перестать работать, если DuckDuckGo изменит свою разметку, а интенсивное автоматизированное использование может нарушить условия обслуживания DuckDuckGo или привести к ограничению частоты запросов. Используйте ответственно и на свой страх и риск.

Лицензия

MIT — подробности см. в LICENSE.

Available Tools

2 tools
fetchWebContentFetch Web ContentA

<use_case>Fetch and extract the main text content from a webpage. Use this tool after webSearch to read the full content of a specific URL, or when given a direct URL to analyze.</use_case> <important_notes>

  • Extracts readable article text, removing ads, navigation, and other non-content elements

  • Works best with article pages, blog posts, and documentation

  • May not work well with heavily JavaScript-rendered pages or pages requiring login

  • Use maxChars to limit returned content length for large pages </important_notes>

Inputs: url (required), maxChars.

webSearchWeb SearchA

<use_case>Search the web using DuckDuckGo. Use this tool when you need to find current information, news, documentation, or answers to questions from the internet.</use_case> <important_notes>

  • No API key required

  • Results include title, URL, and snippet for each result

  • Use the region parameter to get localized results (e.g., 'jp-ja' for Japanese)

  • After getting search results, use fetchWebContent to read full page content from any URL </important_notes>

Inputs: query (required), region, maxResults.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.5/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: webSearch for querying the web and fetchWebContent for retrieving page content. There is no overlap or ambiguity between them.

    Naming Consistency5/5

    Both tool names follow a consistent camelCase verb-noun pattern (webSearch, fetchWebContent), making them predictable and easy to understand.

    Tool Count4/5

    With only 2 tools, the server is minimal but well-scoped for its stated purpose of web search and content fetching. While the typical range is 3-15, this lean set is appropriate for the narrow domain.

    Completeness5/5

    The server covers the essential workflow of searching the web and then fetching full content from selected URLs. No critical operations are missing for its intended use case.

    Maintenance

    ActivityStale
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers