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 バイナリとして提供されるようになりました。1つのパッケージをインストールするだけでMCPが利用可能です。npx robot-resources --for=cursor または npx robot-resources --for=claude-code で自動設定できます。以下のツール(scraper_compress_url、scraper_crawl_url)およびパラメータに変更はありません。

Scraper用MCPサーバー — AIエージェントのためのコンテキスト圧縮。

Robot Resourcesとは?

AIエージェントのための「人事部(Human Resources)」です。

Robot Resourcesは、AIエージェントに2つのスーパーパワーを与えます:

  • ルーター — 各LLM呼び出しを、最も安価で有能なモデルにルーティングします。OpenAI、Anthropic、Google全体で60〜90%のコスト削減を実現します。

  • スクレイパー — WebページをクリーンなMarkdownに圧縮します。ページあたりのトークン数を70〜80%削減します。

どちらもローカルで実行されます。APIキーがマシンから外部へ送信されることはありません。無料、無制限、ティア制限なし。

フルスイートのインストール

npx robot-resources

1つのコマンドですべてがセットアップされます。詳細は robotresources.ai をご覧ください。


Related MCP server: Scraper MCP

このMCPサーバーについて

このパッケージは、Model Context Protocol を介してWebコンテンツをトークン効率の良いMarkdownに圧縮するための2つのツール(シングルページ圧縮とマルチページBFSクロール)をAIエージェントに提供します。

インストール

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

単一のWebページを70〜90%少ないトークンのMarkdownに圧縮します。

パラメータ:

パラメータ

型

必須

デフォルト

説明

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

BFSリンク探索を使用して、開始URLから複数のページをクロールします。

パラメータ:

パラメータ

型

必須

デフォルト

説明

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"

フェッチモード

モード

方法

使用シーン

'fast'

通常のHTTP

標準的なサイト、API、ドキュメント

'stealth'

TLSフィンガープリント偽装

ボット対策が施されたサイト

'render'

ヘッドレスブラウザ (Playwright)

JSでレンダリングされるSPA

'auto'

高速 → 403/チャレンジ時にstealthへフォールバック

不明なサイト(デフォルト)

Stealthには impit が、renderには playwright が @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