About CaptureKit
CaptureKit is an MCP server for the CaptureKit screenshot API, for clients that capture or inspect website content. It can produce screenshots and PDFs, extract structured page data, crawl raw HTML, and analyze pages with AI.
Key features
- 01Capture PNG, JPEG, WebP, or PDF
- 02Extract structured page content
- 03Fetch raw HTML with crawler
- 04Analyze pages with AI
- 05View account usage and service stats
Use cases
- 01Create website screenshots for reports
- 02Extract page metadata and links
- 03Inspect webpage content with AI
MCP support
Exposes CaptureKit API operations as tools for MCP clients, including capture, content extraction, crawling, and analysis. Supports stdio and Streamable HTTP, hosted or self-hosted.
Configuration
Remote servers need no local install. Pick your client, then copy the config or install in one click.
https://mcp.capturekit.dev/claude mcp add --transport http dev-capturekit https://mcp.capturekit.dev/{"mcpServers":{"dev-capturekit":{"type":"http","url":"https://mcp.capturekit.dev/"}}}Open in Cursor{"servers":{"dev-capturekit":{"type":"http","url":"https://mcp.capturekit.dev/"}}}Open in VS Code{"mcpServers":{"dev-capturekit":{"type":"http","url":"https://mcp.capturekit.dev/"}}}{"mcpServers":{"dev-capturekit":{"serverUrl":"https://mcp.capturekit.dev/"}}}Run commands in a terminal; paste JSON into the client’s MCP config and restart. Servers that need sign-in will prompt on first connect.
https://mcp.capturekit.dev/Auth requiredTools
Details
From the project READMECaptureKit MCP Server
Official Model Context Protocol server for the CaptureKit screenshot API.
Capture websites as PNG, JPEG, WebP or PDF, extract their content, or analyse them with AI.
It lets Claude, Cursor, VS Code, Windsurf and any MCP client call the API as tools. Runs over stdio (local) or Streamable HTTP (self-hosted).
Requirements
Hosted server (recommended)
CaptureKit runs this server for you at https://mcp.capturekit.dev/ (Streamable HTTP). Send your API key in the x-api-key header; nothing to install.
claude mcp add --transport http capturekit https://mcp.capturekit.dev/ --header "x-api-key: YOUR_API_KEY"
{
"mcpServers": {
"capturekit": {
"url": "https://mcp.capturekit.dev/",
"headers": {
"x-api-key": "YOUR_API_KEY"
}
}
}
}
The hosted server and this package expose the same API; run the package locally when you want stdio, your own network egress, or to self-host it.
Run it locally
Claude Code
claude mcp add capturekit --env CAPTUREKIT_API_KEY=YOUR_API_KEY -- npx -y @capturekitdev/mcp
Claude Desktop, Cursor, Windsurf and other clients
Add the server to the client's MCP configuration (claude_desktop_config.json, .cursor/mcp.json…):
{
"mcpServers": {
"capturekit": {
"command": "npx",
"args": ["-y", "@capturekitdev/mcp"],
"env": {
"CAPTUREKIT_API_KEY": "YOUR_API_KEY"
}
}
}
}
VS Code
{
"servers": {
"capturekit": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@capturekitdev/mcp"],
"env": {
"CAPTUREKIT_API_KEY": "${input:capturekit-api-key}"
}
}
},
"inputs": [
{
"type": "promptString",
"id": "capturekit-api-key",
"description": "CaptureKit API key",
"password": true
}
]
}
Claude Desktop extension
Download the .mcpb bundle from the releases page and open it; Claude Desktop asks for your API key.
Docker
docker build -t capturekit-mcp .
docker run -i --rm -e CAPTUREKIT_API_KEY=YOUR_API_KEY capturekit-mcp
Tools
| Tool | Description |
|---|---|
analyze | AI Content API analyzes any webpage and returns AI insights summary, value proposition, features, categories, use cases, and optional contact signals. |
capture | Browser-like Screenshot API that captures webpages as PNG/JPEG/WebP or PDF for previews, QA, reporting, monitoring, and archiving no headless setup. |
content | CaptureKit Content API extracts structured webpage data, metadata, links, HTML/Markdown: in one request for SEO, monitoring, indexing and automation. |
stats | Infrastructure health for an engine or endpoint over the last hour. Not scoped to your account or tenant. Enabled per account: HTTP 403 means contact support to activate it. |
usage | Retrieve real-time usage statistics and credit balance for your CaptureKit account. |
website_crawler | Website Crawler API fetches raw HTML from any webpage in request mode (no rendering) for fast scraping, audits, monitoring, and link/metadata extraction. |
Every tool that calls the API consumes credits. JSON results are returned as text; images are returned inline and other files (PDF…) as embedded resources, up to 4 MB.
Streamable HTTP
npx @capturekitdev/mcp --http --port 3000
The endpoint is POST /mcp (stateless, JSON responses). Each client sends its own key in the x-api-key header (or Authorization: Bearer <key>); the server never uses a key of its own. It binds to 127.0.0.1 by default and rejects browser origins unless you allow them — put it behind TLS before exposing it.
createHttpHandler() is exported for Fetch-compatible runtimes (Cloudflare Workers, Deno, Bun):
import { createHttpHandler } from "@capturekitdev/mcp";
export default { fetch: createHttpHandler({ allowedOrigins: [] }) };
Security
- The API key is read from
CAPTUREKIT_API_KEY(stdio) or the request headers (HTTP) and removed from error messages. - Content fetched from websites is untrusted: the server instructions tell the model to treat it as data, not instructions.
- See SECURITY.md to report a vulnerability.
Development
npm install
npm test
npm run build
npx @modelcontextprotocol/inspector node dist/stdio.js
Built on the SDK
The server uses the official Node.js SDK (@capturekitdev/sdk).
All CaptureKit SDKs
| SDK | Package | Install |
|---|---|---|
| Node.js | @capturekitdev/sdk | npm install @capturekitdev/sdk |
| Python | capturekitdev | pip install capturekitdev |
| Go | capturekit-go | go get github.com/capturekitdev/capturekit-go |
| .NET | CaptureKit | dotnet add package CaptureKit |
| Ruby | capturekitdev | gem install capturekitdev |
| PHP | capturekitdev/sdk | composer require capturekitdev/sdk |
| Java | capturekit-java | build from source, see its README |
| CLI | @capturekitdev/cli | npm install -g @capturekitdev/cli |
| MCP server | @capturekitdev/mcp | npx -y @capturekitdev/mcp |
License
MIT — see LICENSE.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.