screenshot-api-mcp

screenshot-api-mcp is a skill for Claude Code, Codex from raphy78626/screenshot-api. It costs 67 tokens per session (782 once invoked), scanned C, original, MIT.

A local MCP server that lets coding agents view public web pages, read page summaries, take screenshots, and save pages as A4 PDFs. MCP is a way for an agent to use an external tool through a standard connection.

In plain words
What is it for?
It helps verify deployments, check responsive layouts, inspect single-page apps, and archive public pages as PDFs through Playwright, a browser automation library.
Why use it?
It lets an agent inspect what a live, JavaScript-rendered page actually looks like instead of relying only on its source code.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps verify deployments, check responsive layouts, inspect single-page apps, and archive public pages as PDFs through Playwright, a browser automation library.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/raphy78626/screenshot-api/screenshot-api-mcp
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add raphy78626/screenshot-api --skill screenshot-api-mcp
Clone the repo
git clone --depth 1 https://github.com/raphy78626/screenshot-api

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for screenshot-api-mcp

README.md
[![agentmods](https://agentmods.dev/badge/skills/raphy78626/screenshot-api/screenshot-api-mcp/github.svg)](https://agentmods.dev/skills/raphy78626/screenshot-api/screenshot-api-mcp)
Your own site
<a href="https://agentmods.dev/skills/raphy78626/screenshot-api/screenshot-api-mcp"><img src="https://agentmods.dev/badge/skills/raphy78626/screenshot-api/screenshot-api-mcp/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for screenshot-api-mcp

Your own site · 80×15
<a href="https://agentmods.dev/skills/raphy78626/screenshot-api/screenshot-api-mcp"><img src="https://agentmods.dev/badge/skills/raphy78626/screenshot-api/screenshot-api-mcp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 782 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.00782
Opus 5.5 $0.00027 $0.00313
Sonnet 5.5 $0.00013 $0.00156
Haiku 4.5 $0.00007 $0.00078

Measured 10d ago against content hash c32d9e223e80, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

screenshot-api-mcp scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Cloud metadata endpointhighServer-side request forgery

One request to 169.254.169.254 can return temporary IAM credentials.

- **Public URLs only (SSRF protected):** `localhost`, `127.0.0.1`, RFC1918 private IPs (`10.x`, `172.16-31.x`, `192.168.x`), and cloud metadata IPs (`169.254.169.254`) are blocked by design. Do not retry blocked internal
skills/screenshot-api-mcp/SKILL.md · 57 lines

How it starts

The opening of the file, as written. The whole thing — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Screenshot API MCP — Visual Eyes for AI Agents

Use this skill whenever an agent needs to see a live public webpage, inspect a JS-rendered UI, verify a deployment, or archive a URL as a PDF — instead of guessing from raw HTML.

Prerequisites & MCP Setup

Ensure the screenshot-api-mcp server is configured in the user's MCP client:

{
  "mcpServers": {
    "screenshot-api": {
      "command": "npx",
      "args": ["-y", "screenshot-api-mcp"]
    }
  }
}
  • Requires Node.js and Chromium installed for Playwright (npx playwright install chromium if missing on first run).
  • Runs locally over stdio — no external API key or third-party account required.

Choosing the Right Tool

Goal Tool Key Arguments
Quick visual + text understanding in one round-trip describe_page url, width (default 1280)
Visual QA, layout check, or full-page capture take_screenshot url, format (png | jpeg), width (320–3840), full_page (true | false)
Printable report or compliance/page archive capture_pdf url (renders A4 PDF with printBackground: true)

1. Deployment & Landing Page Visual QA

  1. Call describe_page(url) first to confirm the page loads, check <title>, <h1>, and meta description, and inspect the above-the-fold screenshot.
  2. Check mobile responsiveness with take_screenshot(url, width=390, full_page=true).
  3. Check desktop full-page layout with take_screenshot(url, width=1440, full_page=true).
  4. Report concrete visual issues (clipped text, overflow, broken hero contrast, missing elements) rather than generic praise.

2. Inspecting JS-Rendered SPAs & Protected Pages

  • Prefer describe_page or take_screenshot over plain HTTP fetch when the target site relies on client-side rendering (React, Next.js, Vue) or blocks naive scrapers.
  • The server waits for networkidle (20s timeout) and runs playwright-extra with stealth evasion.

3. Archiving a Page as PDF

  1. Call capture_pdf(url) to generate an A4 PDF with background styles preserved.
  2. The tool returns a base64 data:application/pdf resource along with the file size in KB.

Read the full file on GitHub · 57 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 57 lines · 67 tokens per session scan C c32d9e223e80

Subscribe to this mod's changes

screenshot-api-mcp is a skill published in the GitHub repository raphy78626/screenshot-api (0 stars, last pushed 2d ago), licensed MIT. It adds 67 tokens to every session and 782 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (cloud metadata endpoint). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-20.

Related

screenshot-api-mcp compared with skills from other repositories

screenshot-api-mcp next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
screenshot-api-mcpraphy78626/screenshot-apiSkill02d agoMITC67Claude Code, Codex
n8n-binary-and-dataczlonkowski/n8n-mcpSkill23k2d agoMITA135Claude Code, Codex
markdown-to-pdfstaskh/trading_skillsSkill425todayMITA45Claude Code
km-content-extractiontreylom/knowledge-managerSkill2637d agoMITA57Claude Code
thumbnail-of-pptxpamelafox/presentation-skillsSkill13123d agoMITA111Claude Code
pdf-recipedieter-medium/bidi2pdfSkill586d agoMITA77Claude Code
svg-presskdcube/kdcubeSkill27yesterdayMITA87Claude Code