Crawlbrulee

io.github.crawlbrulee由 GitHub 帳號 crawlbrulee 發布v1.4.0更新於 Nov 7, 2026

EU-native web scraping for AI agents. scrape pages, map sites, run background jobs, check usage.

概覽

AI 產生的概覽

Crawlbrulee 官方 MCP 伺服器,讓助理把網頁擷取成 Markdown、截圖與中繼資料,建立網站連結地圖、執行非同步任務並查看額度用量。

可以做什麼
  • 擷取單一網址,回傳 Markdown、清理後或原始 HTML、連結、圖片、截圖、中繼資料,或依 CSS 選擇器萃取的具名值
  • 把耗時擷取提交為背景任務,再輪詢任務狀態並取得結果,可選擇附上簽章的完成回呼
  • 從網站地圖與首頁連結建立網站連結地圖,支援分頁與探索上限
  • 查詢帳戶目前計費週期的額度用量,並確認金鑰所屬的組織與權杖
適用情境
適合需要從任意網站取得適合模型使用的乾淨正文或截圖的情況,也適合在擷取選定頁面前先列出整站連結。資料在歐盟處理並強調 GDPR 合規,適合有歐盟資料落地需求的團隊。
執行需求
透過 npx 以 stdio 在本機執行,需要 Node.js。需要 Crawlbrulee 帳戶與 CRAWLBRULEE_API_KEY 環境變數,以 Bearer 權杖送出;免費方案提供 750 額度且不需信用卡。需要能連線至 Crawlbrulee API 的網路。
安裝前請注意
每次擷取都會消耗付費額度,瀏覽器渲染、進階代理、截圖切片與零資料保留會提高倍率,大量操作前先查看用量。傳給擷取請求的自訂標頭與 Cookie 會經過對話,可能被宿主保留在歷史紀錄中,請使用短期權杖或測試帳戶。擷取內容及所提供的標頭會傳送給第三方服務。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Crawlbrulee,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

🍮 crawlbrulee mcp

[npm] [license]

EU-native web scraping for AI agents & developers.

plug crawlbrulee into your agent. the official mcp server for crawlbrulee gives mcp-aware agents — Claude Code, Codex, Cursor, Claude Desktop — native tools to scrape pages, map sites, run background jobs, and check usage. one call turns any url into clean markdown, screenshots, metadata and links.

  • everything runs in the EU. the fetch, the render, the cache and your result never leave EU servers. the proxy exit is the one hop you choose: pick an EU exit and nothing leaves at all. gdpr-aligned, with a data processing agreement.
  • output made for models. markdown with ads, popups and cookie banners removed and the links kept, ready for the prompt. full-page screenshots can come back as tiles sized for an image model.
  • the hard parts, handled. headless Chrome when a page needs it, rotating proxies with country selection, automatic retries, ad and cookie-banner removal, caching, background jobs and signed webhooks.
  • start free. 750 credits, no credit card.

get a free api key → dashboard.crawlbrulee.com

the server:

  • npx-runnable — zero install.
  • wraps the @crawlbrulee/sdk under the hood; this mcp is just a thin protocol adapter.
  • stdio transport for terminal-based agents.
  • strict, fully-described tool schemas — agents see what every parameter does without reading docs.

this readme covers the mcp server itself — its tools and how to wire it into a host. for how the api behaves — endpoints, parameters, and error semantics — please see our api docs.


install

1. get a key. if you don't have a crawlbrulee account, sign up. the free plan needs no credit card. then, in the dashboard menu, open tokens and click create token.

2. put it in your environment. add it to your shell profile (for example ~/.zshrc), then open a new terminal and start your agent from it. don't paste the key into your agent's chat: anything in the chat stays in its history.

bash
export CRAWLBRULEE_API_KEY="cwbl_..."

3. add the server, with no key in its config. in Claude Code:

bash
claude mcp add crawlbrulee -- npx -y @crawlbrulee/mcp

other stdio hosts run the same command: npx -y @crawlbrulee/mcp. a few of them (Codex, Cursor, Windsurf, Gemini CLI, Claude Desktop) need the key or the variable named in their config file, and VS Code and the Claude Code plugin can ask for the key in a masked prompt. the file and the entry for each one: mcp setup in the docs.

if a key stops working (invalid_credentials), it's expired, revoked or mistyped: create a new one the same way, replace the old one, and start your agent again.

configuration

env varrequireddescription
CRAWLBRULEE_API_KEYyesapi key sent as Authorization: Bearer …. see install for how to get one.

