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.
npx skills add raphy78626/screenshot-api --skill screenshot-api-mcpgit clone --depth 1 https://github.com/raphy78626/screenshot-apiWrote 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.
[](https://agentmods.dev/skills/raphy78626/screenshot-api/screenshot-api-mcp)<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.
<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>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.
| Model | Per session | Once 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 |
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 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 chromiumif 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) |
Recommended Workflows
1. Deployment & Landing Page Visual QA
- Call
describe_page(url)first to confirm the page loads, check<title>,<h1>, and meta description, and inspect the above-the-fold screenshot. - Check mobile responsiveness with
take_screenshot(url, width=390, full_page=true). - Check desktop full-page layout with
take_screenshot(url, width=1440, full_page=true). - 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_pageortake_screenshotover 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 runsplaywright-extrawith stealth evasion.
3. Archiving a Page as PDF
- Call
capture_pdf(url)to generate an A4 PDF with background styles preserved. - The tool returns a base64
data:application/pdfresource along with the file size in KB.
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.
- 10d ago First seen · 57 lines · 67 tokens per session scan C c32d9e223e80
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.
screenshot-api-mcp compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| screenshot-api-mcpraphy78626/screenshot-api | Skill | 0 | 2d ago | MIT | C | 67 | Claude Code, Codex |
| n8n-binary-and-dataczlonkowski/n8n-mcp | Skill | 23k | 2d ago | MIT | A | 135 | Claude Code, Codex |
| markdown-to-pdfstaskh/trading_skills | Skill | 425 | today | MIT | A | 45 | Claude Code |
| km-content-extractiontreylom/knowledge-manager | Skill | 263 | 7d ago | MIT | A | 57 | Claude Code |
| thumbnail-of-pptxpamelafox/presentation-skills | Skill | 131 | 23d ago | MIT | A | 111 | Claude Code |
| pdf-recipedieter-medium/bidi2pdf | Skill | 58 | 6d ago | MIT | A | 77 | Claude Code |
| svg-presskdcube/kdcube | Skill | 27 | yesterday | MIT | A | 87 | Claude Code |