Crawlberg

Web search and scraping

Scrape, crawl, and map websites to Markdown or JSON via local CLI.

Your AI app calls the Crawlberg MCP server, which does the web search and scraping work and sends the result back to the chat.

About Crawlberg

Crawlberg is a community MCP server from xberg-io, filed in our directory under web search and scraping. Scrape, crawl, and map websites to Markdown or JSON via local CLI.

Crawlberg runs on your own machine: your AI app starts it with the command npx -y @xberg-io/crawlberg-cli@1.13.6 mcp and talks to it over standard input and output.

Crawlberg is listed in the official MCP registry as io.github.xberg-io/crawlberg, version 1.13.6.

At a glance

Publisher
xberg-io (community)
Runs
Locally on your machine
Install from
Node.js package on npm: @xberg-io/crawlberg-cli
Written in
Rust
License
MIT
GitHub stars
198
Official MCP registry
io.github.xberg-io/crawlberg

How to set up Crawlberg

  1. Install Node.js on the machine that runs your AI app, because Crawlberg starts with npx and downloads its package on first run.
  2. Check the Crawlberg README for keys or settings; the registry lists none that Crawlberg requires.
  3. Add Crawlberg to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Crawlberg tools to confirm the connection.
  5. Run one read-only task with Crawlberg first, and keep your app asking before each tool call until the results look right.

Crawlberg compared with similar servers

  • searxNcrawl by DasDigitaleMomentum has fewer GitHub stars than Crawlberg (196 against 198); both are community servers, and both run locally.
  • Suganthans GSC by Suganthan-Mohanadasan has more GitHub stars than Crawlberg (199 against 198); both are community servers, and both run locally.
  • SerpApi by serpapi has fewer GitHub stars than Crawlberg (190 against 198); SerpApi is official while Crawlberg is a community server, and SerpApi runs as a remote server and Crawlberg runs on your own machine.

Before you connect Crawlberg

  • Give Crawlberg its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Crawlberg tool call until you trust what it does with them.
  • Treat text that Crawlberg fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Crawlberg on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Crawlberg

How marketing and sales teams put Crawlberg to work, by company size. Pick the size closest to yours and start Crawlberg on one use case.

Small business

  • A founder can use Crawlberg to research a market or a prospect in minutes, with sources cited, before a pitch or a pricing change.
  • Small teams can ask Crawlberg what competitors launched this month and get the pages, not just a summary.
  • Crawlberg runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing teams can use Crawlberg to gather fresh data for content, such as stats, quotes and examples, with each source linked for checking.
  • Outbound teams can connect Crawlberg to research accounts from public pages and add one specific line to each first email.
  • Start Crawlberg on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise research and competitive intel teams can schedule Crawlberg to monitor many sources, with results stored and cited for review.
  • Large orgs can route Crawlberg through approved providers and respect each site's terms, keeping scraping inside legal guidance.
  • Crawlberg is a community server, so have security review the code and pin a version before Crawlberg touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Crawlberg README

From xberg-io/crawlberg on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md

Crawlberg

Turn any website into clean, structured data. Point Crawlberg at a URL and get back Markdown, metadata, and links, from a single page or a whole site, in the language you already use.

What and Why?

You need data that lives on the web, and raw HTML is not it. Crawlberg does the crawling, scraping, and cleanup end-to-end: it fetches pages, follows links, converts each one to Markdown, and hands you structured metadata (titles, links, images, social-card and JSON-LD data), so you skip the parsing and go straight to the content.

It runs from a single Rust core with identical results across 14 language bindings, and it handles the awkward parts for you: JavaScript-heavy pages fall back to a real headless browser, bot filters are detected and worked around, robots and sitemaps are respected, requests are throttled per domain, and requests to private or internal addresses are refused by default. Drive it from your code, an AI agent, a REST service, or the CLI.

