🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

urlsnap-mcp

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

urlsnap-mcp

MCP server for URLSnap — screenshot, PDF, and markdown extraction from any URL

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
39
62.5%
Maintainers
1
Weekly downloads
 
Created
Source

urlsnap-mcp

npm version license

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

ToolDescription
take_screenshotCapture any URL as a PNG/JPEG image
generate_pdfConvert any URL to a PDF document
extract_markdownExtract clean readable text from any page
check_usageView 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-mcp

Then 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

ParamTypeDefaultDescription
urlstringrequiredURL to capture
widthnumber1280Viewport width in pixels
heightnumber800Viewport height in pixels
fullPagebooleanfalseCapture full scrollable page
delaynumber0Wait ms after load (for JS-heavy pages)
formatstring"png"Output format: "png" or "jpeg"

generate_pdf

ParamTypeDefaultDescription
urlstringrequiredURL to convert
formatstring"A4"Page format: "A4", "Letter", "Legal"
landscapebooleanfalseLandscape orientation
delaynumber0Wait ms after load

extract_markdown

ParamTypeDefaultDescription
urlstringrequiredURL to extract content from
delaynumber0Wait 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

PlanPriceRequests/day
Free$020
Starter$9/mo500
Pro$29/mo5,000

License

MIT

Keywords

mcp

FAQs

Package last updated on 13 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts