mcp_web_search

mcp_web_search

Enables web search, content fetching, dynamic page scraping, and URL preview via DuckDuckGo, Playwright, and Cheerio, without requiring API keys.

Category
Visit Server

README

mcp_web_search

MCP-сервер для веб-поиска, получения контента и скрапинга страниц. Работает через Model Context Protocol — подключается к Claude Desktop и другим MCP-совместимым клиентам.

Возможности

Инструмент Описание
web_search Поиск через DuckDuckGo HTML (без API-ключа). Возвращает заголовки, URL и сниппеты
web_fetch Загрузка страницы и извлечение текстового содержимого. Опционально — список ссылок
web_scrape Скрапинг через Playwright для динамических/JS-сайтов. Поддержка скриншотов
open_url Открытие страницы в headless-браузере: заголовок, HTTP-статус, превью контента

Защита от блокировок

  • Случайные User-Agent, Accept-Language, Sec-Ch-Ua и другие заголовки
  • Случайные задержки между запросами
  • Разные профили браузера при каждом запуске Playwright

Установка

git clone <repo-url> mcp_web_search
cd mcp_web_search
npm install
npm run build

Для Playwright необходимо установить Chromium:

npx playwright install chromium

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

Ручной запуск

npm run build   # Сборка TypeScript → dist/
npm start       # Запуск через stdio

dev-режим (без сборки)

npm run dev

Подключение к Claude Desktop

Добавь в claude_desktop_config.json:

{
  "mcpServers": {
    "mcp_web_search": {
      "command": "node",
      "args": ["/путь/к/mcp_web_search/dist/index.js"]
    }
  }
}

Инструменты

web_search

Поиск через DuckDuckGo HTML. Не требует API-ключа.

{ "query": "TypeScript MCP server", "maxResults": 10 }

web_fetch

Загрузка страницы и извлечение текста. Быстрее, чем web_scrape, но без поддержки JavaScript.

{ "url": "https://example.com", "withLinks": true, "maxContentLength": 5000 }

web_scrape

Полноценный браузерный скрапинг через Playwright Chromium. Для сайтов, которые рендерят контент на клиенте (React, Vue и т.д.).

{
  "url": "https://example.com",
  "waitForSelector": ".article-body",
  "timeout": 30000,
  "maxContentLength": 15000,
  "takeScreenshot": false
}

open_url

Лёгкое открытие страницы — возвращает заголовок, HTTP-статус и краткое превью.

{ "url": "https://example.com", "timeout": 15000 }

Стек

Скрипты

Команда Описание
npm run build Компиляция TypeScript
npm start Запуск скомпилированного сервера
npm run dev Запуск через tsx (без компиляции)

Лицензия

ISC

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured