urlsnap-mcp
v1.0.2
Published
MCP server for URLSnap — screenshot, PDF, and markdown extraction from any URL
Maintainers
Readme
urlsnap-mcp
MCP server for URLSnap — gives AI assistants the ability to take screenshots, generate PDFs, and extract markdown from any URL.
Works with Claude Desktop, Claude Code, Cursor, and any MCP-compatible client.
Tools
| Tool | Description |
|------|-------------|
| take_screenshot | Capture any URL as a PNG/JPEG image |
| generate_pdf | Convert any URL to a PDF document |
| extract_markdown | Extract clean readable text from any page |
| check_usage | View your API key plan and daily usage |
Quick Start
1. Get a free API key
Sign up at urlsnap.dev — free tier is 20 requests/day, no credit card required.
2. Add to Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"urlsnap": {
"command": "npx",
"args": ["-y", "urlsnap-mcp"],
"env": {
"URLSNAP_API_KEY": "your_api_key_here"
}
}
}
}3. Add to Claude Code
claude mcp add urlsnap -- npx -y urlsnap-mcpThen set URLSNAP_API_KEY in your environment.
4. Add to Cursor
Add to your MCP settings:
{
"mcpServers": {
"urlsnap": {
"command": "npx",
"args": ["-y", "urlsnap-mcp"],
"env": {
"URLSNAP_API_KEY": "your_api_key_here"
}
}
}
}Usage Examples
Once connected, you can ask your AI assistant:
- "Take a screenshot of stripe.com"
- "Convert this article to PDF: https://example.com/article"
- "Extract the content from this page and summarize it"
- "How many API requests have I used today?"
Tool Parameters
take_screenshot
| Param | Type | Default | Description |
|-------|------|---------|-------------|
| url | string | required | URL to capture |
| width | number | 1280 | Viewport width in pixels |
| height | number | 800 | Viewport height in pixels |
| fullPage | boolean | false | Capture full scrollable page |
| delay | number | 0 | Wait ms after load (for JS-heavy pages) |
| format | string | "png" | Output format: "png" or "jpeg" |
generate_pdf
| Param | Type | Default | Description |
|-------|------|---------|-------------|
| url | string | required | URL to convert |
| format | string | "A4" | Page format: "A4", "Letter", "Legal" |
| landscape | boolean | false | Landscape orientation |
| delay | number | 0 | Wait ms after load |
extract_markdown
| Param | Type | Default | Description |
|-------|------|---------|-------------|
| url | string | required | URL to extract content from |
| delay | number | 0 | Wait ms after load |
Why URLSnap?
- Works on protected sites — built-in proxy fallback handles Cloudflare, bot detection, and auth walls
- JavaScript rendering — Puppeteer-based, captures SPAs and dynamic content
- Fast — optimized for speed, typical response in 2-4 seconds
- Simple — one API key, four tools, no complex setup
Pricing
| Plan | Price | Requests/day | |------|-------|-------------| | Free | $0 | 20 | | Starter | $9/mo | 500 | | Pro | $29/mo | 5,000 |
Links
- urlsnap.dev — API docs & dashboard
- npm package
- Dashboard — manage your key & usage
License
MIT
