ralpcrawl
Use the Brave Search API (BRAVE_API_KEY) as the search backend for the search tool and /search endpoint.
Keyless default web search backend for the search tool and Firecrawl-compatible /search endpoint, with options to scrape each result's markdown.
Point the LLM-backed features (json, summary, extract) at a local Ollama server (or LM Studio / llama.cpp) so extraction and summarization run fully offline on your own machine.
Use an OpenAI model as the LLM backend for structured extraction, summaries, and extract jobs instead of a hosted scraping API.
Use a self-hosted SearXNG instance as the web search backend via RALPCRAWL_SEARXNG_URL, keeping search traffic on infrastructure you control.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
npx -y github:Ralpberry-Labs/ralpcrawl https://docs.python.org/3/library/json.html# `json` — JSON encoder and decoder
**Source code:** [Lib/json/\_\_init\_\_.py](https://github.com/python/cpython/tree/3.15/Lib/json/__init__.py)
[JSON (JavaScript Object Notation)](https://json.org/), specified by RFC 7159 ...Why ralpcrawl
Agents need the web as clean text. Hosted scraping APIs are great until you hit the bill, the rate limit, or a page behind your VPN. ralpcrawl runs the whole pipeline locally and speaks the Firecrawl API, so existing code and SDKs point at it unchanged.
Drop-in Firecrawl API —
ralpcrawl serveanswers/v1/*and/v2/*. Tested against the official@mendable/firecrawl-jsSDK (scrape, map, crawl, batch scrape, search).Everything local, including the "cloud-only" parts — structured JSON extraction, summaries, screenshots, browser actions, change tracking and search all run on your machine with your own model (Claude, OpenAI, or a local Ollama / LM Studio / llama.cpp server).
JavaScript pages just work — plain HTTP first (fast), automatic fallback to the Chrome already on your machine when a page is a JS app, blocks bots, or returns an empty shell.
Agent-native — MCP server with 7 tools, one-command
initfor Claude Code, Claude Desktop, Cursor, Windsurf, Gemini CLI and Codex, plus aweb-researchskill that teaches agents the cheapest order to use them.Fast — a 12-page docs crawl finishes in about half a second on a laptop; scrapes are cached on disk with
maxAge.
Compared with Firecrawl
ralpcrawl | Firecrawl Local | Firecrawl Cloud | |
Install |
|
| Hosted, API key |
Markdown, HTML, links, metadata | ✅ | ✅ | ✅ |
Crawl, map, batch scrape | ✅ | ✅ | ✅ |
PDFs | ✅ | ✅ | ✅ |
JS rendering | ✅ local Chrome, auto-detected | ✅ local Chrome | ✅ |
Structured JSON extraction | ✅ bring your own LLM | — | ✅ |
Summaries | ✅ bring your own LLM | — | ✅ |
Screenshots | ✅ | — | ✅ |
Browser actions (click, type, scroll, JS) | ✅ | — | ✅ |
Change tracking with git-style diffs | ✅ local snapshots | — | ✅ |
Web search | ✅ keyless (DuckDuckGo), SearXNG or Brave | via Cloud | ✅ |
Multi-page extract ( | ✅ | — | ✅ |
llms.txt generator | ✅ | — | (deprecated) |
RAG chunks with heading trails | ✅ | — | — |
Token counts per page | ✅ | — | — |
Works fully offline from any cloud | ✅ | optional | — |
Firecrawl API on localhost | ✅ v1 + v2 | ✅ v2 | — |
MCP server + agent installer | ✅ | ✅ | ✅ |
Firecrawl Cloud still wins on scale, proxies and hard anti-bot sites. ralpcrawl is for everything you'd rather run yourself.
Related MCP server: EnConvert MCP Server
Install
# run once
npx -y github:Ralpberry-Labs/ralpcrawl <url>
# or install the `ralpcrawl` command
npm install -g github:Ralpberry-Labs/ralpcrawlOptional extras:
Chrome / Chromium / Edge / Brave for JavaScript pages, screenshots and actions. Found automatically; override with
RALPCRAWL_CHROME=/path/to/chrome.An LLM for
json,summaryandextract(see LLMs).
Check your setup:
ralpcrawl doctorCLI
Scrape
ralpcrawl https://example.com # markdown to stdout (same as `ralpcrawl scrape`)
ralpcrawl scrape https://example.com --json # full document: markdown + metadata
ralpcrawl scrape <url> -f markdown,links,images # pick formats
ralpcrawl scrape <url> --full-content # keep nav/header/footer
ralpcrawl scrape <url> --include-tags "main,table" # only these selectors
ralpcrawl scrape <url> -s page.png --full-page # screenshot
ralpcrawl scrape <url> --chunks --chunk-tokens 400 # RAG chunks
ralpcrawl scrape <url> --max-age 3600000 # reuse a cached copy up to 1h old
ralpcrawl scrape <url> -H "Cookie: session=abc" # custom headers
ralpcrawl scrape https://arxiv.org/pdf/1706.03762 # PDFs become markdown tooBrowser actions run before the page is read:
ralpcrawl scrape https://news.example.com --actions '[
{"type": "click", "selector": "button.load-more"},
{"type": "wait", "milliseconds": 1500},
{"type": "scroll", "direction": "down", "amount": 3},
{"type": "executeJavascript", "script": "return document.querySelectorAll(\"article\").length"}
]'Action types: wait, click, write, press, scroll, screenshot, scrape, executeJavascript (same shapes as Firecrawl).
Structured data
# schema shorthand: {"field": "type"}, "type[]" for arrays, [{...}] for arrays of objects
ralpcrawl scrape https://example.com/pricing \
--schema '{"plans": [{"name": "string", "monthly_price": "number", "features": "string[]"}]}'
# or a prompt alone
ralpcrawl scrape https://example.com/team -p "List every person and their role"
# across many pages: /* expands to the most relevant pages under that path
ralpcrawl extract "https://docs.example.com/*" -p "What are the API rate limits per plan?"Full JSON Schema files work too: --schema ./schema.json.
Map
ralpcrawl map https://docs.firecrawl.dev # every URL (sitemaps + links)
ralpcrawl map https://docs.firecrawl.dev -s crawl -l 5 # ranked by relevance
ralpcrawl map <url> --sitemap only --json # sitemap URLs with titlesCrawl
ralpcrawl crawl https://docs.python.org/3/tutorial/ -l 50 # → ./crawl-docs.python.org/**/*.md
ralpcrawl crawl <url> -i "/blog/**" -x "/blog/tag/**" -d 3
ralpcrawl crawl <url> --as jsonl -o out/ # one JSON doc per line
ralpcrawl crawl <url> --entire-domain --subdomains -c 10 --delay 250Each markdown file gets YAML front matter (url, title, description, scraped_at). The crawler respects robots.txt (including Crawl-delay), de-duplicates canonical URLs (tracking params, www., trailing slashes, index.html), skips binary assets, and by default stays under the start URL's folder — exactly like Firecrawl.
Batch
ralpcrawl batch https://a.com https://b.com > pages.jsonl
ralpcrawl batch --file urls.txt -o pages/Search
ralpcrawl search "best rust web frameworks 2026" -l 5
ralpcrawl search "site:docs.python.org asyncio timeout" --scrape # include each result's markdown
ralpcrawl search "openai devday" --tbs w # past weekBackends: DuckDuckGo (default, no key), RALPCRAWL_SEARXNG_URL (self-hosted SearXNG), or BRAVE_API_KEY.
Watch for changes
ralpcrawl watch https://example.com/pricing # first run saves a snapshot
ralpcrawl watch https://example.com/pricing # later runs print a coloured diff
ralpcrawl watch https://example.com/status --every 15 --include-tags "#incidents"llms.txt
ralpcrawl llmstxt https://docs.example.com -l 100 -o ./public # writes llms.txt + llms-full.txtFirecrawl-compatible API
ralpcrawl serve # http://127.0.0.1:3002
ralpcrawl serve --api-key s3cret # require Authorization: Bearer s3cretPoint any Firecrawl SDK at it:
import Firecrawl from "@mendable/firecrawl-js";
const app = new Firecrawl({ apiKey: "local", apiUrl: "http://127.0.0.1:3002" });
const doc = await app.scrape("https://docs.python.org/3/", { formats: ["markdown", "links"] });
const site = await app.crawl("https://docs.python.org/3/tutorial/", { limit: 20 });from firecrawl import Firecrawl
app = Firecrawl(api_key="local", api_url="http://127.0.0.1:3002")
print(app.scrape("https://example.com").markdown)Endpoint | v1 | v2 |
| ✅ | ✅ |
| ✅ | ✅ |
| ✅ | ✅ |
| ✅ (strings) | ✅ (objects with titles) |
| ✅ | ✅ ( |
| ✅ | ✅ |
| ✅ | ✅ |
Security defaults: binds to 127.0.0.1; refuses to fetch loopback, private and link-local addresses (SSRF guard, checked on every redirect hop and every browser navigation) unless you pass --allow-private; API key comparison is constant-time; request bodies are capped at 5 MB.
Docker:
docker build -t ralpcrawl .
docker run -p 3002:3002 -e RALPCRAWL_API_KEY=s3cret ralpcrawlMCP server (Claude, Cursor, Codex, …)
One command registers ralpcrawl with every AI tool it finds (Claude Code, Claude Desktop, Cursor, Windsurf, Gemini CLI, Codex). It backs up each config first:
ralpcrawl init # or: ralpcrawl init --dry-runOr add it by hand:
{
"mcpServers": {
"ralpcrawl": { "command": "npx", "args": ["-y", "github:Ralpberry-Labs/ralpcrawl", "mcp"] }
}
}Claude Code plugin (MCP server + web-research skill):
/plugin marketplace add Ralpberry-Labs/ralpcrawl
/plugin install ralpcrawl@ralpcrawlTool | What it does |
| One URL → markdown / links / JSON / change diff, with actions |
| All URLs on a site, optionally ranked by a search term |
| Breadth-first crawl with path filters |
| Many URLs in parallel |
| Keyless web search, optionally scraping results |
| Structured JSON or a cited answer across pages |
| llms.txt for any site |
Outputs are clipped to RALPCRAWL_MCP_MAX_CHARS (default 80,000) so a huge page can't blow an agent's context.
The web-research skill
skills/web-research/SKILL.md teaches agents a cost ladder — scrape a known URL → map + scrape → search + scrape → extract → small crawl — plus recipes and red flags (e.g. "about to crawl 50+ pages? map instead"). Drop it into any skills folder.
Library
import { scrape, crawlStream, map, search, extract, chunkMarkdown } from "ralpcrawl";
const doc = await scrape("https://example.com", { formats: ["markdown", "links"] });
console.log(doc.markdown, doc.metadata.title, doc.metadata.tokens);
for await (const ev of crawlStream("https://docs.example.com", { limit: 100, includePaths: ["/guides/**"] })) {
if (ev.type === "page") console.log(ev.doc.metadata.url);
}
const pricing = await scrape("https://example.com/pricing", {
formats: [{ type: "json", schema: { plans: [{ name: "string", price: "string" }] } }],
});Every document has metadata with title, description, language, Open Graph fields, canonical, favicon, author, published/modified times, parsed jsonLd, statusCode, contentType, engine (http / browser / cache), wordCount, tokens and readingTimeMinutes.
LLMs
json, summary and extract use whichever model you configure. Nothing is sent anywhere unless you set one of these:
Provider | Environment |
Anthropic |
|
OpenAI |
|
Ollama |
|
LM Studio / llama.cpp / vLLM |
|
OpenRouter, Groq, Together, … |
|
Anthropic extraction uses forced tool use and OpenAI-compatible servers use json_schema response format, with automatic fallback to JSON mode for local servers that don't support schemas. If no model is configured, scrapes still succeed and include a warning.
Environment variables
Variable | Purpose |
| Path to Chrome/Chromium |
| Cache + change-tracking snapshots (default |
| Bearer token for |
| Force |
| Any OpenAI-compatible model |
| Max page characters sent to the model (default 120,000) |
| Search backends |
| Max characters per MCP tool result |
How it works
URL ─► HTTP fetch (redirects, SSRF guard, charset, 50 MB cap)
│ empty shell / JS app / 403 / 429?
├──────────────► headless Chrome (ads blocked, actions, screenshot)
▼
PDF ─► unpdf text ─┐
HTML ─► strip scripts, boilerplate, cookie banners
─► <main>/<article> if it holds the content, else Readability, else cleaned body
─► absolute URLs, lazy images, base64 removal
─► Turndown + GFM tables + fenced code with languages
▼
markdown ─► chunks · tokens · change diff (Myers) · LLM json/summaryDevelopment
npm install
npm run check # typecheck + 34 tests (local fixture site, mock LLM, real Chrome when present)
npm run dev -- scrape https://example.com
npm run buildResponsible use
Respect robots.txt (on by default), site terms and rate limits. Use --delay for small sites. Don't scrape content behind logins you don't own, or personal data you have no right to process.
License
MIT © Ralpberry Labs
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Web pages as Markdown, site maps and crawls, AI data extraction and screenshots.
Markdown scrape, site map, page metadata, screenshots, web search and PDF to text. Pay per call
Cloud scraping & crawling API for AI agents. Turn any URL into clean, LLM-ready markdown.
Web scraping for agents. Point it at a URL and it returns the page as clean markdown, JavaScript-rendered pages included. Point it at a site and it maps the URLs or crawls the section you need in the background, a few pages at a time so results fit in the conversation. Search the web and read full pages, extract fields with a JSON schema you define (validated, never invented), read a store's catalogue or a blog's posts from the platform's own feed, and check whether a page has changed. Failed requests cost nothing. The free plan includes 1,500 credits a month.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to crawl and scrape websites, converting HTML to clean Markdown and structured metadata with support for JavaScript rendering, bot evasion, and SSRF protection.197MIT

EnConvert MCP Serverofficial
AlicenseAqualityBmaintenanceEnables AI agents to convert files, render web pages to markdown/PDF/screenshots, search the live web, extract structured data, ingest RAG-ready chunks, and monitor pages for changes through a single API key.2476 npm7MIT- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to scrape and extract web content, search, crawl sites, generate schemas, and manage scheduled monitors through a hosted API.-
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to scrape pages into markdown, HTML, screenshots, and other formats, extract structured data with prompts, run web searches and multi-page crawls, generate JSON schemas, and manage scheduled monitoring jobs and account usage through an AI-powered web-scraping API.-