the mcp reads the env var on first tool invocation — not at startup — so a typo in your config surfaces as a clear tool-error message rather than the server failing to come up. see authentication for how the api consumes keys.


tools

scrape

fetch a single url and return the requested content (markdown, cleaned html, raw html, links, images, screenshot, page metadata).

input — only url is required; everything else has sane defaults.

jsonc
{  "url": "https://example.com",  "extract": {    "markdown": true,    "links": true,    "screenshot": { "type": "full_page", "device_mode": "desktop" },  },  "require_js": false,  "proxy": "basic",  "cleanup": { "ads_and_popups": true, "exclude_selectors": ["nav", "footer"] },  "cache": { "max_age": 3600 },  "location": { "locale": "en-US", "country": "US" },  "zero_data_retention": false,}

zero_data_retention (boolean, default false) keeps the result out of the shared cache; anything stored to deliver it is kept for 24 hours, then deleted. it adds 1 credit and must be enabled for your organization. scrape_async takes it too. see zero data retention.

named values with extract.elements. to pull a few values from a page — prices, titles, links — give each one a name and a CSS selector, instead of reading the whole markdown. they come back in elements under the same names. all: true returns every match as a list, and fields reads named values inside each match (:scope reads the match itself). it costs no extra credits. scrape_async takes it too.

jsonc
{  "url": "https://shop.example.com/books/",  "extract": {    "elements": {      "heading": "h1",      "books": {        "selector": "article.book",        "all": true,        "fields": {          "title": { "selector": "h3 a", "output": "attribute", "attribute": "title" },          "price": ".price",        },      },    },  },}// → "elements": {//     "heading": "Books",//     "books": [{ "title": "The Night Garden", "price": "€18.90" }, ...]//   }

a name with no match is null (or [] with all: true). limits and selector rules: see targeted extraction.

your own headers and cookies with headers and cookies. send your own HTTP headers and cookies to the site, for example an Authorization header or a fixed User-Agent that a site has on its allowlist. headers go only to the origin of url (or its https version, for an http url) and cookies only to its host, never to another site on a redirect. up to 10 headers and 20 cookies. a request with headers or cookies never reads from or writes to the cache, and costs the same as a normal fresh scrape. scrape_async takes them too.

jsonc
{  "url": "https://app.example.com/orders",  "headers": { "Authorization": "Bearer ...", "X-Tenant-Id": "acme" },  "cookies": [{ "name": "session_id", "value": "a1b2c3" }],}

[!WARNING] header and cookie values pass through your chat with the AI, so the AI host may keep them in its history. use short-lived tokens or a test account, and never a password you can't change.

your own User-Agent can lower the success rate, and the response then carries the custom_user_agent warning. never put secrets in the User-Agent. the limits and which headers can't be set: see headers and cookies.

