Rendex: Rendering API for Images, PDFs & Content Extraction

v1.8.2
io.github.copperline-labs/rendex-mcp Checked 10 hours ago Published 4 months ago

Render HTML, Markdown, or URLs to images, PDF, or branded artifacts; extract and watch pages.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

rendex_screenshot Capture Screenshot or PDF

Use this when the user asks to screenshot, capture, or take a picture of a webpage/URL, or to render raw HTML or Markdown to an image or PDF. Do NOT use to get a reusable hosted image URL (use rendex_render_link) or to make a branded multi-format document (use render_artifact). Captures a screenshot or PDF of any webpage, raw HTML, or Markdown. Supports full-page capture, dark mode, ad blocking, custom viewports, CSS/JS injection, cookie/header injection, PDF output, HTML and Markdown rendering, and progressive fallback for heavy sites. Returns partial renders on timeout by default (bestAttemp…

ParameterTypeDescription
bestAttemptbooleanIf true (default), capture whatever is rendered on timeout instead of failing. Set to false to get a hard error on timeout.
blockAdsbooleanBlock ads and trackers before capture
blockCookieBannersbooleanHide common cookie/consent walls (GDPR/CCPA banners) before capture. A curated selector list, lighter than custom hideSelectors.
blockResourceTypesarrayBlock specific resource types to speed up capture. E.g. ['font', 'image'] for text-only screenshots.
cookiesarrayCookies to set before capture. Useful for authenticated pages. Max 50 cookies.
cssstringCustom CSS to inject into the page before capture. Hide cookie banners, add watermarks, override styles. Max 50KB.
darkModebooleanEmulate dark color scheme (prefers-color-scheme: dark)
dataobjectKey-value data object for Mustache templating. When provided, the 'html' or 'markdown' string is rendered as a logic-less Mustache template before capture — {{var}} inserts HTML-escaped, {{{var}}} i…
delayintegerMilliseconds to wait after page load before capture (useful for JS-rendered content)
devicestringDevice preset that sets viewport, scale factor, and user agent in one shot. E.g. 'iphone_15' for a mobile screenshot. Overrides width/height/deviceScaleFactor/userAgent.
deviceScaleFactornumberDevice pixel ratio (1 = standard, 2 = retina). Defaults to 2× Retina.
formatstringOutput format — png (lossless), jpeg (smaller), webp (smallest), or pdf (document). Use pdf for invoices, reports, archival.
fullPagebooleanCapture the full scrollable page instead of just the viewport
geostringISO 3166-1 alpha-2 country code for geo-targeted capture (e.g., 'US', 'DE', 'JP'). Renders the page as seen from that country. Pro/Enterprise only. Note: CSS/JS injection, cookies, element capture, da…
geoCitystringCity for more precise geo-targeting (e.g., 'Berlin', 'New York'). Requires 'geo'.
geoStatestringState or region for more precise geo-targeting (e.g., 'California'). Requires 'geo'.
headersobjectCustom HTTP headers to send with the page request. Cannot override Host, Connection, Content-Length, or Transfer-Encoding.
heightintegerViewport height in pixels (240-2160)
hideSelectorsarrayCSS selectors to hide (display:none) before capture. E.g. ['.modal', '#newsletter-popup'] to remove overlays. Max 50 selectors.
htmlstringRaw HTML to render and capture. Mutually exclusive with 'url' and 'markdown'. Great for invoices, social cards, email templates, OG images.
jsstringCustom JavaScript to execute in the page before capture. Runs in the browser sandbox. Max 50KB.
markdownstringMarkdown to render to an image or PDF. Mutually exclusive with 'url' and 'html'. The server converts it to HTML before rendering. Great for reports, release notes, README snapshots, documentation card…
pdfFormatstringPDF page size. Only used when format='pdf'. Default: A4
pdfLandscapebooleanPDF landscape orientation. Only used when format='pdf'.
pdfMarginobjectPDF page margins. Only used when format='pdf'. Accepts CSS values.
pdfPrintBackgroundbooleanPrint background colors/images in PDF. Default: true
pdfScalenumberPDF scale factor (0.1-2). Default: 1
qualityintegerImage quality 1-100 (JPEG/WebP only, ignored for PNG/PDF)
resizeHeightintegerDownscale the captured image to this height in pixels (16-2160). Aspect ratio is preserved if resizeWidth is omitted. Ignored for PDF.
resizeWidthintegerDownscale the captured image to this width in pixels (16-3840). Aspect ratio is preserved if resizeHeight is omitted. Ignored for PDF.
selectorstringCSS selector of a specific element to capture instead of the full page. Useful for OG images, component extraction (e.g. '#hero', '.pricing-card')
timeoutintegerMaximum seconds to wait for page load (5-60). Cloudflare has a 60s hard cap.
urlstringThe webpage URL to capture (a schemeless host like 'example.com' is accepted). Mutually exclusive with 'html' and 'markdown'.
userAgentstringOverride the browser user agent string.
waitForSelectorstringCSS selector to wait for before capture. Essential for SPAs (e.g. '.main-content', '#app-loaded')
waitUntilstringPage readiness event. networkidle2 (default) is best for most sites. Use domcontentloaded for speed, networkidle0 for completeness.
widthintegerViewport width in pixels (320-3840)

rendex_extract Extract Reader-Mode Content

Use this when the user asks to read, extract, get the text/content/article of, or summarize a webpage/URL. Do NOT use for a visual screenshot (use rendex_screenshot). Extracts clean reader-mode content from any webpage as Markdown, JSON, or HTML. Runs the same Chromium render pass as a screenshot, so it captures content after JavaScript runs — handles SPAs that fetch-only readers miss. Strips nav, ads, and boilerplate, returning the article body plus title, byline, and excerpt. Great for feeding page content to an LLM, summarization, or RAG ingestion. Costs 1 render credit per call.

ParameterTypeDescription
url *stringThe webpage URL to extract readable content from (a schemeless host like 'example.com' is accepted).
blockAdsbooleanBlock ads and trackers before extraction
blockCookieBannersbooleanHide common cookie/consent walls (GDPR/CCPA banners) before extraction. A curated selector list, lighter than custom hideSelectors.
devicestringDevice preset that sets viewport, scale factor, and user agent in one shot. E.g. 'iphone_15' to extract the mobile version of a page.
extractFormatstringOutput shape — markdown (default, LLM-friendly prose), json (structured fields: title/byline/excerpt/siteName/length), or html (cleaned reader-mode HTML).
hideSelectorsarrayCSS selectors to hide (display:none) before extraction. E.g. ['.modal', '#newsletter-popup'] to remove overlays. Max 50 selectors.
timeoutintegerMaximum seconds to wait for page load (5-60). Cloudflare has a 60s hard cap.
waitUntilstringPage readiness event. networkidle2 (default) is best for most sites. Use domcontentloaded for speed, networkidle0 for completeness.

render_artifact Render Branded Artifact (PDF + PNG)

Use this when the user asks to make or create a branded report, invoice, summary, release notes, or document — or to 'turn this Markdown/HTML into a PDF and PNG' (optionally with a logo or accent color). Do NOT use to screenshot an existing URL (use rendex_screenshot). Turns Markdown or HTML into a branded, downloadable artifact — a PDF, a PNG, and a hosted share page — in one call. Apply a logo, accentColor, font, header, and footer. Returns hosted URLs { pdfUrl, pngUrl, shareUrl, expiresAt }. Each requested format costs 1 render credit.

ParameterTypeDescription
content *stringThe Markdown or HTML body to render (up to ~4MB).
accentColorstringCSS accent color for the bar, links, and headings (e.g. '#EA580C').
dataobjectOptional Mustache data. When present, content is rendered as a logic-less Mustache template (plus the branding fields as {{logo}}/{{header}}/...) before conversion.
expiresInintegerSeconds until the hosted URLs expire (3600-2592000). Default 86400 (24h).
fontstringCSS font-family stack for the body (e.g. 'Georgia, serif').
footerstringPlain-text footer line shown at the bottom.
formatsarrayWhich formats to produce. Each costs 1 credit. Default both.
headerstringPlain-text header line shown beside the logo.
inputFormatstringHow to interpret content. 'markdown' is converted to styled HTML; 'html' is used as a body fragment.
logostringAbsolute http(s) URL of a logo image shown in the header.
pageSetupobjectOptional paper/viewport setup.

rendex_account Check Plan & Usage

Check the Rendex account: which plan it's on, how many render credits have been used vs. the monthly limit (and when it resets), the per-minute rate limit, and a one-tap link to upgrade to a higher tier. Use this whenever the user asks about their usage, remaining quota, current plan, or how to get more renders / stop hitting limits. Read-only — costs no credits.

watch_create Create Watch

Use this when the user asks to monitor, watch, or track a webpage for changes, or to be alerted/notified when a page changes. Do NOT use for a one-time capture (use rendex_screenshot). Creates a Rendex Watch — monitors a URL on a schedule and notifies when it changes (real-Chrome visual diff with a highlighted overlay, an extracted-text diff, or both). An active watch captures its baseline immediately. Returns the created watch as JSON.

ParameterTypeDescription
url *stringThe page to monitor (a schemeless host like 'rendex.dev/pricing' is upgraded to https).
aiSummarybooleanPro+ — attach a one-sentence AI 'what changed' summary to each detected change.
diffModestringHow changes are detected. Default 'both' = a pixel diff (with a highlighted overlay) AND a FULL-PAGE text diff, alerting on either — catches any change, visual or text. 'visual' or 'text' narrow to…
intervalMinutesintegerCheck frequency in minutes. Minimum is your plan's floor — Free 1440 (daily), Starter 180, Pro 30, Enterprise 5.
namestringOptional label for the watch.
notifyEmailstringAny plan — send change alerts here. Must be your OWN account email (others are rejected). Defaults to it if omitted.
pausedbooleanCreate the watch paused (no baseline capture or charge until resumed).
renderParamsobjectRender knobs applied on every check (a subset of the screenshot capture params).
thresholdnumberVisual sensitivity (0..1). Low (default 0.01) alerts on ANY change, including a small one on a long page (a changed-region test, not a whole-page pixel ratio). 0.06+ = only MAJOR visual changes (whole…
webhookUrlstringStarter+ — HMAC-signed change-webhook target.

watch_test Test Watch Config (dry-run)

Dry-run a watch config BEFORE creating it — render the proposed config once and report what was captured + whether the page is reachable (and the text a text-watch would compare). Creates no watch, no baseline, no diff. Use this to validate a selector/scope/identity first. Returns JSON.

ParameterTypeDescription
url *stringThe page to monitor (a schemeless host like 'rendex.dev/pricing' is upgraded to https).
aiSummarybooleanPro+ — attach a one-sentence AI 'what changed' summary to each detected change.
diffModestringHow changes are detected. Default 'both' = a pixel diff (with a highlighted overlay) AND a FULL-PAGE text diff, alerting on either — catches any change, visual or text. 'visual' or 'text' narrow to…
intervalMinutesintegerCheck frequency in minutes. Minimum is your plan's floor — Free 1440 (daily), Starter 180, Pro 30, Enterprise 5.
namestringOptional label for the watch.
notifyEmailstringAny plan — send change alerts here. Must be your OWN account email (others are rejected). Defaults to it if omitted.
pausedbooleanCreate the watch paused (no baseline capture or charge until resumed).
renderParamsobjectRender knobs applied on every check (a subset of the screenshot capture params).
thresholdnumberVisual sensitivity (0..1). Low (default 0.01) alerts on ANY change, including a small one on a long page (a changed-region test, not a whole-page pixel ratio). 0.06+ = only MAJOR visual changes (whole…
webhookUrlstringStarter+ — HMAC-signed change-webhook target.

watch_list List Watches

List your watches (newest first), optionally filtered by status and paged. Returns { items, nextCursor }.

ParameterTypeDescription
cursorstringPagination cursor from a previous nextCursor.
limitintegerPage size (1–100).
statusstringFilter by status.

watch_get Get Watch

Fetch one watch by ID, including its current baseline image URL and status. Returns JSON.

ParameterTypeDescription
id *stringThe watch ID (UUID).

watch_run Run Watch Now

Run an immediate check now (charges 1 credit). Returns the queued run; poll watch_runs for the result or receive a watch.changed webhook.

ParameterTypeDescription
id *stringThe watch ID (UUID).

watch_runs List Watch Runs

Read a watch's run history (newest first), paged. Each run includes changed, diffScore, and signed before/after/overlay image URLs. Returns { items, nextCursor }.

ParameterTypeDescription
id *stringThe watch ID (UUID).
cursorstringPagination cursor from a previous nextCursor.
limitintegerPage size (1–100).

watch_delete Delete Watch

Delete a watch and its run history. Irreversible.

ParameterTypeDescription
id *stringThe watch ID (UUID).

watch_update Update Watch

Update a watch in place — pause/resume (paused), re-point (url), change schedule/diff/notify settings, or turn a channel off (webhookUrl/notifyEmail = null). Only the fields you send change; renderParams is deep-merged over the existing config. A scope change (url/selector/fullPage/size/device) re-baselines on the next check. Returns the updated watch as JSON.

ParameterTypeDescription
id *stringThe watch ID (UUID) to update.
aiSummarybooleanPro+ — toggle the one-sentence AI 'what changed' summary on each detected change.
diffModestringChange what counts as a change.
intervalMinutesintegerNew check frequency in minutes (subject to your plan's floor).
nameRename the watch (null to clear).
notifyEmailSet the alert email (your account email only); null to turn it off.
pausedbooleantrue to pause the watch, false to resume.
renderParamsobjectRender knobs to deep-merge over the existing capture config.
thresholdnumberChange the visual-change noise floor (0..1).
urlstringRe-point to a new URL (clears the baseline; the next check re-baselines).
webhookUrlStarter+ — set or replace the change-webhook target; null to turn it off.