# User0856/snaprender-mcp [Health: Active]

**Category:** 📂 Browser Automation  
**Repository:** https://github.com/User0856/snaprender-integrations/tree/main/mcp-server  
**GitHub Stars:** 3  
**npm Downloads (last month):** 918  
**Views:** 4  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/user0856-snaprender-mcp

## Description
Screenshot API for AI agents — capture any website as PNG, JPEG, WebP, or PDF with device emulation, dark mode, ad blocking, and cookie banner removal. Free tier included.

## Tools
Capabilities this server exposes over MCP:

- **take_screenshot** — Capture a screenshot of a website URL, raw HTML, or Markdown content. Provide exactly one of: url, html, or markdown. Returns the image as a PNG, JPEG, WebP, or PDF. Supports device emulation (iPhone, Pixel, iPad), dark mode, ad blocking, cookie banner removal, full-page capture, and custom viewports.
- **check_screenshot_cache** — Check if a screenshot is already cached without capturing a new one. Does not count against your quota. Pass the same parameters you would use for take_screenshot so the cache key matches correctly.
- **sign_screenshot_url** — Generate a signed URL for a screenshot that can be used without an API key. Useful for embedding screenshots in emails, documents, or sharing with third parties. Signing is free, rendering the URL consumes one credit. URLs expire after the specified duration.
- **extract_content** — Extract content from a web page. Returns structured data based on the extraction type. Supports: markdown (readable content), text (plain text), html (raw HTML), article (structured with title/author/excerpt), links (all page links), metadata (OG tags, title, description).
- **batch_screenshots** — Create a batch screenshot job for multiple URLs (1-50). Returns immediately with a job ID. Use get_batch_status to poll for results (wait 2-5 seconds between polls). All URLs share the same screenshot options. Each URL consumes one credit; failed URLs get credits rolled back.
- **get_batch_status** — Get the status of a batch screenshot job. Poll this until status is 'completed' or 'failed' (wait 2-5 seconds between polls). Completed items include presigned download URLs valid for 24 hours.
- **list_webhooks** — List all webhook subscriptions on your account. Returns webhook IDs, URLs, subscribed events, and creation dates.
- **create_webhook** — Create a webhook subscription for event notifications. Events: screenshot.completed (batch job done), quota.warning (80% used), quota.exceeded (100% used), capture.completed and change.detected (scheduled captures). Max 5 webhooks per account. Payloads are signed with HMAC-SHA256. Save the returned secret to verify signatures.
- **delete_webhook** — Delete a webhook subscription by ID. This cannot be undone.
- **test_webhook** — Send a test payload to a webhook endpoint to verify it receives events correctly. Returns the delivery status and HTTP response code.
- **get_usage** — Get current month's screenshot usage statistics including screenshots used, limit, and remaining quota.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "snaprender-mcp": {
    "command": "npx",
    "args": ["-y","snaprender-mcp"],
    "env": {
      "SNAPRENDER_API_KEY": ""
    }
  }
}
```

**Requires environment variables:** `SNAPRENDER_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What User0856/snaprender-mcp does

User0856/snaprender-mcp exposes the SnapRender Screenshot API through the Model Context Protocol. Agents can capture a URL, raw HTML, or Markdown document and receive a rendered image or PDF. Capture options include PNG, JPEG, WebP, and PDF output; custom viewport dimensions; full-page rendering; device presets for phones, tablets, and laptops; dark mode; ad blocking; cookie-banner removal; delayed capture; CSS selector hiding; and clicking a selector before rendering.

The server also provides page extraction in Markdown, plain text, raw HTML, article structure, links, or metadata such as title, description, and Open Graph tags. This makes it useful for agents that need both a visual representation and machine-readable page content.

## How it works

Two connection modes are available. Local mode launches the published `snaprender-mcp` npm package with `npx` and communicates over stdio. Hosted mode connects to `https://app.snap-render.com/mcp` using Streamable HTTP, avoiding a local installation. Hosted authentication supports OAuth 2.0 Authorization Code with PKCE for compatible clients, or an API key supplied through a bearer authorization header or `X-API-Key`.

Single captures consume screenshot usage. Before capturing, `check_screenshot_cache` can determine whether a matching result already exists without using quota; its parameters should match the intended capture. For multiple pages, `batch_screenshots` accepts 1–50 URLs and returns a job ID. Poll `get_batch_status` every 2–5 seconds until completion or failure; completed results include presigned download URLs valid for 24 hours.

## Setup and configuration

For local use, configure an MCP client to run:

```json
{
  "command": "npx",
  "args": ["-y", "snaprender-mcp"],
  "env": { "SNAPRENDER_API_KEY": "sk_live_your_key_here" }
}
```

`SNAPRENDER_API_KEY` is required. `SNAPRENDER_URL` optionally changes the API base URL and defaults to `https://app.snap-render.com`. Claude Desktop uses its MCP configuration file; Claude Code uses a project `.mcp.json` file. For remote use, configure the hosted MCP URL and authenticate with OAuth or an API key.

## Tools and capabilities

- `take_screenshot` renders one URL, HTML document, or Markdown input.
- `extract_content` returns selected structured or textual page data.
- `check_screenshot_cache` checks for an existing matching capture.
- `sign_screenshot_url` creates an expiring URL usable without an API key; rendering it consumes one credit.
- `batch_screenshots` and `get_batch_status` handle asynchronous captures for up to 50 URLs.
- `list_webhooks`, `create_webhook`, `delete_webhook`, and `test_webhook` manage event subscriptions. Accounts can have up to five webhooks, whose payloads use HMAC-SHA256 signatures.
- `get_usage` reports screenshots used, the account limit, and remaining quota for a month.

## Limitations and notes

Capture options shared by a batch apply to every URL in that job. Failed batch URLs have their credits returned. Signed URLs expire after the requested duration, and batch download URLs expire after 24 hours. The service logs submitted URLs temporarily for debugging and abuse prevention, and caches screenshots according to plan settings until the cache lifetime ends. A free account includes 200 screenshots per month without requiring a credit card.

_Full upstream README: https://allmcps.com/mcp/user0856-snaprender-mcp/readme_

