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

webpeel

Package Overview
Dependencies
Maintainers
1
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpeel

The web data platform for AI agents — fetch, search, crawl, extract, monitor, screenshot. 55+ domain extractors, 65-98% token savings, MCP server included. One API call.

latest
Source
npmnpm
Version
0.22.0
Version published
Weekly downloads
143
-52.33%
Maintainers
1
Weekly downloads
 
Created
Source

WebPeel — Web data API for AI agents

npm version npm downloads GitHub stars License CI

The web data platform for AI agents — fetch, search, crawl, extract, monitor, screenshot, and research any URL.

Quick Start

npx webpeel "https://example.com"        # Clean markdown
npx webpeel search "AI trends 2025"       # Web search
npx webpeel crawl docs.example.com        # Crawl entire site

Get your free API key → · No credit card required · 500 requests/week free

Why WebPeel

  • 65–98% token savings — domain-specific extractors strip boilerplate, ads, and nav before content reaches your agent
  • 29 domain extractors — purpose-built parsers for Reddit, Wikipedia, GitHub, Hacker News, YouTube, ArXiv, Amazon, and 22 more
  • Zero-config Cloudflare bypass — 4-layer escalation stack handles TLS fingerprinting, edge proxying, and cache fallback automatically

Features

FeatureCommand / API
Fetch any URLwebpeel "url"
Web searchwebpeel search "query"
Crawl siteswebpeel crawl "url" --max-pages 50
Screenshotswebpeel screenshot "url"
Monitor changeswebpeel monitor "url" --interval 300
Browser actions--action 'click:.btn,wait:2000'
YouTube transcriptsauto-detected
PDF extractionauto-detected
MCP serverwebpeel mcp
Schema extractionPOST /v1/fetch with extract.schema
Research agentPOST /v1/agent
Smart searchPOST /v1/search/smart

MCP Integration

Give Claude, Cursor, or any MCP-compatible agent the ability to browse the web in one config change.

Claude Desktop (~/.claude/claude_desktop_config.json):

{
  "mcpServers": {
    "webpeel": {
      "command": "npx",
      "args": ["-y", "webpeel", "mcp"],
      "env": {
        "WEBPEEL_API_KEY": "wp_your_key_here"
      }
    }
  }
}

Cursor / VS Code (.cursor/mcp.json or .vscode/mcp.json):

{
  "mcpServers": {
    "webpeel": {
      "command": "npx",
      "args": ["-y", "webpeel", "mcp"],
      "env": {
        "WEBPEEL_API_KEY": "wp_your_key_here"
      }
    }
  }
}

Available MCP tools: webpeel_read, webpeel_find, webpeel_see, webpeel_extract, webpeel_monitor, webpeel_act, webpeel_crawl

Full MCP setup guide →

API Example

# Fetch any page — returns clean markdown + metadata
curl "https://api.webpeel.dev/v1/fetch?url=https://stripe.com/pricing" \
  -H "Authorization: Bearer $WEBPEEL_API_KEY"
{
  "url": "https://stripe.com/pricing",
  "markdown": "# Stripe Pricing\n\n**Integrated per-transaction fees**...",
  "metadata": {
    "title": "Pricing & Fees | Stripe",
    "tokens": 420,
    "tokensOriginal": 8200,
    "savingsPct": 94.9
  }
}

Full API reference →

Token Efficiency

WebPeel's 29 domain-specific extractors strip navigation, ads, sidebars, and boilerplate before sending content to your agent.

Site typeRaw HTML tokensWebPeel tokensSavings
News article18,00064096%
Reddit thread24,00089096%
Wikipedia page31,0002,10093%
GitHub README5,2001,80065%
E-commerce product14,00031098%

Less context used = lower costs + faster inference + longer agent chains.

Security

WebPeel is built with security-first principles:

  • Helmet.js headers — HSTS, X-Frame-Options, nosniff, XSS protection on all responses
  • Webhook signing — HMAC-SHA256 signatures on all outbound webhooks
  • Audit logging — every API call logged with IP, key, and action
  • GDPR compliantDELETE /v1/account for full data erasure
  • SSH hardened — Fail2Ban, MaxAuthTries, key-only auth on all infrastructure

Security policy →

  • 📖 Documentation — Guides, references, and examples
  • 💰 Pricing — Plans and limits
  • 📝 Blog — Tutorials, comparisons, and use cases
  • 📊 Status — Uptime and incidents
  • 🔒 Security — Security policy and disclosure
  • 📋 SLA — Uptime commitments

Contributing

Pull requests welcome! Please open an issue first to discuss major changes.

  • Fork the repo
  • Create your feature branch (git checkout -b feat/my-feature)
  • Commit your changes (git commit -m 'feat: add my feature')
  • Push to the branch (git push origin feat/my-feature)
  • Open a Pull Request

License

WebPeel SDK License — free for personal and commercial use with attribution. See LICENSE for full terms.

Get started free →

Keywords

web-scraper

FAQs

Package last updated on 26 Mar 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