Skip to main content
Glama
Robot Resources Scraper

Robot Resources Scraper

npm version License: MIT

@robot-resources/scraper-mcp

⚠️ DEPRECATED — folded into @robot-resources/scraper. This MCP server now ships as a built-in scraper-mcp bin inside the main scraper package. Install one package, get the MCP. Auto-config via npx robot-resources --for=cursor or npx robot-resources --for=claude-code. The tools (scraper_compress_url, scraper_crawl_url) and parameters below are unchanged.

MCP server for Scraper — context compression for AI agents.

What is Robot Resources?

Human Resources, but for your AI agents.

Robot Resources gives AI agents two superpowers:

  • Router — Routes each LLM call to the cheapest capable model. 60-90% cost savings across OpenAI, Anthropic, and Google.

  • Scraper — Compresses web pages to clean markdown. 70-80% fewer tokens per page.

Both run locally. Your API keys never leave your machine. Free, unlimited, no tiers.

Install the full suite

npx robot-resources

One command sets up everything. Learn more at robotresources.ai


Related MCP server: Scraper MCP

About this MCP server

This package gives AI agents two tools to compress web content into token-efficient markdown via the Model Context Protocol: single-page compression and multi-page BFS crawling.

Installation

npx @robot-resources/scraper-mcp

Or install globally:

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

Claude Desktop Configuration

Add to your claude_desktop_config.json:

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

Tools

scraper_compress_url

Compress a single web page into markdown with 70-90% fewer tokens.

Parameters:

Parameter

Type

Required

Default

Description

url

string

yes

—

URL to compress

mode

string

no

'auto'

'fast', 'stealth', 'render', or 'auto'

timeout

number

no

10000

Fetch timeout in milliseconds

maxRetries

number

no

3

Max retry attempts (0-10)

Example prompt: "Compress https://docs.example.com/getting-started"

scraper_crawl_url

Crawl multiple pages from a starting URL using BFS link discovery.

Parameters:

Parameter

Type

Required

Default

Description

url

string

yes

—

Starting URL to crawl

maxPages

number

no

10

Max pages to crawl (1-100)

maxDepth

number

no

2

Max link depth (0-5)

mode

string

no

'auto'

'fast', 'stealth', 'render', or 'auto'

include

string[]

no

—

URL patterns to include (glob)

exclude

string[]

no

—

URL patterns to exclude (glob)

timeout

number

no

10000

Per-page timeout in milliseconds

Example prompt: "Crawl the docs at https://docs.example.com with max 20 pages"

Fetch Modes

Mode

How

Use when

'fast'

Plain HTTP

Default sites, APIs, docs

'stealth'

TLS fingerprint impersonation

Anti-bot protected sites

'render'

Headless browser (Playwright)

JS-rendered SPAs

'auto'

Fast → stealth fallback on 403/challenge

Unknown sites (default)

Stealth requires impit and render requires playwright as peer dependencies of @robot-resources/scraper.

Requirements

  • Node.js 18+

License

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