Scrape Le logo

Scrape Le

Analyzes robots.txt rules over MCP to determine whether a path may be crawled.

Install Scrape Le

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "scrape-le": {
      "command": "npx",
      "args": [
        "-y",
        "scrape-le-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Install not yet sandbox-tested— the server itself is confirmed live (we called its tools/list endpoint). The stdio install command is a separate, ongoing check.

Overview

The scrape-le MCP server evaluates robots.txt content against a requested path and reports whether crawling is permitted. Its analyze_robots_txt tool accepts the file contents directly, optionally uses a named agent, and returns the applicable group, crawl delay, disallowed patterns, and sitemaps. It communicates over stdio and performs no file access or network requests, so an HTTP-capable agent must fetch robots.txt first. Reach for it when an agent needs a structured robots.txt decision before attempting a scrape.

Use cases

  • Check whether a target path is allowed before scraping
  • Compare robots.txt rules for a named crawler identity
  • Extract crawl delays and sitemap locations for an agent workflow
  • Pass fetched robots.txt content to a structured MCP analysis tool

Key features

  • Evaluates a path against supplied robots.txt content
  • Supports named user-agent groups and generic rules
  • Reports crawl delays, disallowed patterns, and sitemaps
  • Handles wildcards, end anchors, and longest-match Allow/Disallow rules
  • Runs over stdio without API keys or environment variables

Tools1

What Scrape Le lets your agent do. Expand a tool for its parameters.

Verified live~282 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 3d ago

Recent health check succeeded.

11/11 checks healthy over the last 56d

What it can do

From the 1 tool this server returned when we ran it.

Makes network requests · 1Read-only tools · 1
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age85 days
Maintainers1

Observed 2026-10-30 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · scrape-le-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads915Package downloads in the last 30 days.
Last commit8d agoMost recent push to the default branch.
Tools exposed1Callable tools this server registers over MCP.

How Scrape Le works

What scrape-le does

scrape-le exposes robots.txt evaluation as an MCP tool for AI agents. Given the text of a robots.txt file and a target path, it determines whether the path is allowed under the applicable rules. The result identifies which user-agent group supplied the answer, including whether a named agent group or the generic User-agent: * rules were used.

The response also includes the relevant crawl delay, disallowed patterns, and sitemap entries. This makes the server suitable for agents that need to inspect crawl directives as part of a scraping or research workflow without implementing robots.txt parsing themselves.

How it works

The server runs as an MCP process over standard input and output. The agent argument can select a user-agent identity, while maxResults is available as an additional input to the tool.

No URL is passed to the server for retrieval, and the process does not fetch robots.txt on its own. An agent or another HTTP tool must request the file, then pass the returned content to analyze_robots_txt. This design keeps retrieval separate from rule analysis and allows callers to control how the source document is obtained.

Setup and configuration

The published MCP package is scrape-le-mcp. A compatible host can launch it through npx:

config.json
{
  "mcpServers": {
    "scrape-le": {
      "command": "npx",
      "args": ["-y", "scrape-le-mcp"]
    }
  }
}

The -y option accepts the package installation prompt on first launch. Alternatively, install the package globally with npm install -g scrape-le-mcp and configure the host to run the scrape-le-mcp executable directly.

The process requires no environment variables, API key, or server-specific configuration. It can be checked by sending an MCP tools/list request through the same stdio command and confirming that analyze_robots_txt appears in the response. VS Code 1.101+ can register the tool through the extension, and Claude Code can add it with claude mcp add scrape-le -- npx -y scrape-le-mcp.

analyze_robots_txt

Accepts:

  • content: the robots.txt text to analyze
  • path: the path whose crawlability should be checked
  • agent: an optional user-agent name
  • maxResults: an optional result limit

The tool evaluates the selected or applicable group and reports whether the path may be crawled. It handles grouped user agents, Allow and Disallow precedence by longest match, * wildcards, $ end anchors, crawl delays, and sitemap declarations. When no named agent applies, the generic rules are used and identified in the result.

Limitations and notes

It neither reads local files nor makes HTTP requests, so callers are responsible for retrieving robots.txt and passing its contents in the request. An empty agent value causes evaluation of only the generic User-agent: * groups.

Robots.txt analysis describes what the published directives say; it does not establish that a site permits scraping in every practical or legal sense. The broader scrape-le project also uses best-effort detection for browser-level scraping obstacles, but those page checks are separate from this MCP tool.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Scrape Le

scrape-le is an MCP server that connects AI agents to the scrape-le robots.txt analysis engine over stdio. Its main tool, analyze_robots_txt, accepts robots.txt text and a path, then reports crawl permission, the matched user-agent group, crawl delay, disallowed patterns, and sitemaps without making network requests.

Install it by configuring your MCP host to run `npx -y scrape-le-mcp`, or install `scrape-le-mcp` globally and run the executable directly. The server requires no API key, environment variables, or additional configuration.

Yes, scrape-le works with Cursor through its MCP configuration. Point Cursor at the stdio command `npx scrape-le-mcp` so it can call `analyze_robots_txt`.

No, scrape-le does not make network requests. Fetch robots.txt with an HTTP-capable tool and pass the returned file contents, along with the target path, to `analyze_robots_txt`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewScrape Le AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/scrape-le?style=directory)](https://allmcps.com/mcp/scrape-le)
HTML Embed
<a href="https://allmcps.com/mcp/scrape-le"><img src="https://allmcps.com/api/badge/scrape-le?style=directory" alt="Scrape Le on AllMCPs" /></a>