Skip to main content
Glama
Robot Resources Scraper

Robot Resources Scraper

npm version License: MIT

@robot-resources/scraper-mcp

⚠️ УСТАРЕЛО — объединено с @robot-resources/scraper. Этот MCP-сервер теперь поставляется как встроенный бинарный файл scraper-mcp внутри основного пакета scraper. Установите один пакет и получите MCP. Автоматическая настройка через npx robot-resources --for=cursor или npx robot-resources --for=claude-code. Инструменты (scraper_compress_url, scraper_crawl_url) и параметры ниже остались без изменений.

MCP-сервер для Scraper — сжатие контекста для ИИ-агентов.

Что такое Robot Resources?

Human Resources (отдел кадров), но для ваших ИИ-агентов.

Robot Resources дает ИИ-агентам две суперспособности:

  • Маршрутизатор (Router) — направляет каждый вызов LLM к самой дешевой подходящей модели. Экономия затрат на 60-90% при использовании OpenAI, Anthropic и Google.

  • Скрейпер (Scraper) — сжимает веб-страницы в чистый markdown. На 70-80% меньше токенов на страницу.

Оба инструмента работают локально. Ваши API-ключи никогда не покидают ваш компьютер. Бесплатно, без ограничений, без уровней доступа.

Установка полного пакета

npx robot-resources

Одна команда настраивает всё. Узнайте больше на robotresources.ai


Related MCP server: Scraper MCP

Об этом MCP-сервере

Этот пакет предоставляет ИИ-агентам два инструмента для сжатия веб-контента в эффективный с точки зрения токенов markdown через Model Context Protocol: сжатие одной страницы и многостраничный BFS-краулинг.

Установка

npx @robot-resources/scraper-mcp

Или установите глобально:

npm install -g @robot-resources/scraper-mcp

Настройка Claude Desktop

Добавьте в ваш claude_desktop_config.json:

{
  "mcpServers": {
    "scraper": {
      "command": "npx",
      "args": ["-y", "@robot-resources/scraper-mcp"]
    }
  }
}

Инструменты

scraper_compress_url

Сжатие одной веб-страницы в markdown с сокращением количества токенов на 70-90%.

Параметры:

Параметр

Тип

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

По умолчанию

Описание

url

string

да

—

URL для сжатия

mode

string

нет

'auto'

'fast', 'stealth', 'render' или 'auto'

timeout

number

нет

10000

Тайм-аут получения данных в миллисекундах

maxRetries

number

нет

3

Максимальное количество попыток повтора (0-10)

Пример запроса: "Compress https://docs.example.com/getting-started"

scraper_crawl_url

Краулинг нескольких страниц, начиная с заданного URL, с использованием поиска в ширину (BFS) для обнаружения ссылок.

Параметры:

Параметр

Тип

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

По умолчанию

Описание

url

string

да

—

Начальный URL для краулинга

maxPages

number

нет

10

Максимальное количество страниц для краулинга (1-100)

maxDepth

number

нет

2

Максимальная глубина ссылок (0-5)

mode

string

нет

'auto'

'fast', 'stealth', 'render' или 'auto'

include

string[]

нет

—

Шаблоны URL для включения (glob)

exclude

string[]

нет

—

Шаблоны URL для исключения (glob)

timeout

number

нет

10000

Тайм-аут для каждой страницы в миллисекундах

Пример запроса: "Crawl the docs at https://docs.example.com with max 20 pages"

Режимы получения данных (Fetch Modes)

Режим

Как работает

Использовать, когда

'fast'

Обычный HTTP

Стандартные сайты, API, документация

'stealth'

Имитация TLS-отпечатков

Сайты с защитой от ботов

'render'

Headless-браузер (Playwright)

SPA, отрисовываемые через JS

'auto'

Fast → переключение на stealth при 403/капче

Неизвестные сайты (по умолчанию)

Для режима stealth требуется impit, а для render — playwright в качестве peer-зависимостей @robot-resources/scraper.

Требования

  • Node.js 18+

См. также

Лицензия

MIT

Available Tools

2 tools
scraper_compress_urlB

Compress web content from a URL for reduced token usage. Returns markdown with 70-90% fewer tokens than raw HTML.

Inputs: url (required), mode, timeout, maxRetries.

scraper_crawl_urlA

Crawl multiple pages from a starting URL using BFS link discovery. Returns compressed markdown for each page with 70-90% fewer tokens than raw HTML.

Inputs: url (required), maxPages, maxDepth, mode, +3 more.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have clearly distinct purposes: scraper_compress_url handles single-page compression, while scraper_crawl_url performs multi-page crawling with BFS link discovery. There is no overlap or ambiguity between them.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun pattern (scraper_compress_url and scraper_crawl_url), using the same prefix and snake_case style throughout. The naming is predictable and uniform.

    Tool Count2/5

    With only two tools, the server feels thin for a scraper domain, lacking essential operations like error handling, configuration, or content filtering. This minimal set may limit agent workflows and cause dead ends.

    Completeness2/5

    The tool surface is severely incomplete for web scraping; it misses basic CRUD-like operations such as updating crawl parameters, deleting cached data, or retrieving specific page elements. Agents will struggle with incomplete coverage.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Fast, token-efficient web content extraction tool that converts websites to clean Markdown for AI agents, featuring smart caching, content extraction with Mozilla Readability, and polite crawling capabilities.
      1
      819 npm
      163
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      A context-optimized web scraping server that converts HTML to markdown/text and applies CSS selectors server-side, reducing token usage by 70-90% while providing AI tools with clean, filtered web content.
      8
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      Fetches web pages and converts them to clean, readable markdown format by extracting main content while removing navigation, ads, and other non-essential elements to minimize token usage.
      4
      -
    • A
      license
      A
      quality
      B
      maintenance
      Converts any URL to clean, token-efficient Markdown for AI agents. Strips ads, navigation, and scripts. Supports CSS selectors, batch processing (10 URLs), token counting, and smart caching.
      3
      3 npm
      MIT