dev.getsnap/getsnap
Screenshots, PDFs, visual diffs and accessibility audits, returned inline so a model can see them
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
getsnap-mcpclaude mcp add getsnap -e 'GETSNAP_API_KEY=<your getsnap_api_key>' -- npx -y getsnap-mcp@1.14.5
{
"mcpServers": {
"getsnap": {
"command": "npx",
"args": [
"-y",
"getsnap-mcp@1.14.5"
],
"env": {
"GETSNAP_API_KEY": "<your getsnap_api_key>"
}
}
}
}
متغيرات البيئة
GETSNAP_API_KEYإلزامي سري getSnap.dev API key. Free tier is 100 captures a month at https://getsnap.dev
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
getsnap-mcp
Official MCP server for getSnap.dev. Gives Claude and other agents the ability to capture a web page, compare two pages and audit one for accessibility.
The capture tools return the image itself, not a link to it. A model can look at the page it just asked for, so "screenshot this and tell me what's broken" works in a single turn.
Install
No install step. Your client runs it with npx.
Get a free API key at getsnap.dev — 100 captures a month, no card.
Claude Code
claude mcp add getsnap --env GETSNAP_API_KEY=sk_live_... -- npx -y getsnap-mcp
Claude Desktop
claude_desktop_config.json:
{
"mcpServers": {
"getsnap": {
"command": "npx",
"args": ["-y", "getsnap-mcp"],
"env": { "GETSNAP_API_KEY": "sk_live_..." }
}
}
}
The same block works in any client that speaks MCP over stdio.
Tools
| Tool | Credits | Returns |
|---|---|---|
capture_screenshot | 1 | The image, inline |
capture_pdf | 1 | A link — a PDF can't be shown to a model |
compare_pages | 2 | Similarity score + the diff overlay, inline |
audit_accessibility | 1 | WCAG violations by severity |
check_usage | 0 | Credits used and remaining |
Cookie banners and ad overlays are removed by default on captures. Cached responses cost nothing and say so.
Things worth knowing
Large images are not inlined. Past about 1.5 MB the capture still
happened and is still on the CDN, so the tool returns the link and says
why. A full_page capture of a long page will usually hit this — pass
format: "jpeg" or full_page: false to get it inline instead.
Every capture spends a credit, so each tool description states its cost. An agent deciding whether to call something should be able to see what it will cost before it does.
compare_pages costs 2, because it launches a browser per URL.
Configuration
| Variable | Required | Default |
|---|---|---|
GETSNAP_API_KEY | yes | — |
GETSNAP_BASE_URL | no | https://api.getsnap.dev |
Without a key the server exits immediately with a message explaining where to get one, rather than starting and failing on first use.
Examples
Once connected, ask your agent in plain language:
- "Screenshot stripe.com on mobile and tell me if anything overlaps."
- "Compare our staging site against production and show me what moved."
- "Audit example.com for accessibility and list the critical failures."
- "How many getSnap credits do I have left?"
Links
Versioning
This package versions independently of the getSnap REST API and the Node and Python SDKs. It shared their number until 1.14.3, when it moved out of the API monorepo into this repository; from here it moves on its own schedule.
MIT licensed. Issues to support@getsnap.dev.
الأسئلة الشائعة
ما هو dev.getsnap/getsnap؟
Screenshots, PDFs, visual diffs and accessibility audits, returned inline so a model can see them
كيف أثبّت dev.getsnap/getsnap؟
يعمل على جهازك. في Claude Code: claude mcp add getsnap -e 'GETSNAP_API_KEY=<your getsnap_api_key>' -- npx -y getsnap-mcp@1.14.5. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج dev.getsnap/getsnap إلى مفتاح API؟
نعم. يتطلب GETSNAP_API_KEY، وتضبطها في إعداداته.
هل dev.getsnap/getsnap مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون dev.getsnap/getsnap؟
ينشره rokas-kve. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.