output — full scrape result. page metadata (title, OG tags, etc.) is returned under metadata. extracted images are returned as absolute urls — query strings are preserved, and relative srcs are resolved against the page url. screenshots are returned as signed download urls the agent can fetch separately. in rare cases a screenshot can't be captured: when you requested other outputs too, the screenshot field is simply left out while the rest is still returned — but a screenshot-only call that can't deliver errors instead (unsupported_screenshot_output, HTTP 422, when the content type can't be screenshotted) and isn't billed. the result also carries page_status_code and a top-level response_meta.usage block:

jsonc
{  "url": "https://example.com",  "requested_url": "https://example.com",  "page_status_code": 200, // the site's own HTTP status for the final page  "markdown": "...",  "metadata": { "title": "Example Domain" },  "response_meta": {    "usage": {      // total_credit_cost = engine_credit_cost × proxy_multiplier + screenshot_slicing_credit_cost + zero_data_retention_credit_cost      "total_credit_cost": 1,      "engine_credit_cost": 1, // http 1, browser 3, screenshot 5, cache 0      "proxy_multiplier": 1, // basic 1, advanced 5      "screenshot_slicing_credit_cost": 0, // 1 when the screenshot was split into slices, otherwise 0      "zero_data_retention_credit_cost": 0, // 1 when zero_data_retention added its credit, otherwise 0      "engine": "http", // "http" | "browser" | "screenshot" | "cache"      "proxy": "basic", // resolved tier actually used: "basic" | "advanced" (never "auto")    },  },}

a page the site served is a result, not an error. page_status_code is the HTTP status the site answered with for the final page, after redirects. a 404, 410 or 503 page comes back with its content and its status here, so check page_status_code before you trust the content: a 404 means the markdown is the site's "not found" page. 2xx and 4xx pages are billed, except 403, 407, 408, 429 and 451; 5xx pages are never billed. when the site can't be reached at all, the tool returns a target_unreachable error instead (see errors).

alongside response_meta.usage, the result surfaces any non-fatal warnings — stable string codes an agent can switch on. an outsized page is truncated rather than refused, and the code names which part was cut:

codewhat it means for the payload
screenshot_truncatedthe page was taller than the scrolling-capture height cap; the screenshot covers the top of the page.
links_truncatedthe page had more than 30,000 links; the links array is cut at the cap and is incomplete.
inline_images_truncatedthe page had more than 10,000 inline images; the images array is cut at the cap and is incomplete.
raw_html_truncatedthe page body exceeded 10,000,000 characters; raw_html is cut at a tag boundary, never mid-tag.
elements_truncatedan elements value hit a limit; see targeted extraction.

two more codes are not about size. screenshot_unavailable means a screenshot was asked for, but the page came back from the http engine without one; the rest of the result is still there. custom_user_agent means the request set its own User-Agent header; this can lower the success rate.

and if you requested an extract that doesn't apply to the content type (e.g. metadata of a JSON file), the field name comes back in an unsupported_fields list — with the rest of the payload still returned.

every input field, its default, and its constraints are documented under the scrape endpoint — with extraction, screenshots, proxies & location, and caching covering the individual blocks.

scrape_async

submit a scrape job to run asynchronously and get back a job_id immediately, instead of holding the connection open. use this for long-running scrapes (heavy js rendering, full-page screenshots of long pages); for a quick one-shot fetch prefer the synchronous scrape tool. then poll scrape_status until the job is done and fetch the page with scrape_result.

takes the same input as scrape plus an optional per-job completion webhook:

jsonc
{  "url": "https://example.com",  "extract": { "markdown": true },  "webhook": {    // Endpoint that receives one signed `scrape.complete` POST when the job    // finishes. http/https (HTTPS required in production), max 2048 chars.    "url": "https://hooks.example.com/cwbl",    // Opaque correlation object echoed back verbatim in the delivery's    // `data.metadata`. Serializes to at most 2048 bytes.    "metadata": { "ref": "order-42" },  },}

output — { "job_id": "..." }.

when a webhook is attached, we deliver a single signed scrape.complete POST to your endpoint once the job reaches a terminal state, with your metadata echoed under data.metadata and the job's usage under data.response_meta.usage — so you can react to completion (and track cost) without polling. verify the X-Cwbl-Signature header with the sdk's verifyWebhookSignature (configure the signing secret in the dashboard under account → webhooks).

the job lifecycle is documented under async scrape; the delivery contract and payload shape under webhooks, with the signature scheme in webhook verification.

scrape_status

look up the current lifecycle status of an async job: pending, running, done, or failed (with an error message when failed). once the job is done the response also carries a response_meta.usage block (total_credit_cost and its parts, billed engine, resolved proxy tier). a cache hit is represented by engine: "cache". a job whose page the site served ends done even when that page is a 404 — read page_status_code in the result. poll until done, then call scrape_result.

jsonc
{ "job_id": "..." }

scrape_result

fetch the extracted content of a completed async job — the same result shape as the synchronous scrape tool (including page_status_code, metadata, elements and response_meta.usage). errors if the job is still pending/running, so check scrape_status first.

jsonc
{ "job_id": "..." }

map

build (or fetch a cached) link-map for a website. combines sitemap discovery with homepage link extraction. use this to enumerate a site before scraping selected pages. each link is just { url }.

max_urls (default 5000, max 100000) is a discovery budget, not a trim at the end — discovery stops as soon as that many urls are found, so a smaller value is a faster, cheaper crawl. limit (default 5000, max 10000) only pages the answer.

returned urls are normalized the same way scrape normalizes its returned url, so map-then-scrape stays on one host. results are ordered with the most useful links first.

the response's response_meta carries pagination, truncation, and a usage block (total_credit_cost = engine_credit_cost × proxy_multiplier + zero_data_retention_credit_cost, billed engine, resolved proxy tier). map has no screenshot slicing and no page_status_code, since it reads many files, not one page. a map that found nothing because the site answered only with statuses we don't bill (a 5xx, for example), or not at all, is empty and free.

jsonc
{  "url": "https://example.com",  "sitemap_only": false,  "types": { "internal": true, "external": false, "internal_subdomains": true },  "max_urls": 5000,  "page": 1,  "limit": 1000,  "zero_data_retention": false,}

zero_data_retention works as it does on scrape (see zero data retention).

a map stopped by your own max_urls returns exactly that many links with response_capped: false — the signal that the site has more is truncation.discovery_cap_reason:

jsonc
{  "truncation": {    "storage_capped": false,    "response_capped": false,    "total_before_max_urls": 5000,    "total_detected_before_storage_cap": 5000,    "discovery_capped": true, // discovery stopped before reading every sitemap file    "sitemaps_skipped": 3, // files skipped or only partly read    "discovery_cap_reason": "max_urls", // retry with a higher max_urls  },}

discovery_cap_reason is one of max_urls, time, file_budget, depth, file_size, unread_files, or null when nothing stopped discovery. only max_urls is a limit you can raise from the request. unread_files means a sitemap file the site publishes could not be read at all this time — often temporary, so asking again later can return more. time, file_budget, depth and file_size mean the site itself is big, slow or deep, and a retry will not help.

see the map endpoint for discovery rules and pagination semantics.

usage

returns the current billing-cycle snapshot: total / used / available credits, used quota percent, max concurrency, and cycle reset timestamp. takes no arguments. what a call costs, and how credits are counted, is documented under credits & pricing.

whoami

returns the organization name, token name, and truncated token preview for the configured api key. useful for confirming which account is in use before credit-consuming operations.


errors

every tool returns an mcp error result (isError: true) when the api call fails. the error text follows a stable format:

[<errorName>] <message> (HTTP <status>)

a few codes add a short next step after that, e.g. target_unreachable and zero_data_retention_not_enabled. branch on the errorName code, not on the rest of the text.

agents can branch on the errorName code. the set comes from the sdk's ApiErrorName union plus two synthetic codes added by this mcp (missing_api_key, internal_error):

codemeaning
missing_api_keyCRAWLBRULEE_API_KEY is not set in the mcp host's env. the message says how to get a key.
invalid_credentialsthe api rejected the key: expired, revoked or mistyped. the message says how to get a new one.
service_unavailabletemporary backend failure (HTTP 503). your key is fine — retry with backoff.
too_many_requestsrate limit hit — back off and retry.
usage_allocation_errorplan credit / concurrency cap exceeded. show usage to user.
validation_errorinput failed server validation.
invalid_urltarget url was rejected before fetching.
blocked_urltarget url is on the blocklist.
antibot_blockedorigin's anti-bot defenses blocked the fetch.
too_many_redirectsorigin redirected the fetch in a loop (HTTP 422). the target's doing — don't retry blindly.
page_too_largethe page's html was too large to process (HTTP 422). terminal — never retry it.
target_unreachablewe could not reach the site at all (HTTP 502). not billed. retry later or check the url.
zero_data_retention_not_enabledzero_data_retention is not enabled for your organization (HTTP 403). not billed.
scrape_errorthe scrape could not be completed. a page the site served, even a 404, is never this error.
unsupported_screenshot_outputscreenshot-only request on a content type that can't be screenshotted (HTTP 422). not billed.
not_foundasync job ID unknown, or submitted more than 24 hours ago (scrape_status / scrape_result).
request_timeoutnetwork / read timeout. safe to retry.
client_closed_requestcaller cancelled before completion.
internal_server_errorunhandled server-side failure.
crawlbrulee_errorsdk error without a typed name.
internal_errorbug in this mcp — please open an issue.

the api docs carry the canonical error reference — every error name, what causes it, and how to recover.


development

bash
pnpm installpnpm typecheck   # tsc --noEmitpnpm lint        # eslintpnpm test        # vitest runpnpm build       # tsup → dist/index.js with shebangpnpm verify      # all of the above

run the built mcp locally:

bash
CRAWLBRULEE_API_KEY=cwbl_... node ./dist/index.js

it will block waiting for an mcp client on stdio. combine with the MCP Inspector for interactive debugging.

docs

this readme covers the mcp server itself — installing it, wiring it into a host, and the tools it exposes. for how the api behaves — endpoints, parameters, and error semantics — the api docs are canonical. the mcp guide covers host setup in more depth.

part of the crawlbrulee toolkit

one api, many ways to call it:

docs: crawlbrulee.com/docs · dashboard: dashboard.crawlbrulee.com

license

Apache-2.0

來源:README.md,提交 e3ac790

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

9
  1. v1.4.0最新Nov 7, 2026
  2. v1.3.3Oct 26, 2026
  3. v1.3.2Oct 19, 2026
  4. v1.3.1Oct 9, 2026
  5. v1.2.1Oct 7, 2026
  6. v1.2.0Oct 5, 2026
  7. v1.1.0Sep 30, 2026
  8. v1.0.3Sep 25, 2026
  9. v1.0.2Sep 22, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分