Getsnap

dev.getsnap由 getsnap.dev 發布v1.14.5更新於 Oct 31, 2026

Screenshots, PDFs, visual diffs and accessibility audits, returned inline so a model can see them

概覽

AI 產生的概覽

getSnap.dev 官方 MCP 伺服器,讓助理透過託管截圖 API 對網頁截圖、產生 PDF、做像素比對與無障礙稽核。

可以做什麼
  • 把網址截成內嵌圖片,可選整頁或手機/平板模擬,並預設移除 Cookie 橫幅與廣告浮層
  • 把網址轉成 PDF 並回傳檔案連結
  • 對兩個網址做逐像素比對,回傳相似度分數與標示變化的疊加圖
  • 對網址執行 axe-core 無障礙稽核,依嚴重程度回傳 WCAG 2.0/2.1/2.2 違規項目與對應元素
  • 查詢此 API 金鑰本期已用與剩餘額度
適用情境
適合需要助理真正「看到」網頁、而不只是讀 HTML 的情境:檢查行動版版面、比對預備環境與正式環境、列出無障礙問題。適用於用一張截圖或差異圖就能一次回答問題的視覺檢查與審查流程。
執行需求
以 stdio 在本機執行,由用戶端透過 npx 啟動,需要 Node.js 與網路連線。必須在 GETSNAP_API_KEY 環境變數提供 getSnap.dev API 金鑰,缺少時伺服器會立即結束。可用選用的 GETSNAP_BASE_URL 覆寫預設 API 位址。免費方案每月 100 次截圖。
安裝前請注意
每次截圖都會消耗金鑰額度:截圖、PDF 與稽核各 1 點,頁面比對 2 點;check_usage 免費。送出的網址會傳到 getSnap.dev 服務進行渲染。約 1.5 MB 以上的截圖不會內嵌,而是回傳 CDN 連結。請勿把 API 金鑰寫進共用的設定檔。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Getsnap,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

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

bash
claude mcp add getsnap --env GETSNAP_API_KEY=sk_live_... -- npx -y getsnap-mcp

Claude Desktop

claude_desktop_config.json:

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

ToolCreditsReturns
capture_screenshot1The image, inline
capture_pdf1A link — a PDF can't be shown to a model
compare_pages2Similarity score + the diff overlay, inline
audit_accessibility1WCAG violations by severity
check_usage0Credits 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

VariableRequiredDefault
GETSNAP_API_KEYyes—
GETSNAP_BASE_URLnohttps://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 [email protected].

來源:README.md,提交 0d21f09

工具

5

capture_screenshot

Capture a screenshot

Render a URL in a real browser and return the image, so you can see the page. Removes cookie banners and ad overlays by default. Costs 1 credit per call. Use full_page for the whole scrollable page, or device to emulate a phone or tablet.

輸入參數url必填delaydeviceformatfull_pagereturn_imageviewport_widthviewport_height

capture_pdf

Capture a page as PDF

Render a URL to PDF and return a link to it. Costs 1 credit per call. A PDF cannot be shown to you inline - use capture_screenshot if you need to read the page yourself.

輸入參數url必填delayfull_page

compare_pages

Compare two pages visually

Capture two URLs and compare them pixel by pixel. Returns a similarity score and an overlay image marking what changed, which you can look at. Costs 2 credits - it launches a browser per URL. Use for staging against production, or a page before and after a change.

輸入參數after_url必填full_pagethresholdbefore_url必填

audit_accessibility

Audit a page for accessibility problems

Run axe-core against a URL in a real browser and return WCAG 2.0/2.1/2.2 violations by severity, with the elements responsible. Costs 1 credit per call. Returns structured findings rather than an image, so you can act on them directly.

輸入參數url必填max_violations

check_usage

Check remaining credits

How many credits are used and remaining on this key this period. Free - spends no credit.

無需輸入參數。

版本歷史

1
  1. v1.14.5最新Oct 24, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分