Every part of the pipeline is a trait you can swap, the crawl frontier, rate limiter, storage, event stream, and content filters, so you can plug in your own behavior. Managed extras like proxy pools, tuned bot-evasion, authenticated sessions, scheduling, and billing live in Xberg Enterprise.

Features
Feature Description
Structured extraction Text, metadata, links, images, assets, JSON-LD, Open Graph, hreflang, favicons, headings, response headers
Markdown conversion Clean Markdown with citations, document structure, and fit-content mode
Concurrent crawling Depth-first, breadth-first, or best-first traversal with configurable depth, page limits, and concurrency
14 language bindings Rust, Python, Node.js, Ruby, Go, Java, Kotlin (Android), C#, PHP, Elixir, Dart, Swift, Zig, and WebAssembly
Smart filtering BM25 relevance scoring, URL include/exclude patterns, robots.txt compliance, sitemap discovery
Browser rendering Optional headless browser for JavaScript-heavy SPAs with WAF detection and bypass
Batch & streaming Scrape or crawl hundreds of URLs concurrently; real-time crawl events via async streams
SSRF-safe by default Refuses loopback, private, link-local, and cloud-metadata addresses; opt out via env var or CrawlConfig
Auth & rate limiting HTTP Basic, Bearer, and custom-header auth with cookie jars; per-domain request throttling
MCP server & REST API Model Context Protocol integration for AI agents plus an HTTP server with OpenAPI spec
Supported Platforms

Precompiled binaries for glibc Linux (x86_64/aarch64), macOS, and Windows across every binding. On musl Linux (Alpine) coverage is deliberately partial, the CLI, Docker image, Rust, Ruby, Java, and Elixir work there; the Node, Python, Go, PHP, and C# bindings do not ship musl artifacts. See the platform support matrix for the full table and the Alpine workarounds.

⭐ Star this repo to show your support, it helps others discover Crawlberg.

Quick Start

Language Packages
Python
pip install crawlberg

See Python README for full documentation.

Node.js
pnpm add @xberg-io/crawlberg

See Node.js README for full documentation.

Rust
cargo add crawlberg

See Rust README for full documentation.

Go
go get github.com/xberg-io/crawlberg/packages/go

See Go README for full documentation.

Java

Available on Maven Central as io.xberg.crawlberg:crawlberg. See Java README for the dependency snippet and current version.

C#
dotnet add package XbergIo.Crawlberg

See C# README for full documentation.

Ruby
gem install crawlberg

See Ruby README for full documentation.

PHP
composer require xberg-io/crawlberg

See PHP README for full documentation.

Elixir

Add {:crawlberg, "~> 0.3"} to your mix.exs dependencies. See Elixir README for full documentation.

Dart / Flutter
dart pub add crawlberg

See Dart README for full documentation.

Kotlin (Android)

Available on Maven Central as io.xberg.crawlberg.android:crawlberg-android. See Kotlin README for the dependency snippet and current version.

Swift

Add via Swift Package Manager. See Swift README for full documentation.

Zig

See Zig README for installation and usage.

WebAssembly
pnpm add @xberg-io/crawlberg-wasm

See WebAssembly README for full documentation.

C/C++ (FFI)

C header + shared library from GitHub Releases. See FFI crate for full documentation.

CLI
cargo install crawlberg-cli
# Or install the prebuilt binary via cargo-binstall:
cargo binstall crawlberg-cli
brew install xberg-io/tap/crawlberg

Windows users can install the same binary through Scoop:

scoop bucket add xberg https://github.com/xberg-io/scoop-bucket
scoop install crawlberg

See CLI README for full documentation.

AI Coding Assistants

Install the Crawlberg plugin from xberg-io/crawlberg. It ships the Crawlberg agent skills (site crawling, HTML→Markdown scraping, headless-Chrome fallback) plus the crawlberg MCP server,, select your runtime below.

The bundle targets Claude Code, Codex, Cursor, Gemini CLI, Kimi, OpenCode, Factory Droid, Hermes, Pi, Agent Plugins and GitHub Copilot CLI. Read the plugin guide for runtime resources, CLI prerequisites and configuration. MCP-capable adapters expose the product's tools; Hermes uses a local stdio bridge and explicitly selected skills. Pi loads skills and prompt templates and requires the product CLI for executable operations.

