Repository avatar
AI Tools
v1.0.0
active

renderforge

io.github.PappyDev/renderforge

Headless Chromium web-to-Markdown, document OCR, HTML-to-PDF, and website screenshot MCP server.

Documentation

RenderForge — Headless Web to Markdown, Document OCR, HTML-to-PDF & Screenshot API + MCP Server

Live API MCP Streamable HTTP RenderForge Web & Document Engine MCP connector – tool definition quality and endpoint health on Glama License: MIT

All-in-one headless Chromium and document conversion engine built for AI agents, RAG pipelines, n8n/Make workflows, and SaaS backends.


Capabilities & Endpoints

All endpoints accept both POST (JSON body) and GET (query parameters) and require authentication via X-API-Key: <key> or Authorization: Bearer <key> (except /health).

CapabilityEndpointCreditsDescription
Webpage → MarkdownPOST / GET /v1/url-to-markdown1Renders JavaScript-heavy pages in headless Chromium, strips boilerplate, and returns clean Markdown, page title, word count, and estimated token count.
Document / Image → Markdown (OCR)POST / GET /v1/doc-to-markdown2Extracts Markdown and tables from PDF, DOCX, XLSX, PPTX, HTML, TXT, CSV, PNG, JPEG, or WEBP files (multipart upload on POST, or public url) with automatic Tesseract OCR fallback.
HTML / URL → PDFPOST / GET /v1/html-to-pdf2Renders HTML/CSS or public webpage URLs into print-ready PDFs (configurable paper size, margins, scale, landscape, and raw binary or base64 JSON response).
Website Screenshot / OG ImagePOST / GET /v1/screenshot1Captures viewport or full-page png, jpeg, or webp screenshots of any public URL or raw HTML markup (raw binary or base64 JSON response).
Account Credit UsageGET /v1/usage0Returns current plan, rate limit, monthly credit allowance, used credits, and reset timestamp.
Service HealthGET /health0Unauthenticated readiness check for API, Redis, Gotenberg, and Chromium.

Model Context Protocol (MCP) Server

RenderForge exposes a hosted Streamable HTTP MCP server at:

https://edge.lonestarrust.com/mcp

Available MCP Tools:

  • url_to_markdown — Convert any public URL to clean Markdown via headless Chromium
  • doc_to_markdown — Extract Markdown (with OCR) from PDF, DOCX, XLSX, PPTX, or image URLs
  • html_to_pdf — Render HTML/CSS or a public URL into a base64 PDF
  • website_screenshot — Capture a PNG/JPEG/WEBP screenshot or HTML social preview image

Claude Desktop / Cursor / Windsurf / Antigravity Config

Copy mcp.json into your MCP client configuration and replace YOUR_RENDERFORGE_API_KEY:

{
  "mcpServers": {
    "renderforge": {
      "url": "https://edge.lonestarrust.com/mcp",
      "headers": {
        "X-API-Key": "YOUR_RENDERFORGE_API_KEY"
      }
    }
  }
}

REST Quickstart

Ready-to-run client scripts live in examples/:

export RENDERFORGE_API_KEY="YOUR_RENDERFORGE_API_KEY"

curl -sS -X POST https://edge.lonestarrust.com/v1/url-to-markdown \
  -H "Content-Type: application/json" \
  -H "X-API-Key: $RENDERFORGE_API_KEY" \
  -d '{"url": "https://example.com", "main_content_only": true}'

Get an API Key & Supported Marketplaces

Choose whichever billing platform fits your stack:


Security & Limits

  • SSRF Protection: Only public HTTP and HTTPS URLs are permitted; localhost, private networks, and cloud metadata endpoints are rejected.
  • Upload / Download Cap: 20 MB max per document in /v1/doc-to-markdown.
  • Timeouts: Page navigation timeouts are configurable between 2,000 and 30,000 ms.

No installation packages available.