Install only the public Agent Skills, without a plugin or MCP registration, using the skills CLI:

npx skills add xberg-io/crawlberg --list
npx skills add xberg-io/crawlberg

Choose the skills and target agents interactively. Installing instructions does not install the product CLI or configure provider credentials.

Claude Code
/plugin marketplace add xberg-io/crawlberg
/plugin install crawlberg@crawlberg
Codex CLI
/plugins add https://github.com/xberg-io/crawlberg

Then search for crawlberg and select Install Plugin.

Cursor

Settings → Plugins → Add from URL → https://github.com/xberg-io/crawlberg, then select crawlberg.

Gemini CLI

From a checkout of this repository:

gemini extensions install ./plugin

The manifest is inside plugin/. See the Gemini extension reference for local installation and updates.

Factory Droid
droid plugin marketplace add https://github.com/xberg-io/crawlberg
droid plugin install crawlberg@crawlberg
GitHub Copilot CLI
copilot plugin marketplace add https://github.com/xberg-io/crawlberg
copilot plugin install crawlberg@crawlberg
Pi

From a checkout of this repository:

pi install ./plugin

After the next plugin release, install the same package used by OpenCode:

pi install npm:@xberg-io/opencode-crawlberg

Pi loads the bundled skills and prompt templates. Use /crawlberg-scrape or /crawlberg-crawl with the input as arguments. Install the crawlberg CLI separately for shell access. This package does not register MCP servers, hooks, or native Pi extensions.

opencode

Add the package to opencode.json:

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["@xberg-io/opencode-crawlberg"]
}

Documentation

Full guides, per-language API references, the substrate/operational model, antibot strategy, and observability live at docs.crawlberg.xberg.io.

Contributing

Contributions are welcome! See our Contributing Guide.

Part of Xberg.io

  • Xberg, the open-source content-intelligence engine: text, tables, and metadata from 101 formats (115 file extensions), with OCR, transcription, and code intelligence. MIT.
  • Xberg Pro, a complete self-hosted content-intelligence backend in a single container. Commercial.
  • Xberg Enterprise, the distributed, governed content-intelligence platform, scaled on Kubernetes with team governance and support. Commercial.
  • crawlberg, web crawling and scraping with HTML→Markdown and headless-Chrome fallback.
  • html-to-markdown, fast, lossless HTML→Markdown engine.
  • liter-llm, universal LLM API client with native bindings for 14 languages and 165 providers.
  • tree-sitter-language-pack, tree-sitter grammars and code-intelligence primitives.
  • alef, the polyglot binding generator that produces every per-language binding across the 5 polyglot repos.
  • Sponsor Xberg.io, fund maintenance, benchmarks, and releases across the ecosystem.

License

MIT License

Links

Questions about Crawlberg

What is the Crawlberg MCP server?

Scrape, crawl, and map websites to Markdown or JSON via local CLI. Crawlberg is maintained by xberg-io on GitHub at xberg-io/crawlberg, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Crawlberg MCP server?

Add Crawlberg to your AI app's MCP config with the command npx -y @xberg-io/crawlberg-cli@1.13.6 mcp. In Claude Code, run claude mcp add --transport stdio crawlberg -- npx -y @xberg-io/crawlberg-cli@1.13.6 mcp. To run Crawlberg this way you need Node.js installed.

Does Crawlberg need an API key?

The registry lists no required keys for Crawlberg. Check the Crawlberg README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Crawlberg an official MCP server?

No. Crawlberg is a community server maintained by xberg-io. Community servers can be excellent; read the code and the open issues before you give Crawlberg access to company data.

What license is Crawlberg under?

Crawlberg is released under the MIT license, according to its GitHub repository. The license covers the code of Crawlberg; the service it connects to has its own terms.