Agent Web Scraper MCP Server

Professional web scraping, screenshots, and content extraction via MCP

aparajithn/agent-scraper-mcp ↗by aparajithnupdated
1

Add it to Claude Code

claude mcp add --transport http agent-web-scraper https://agent-scraper-mcp.onrender.com/mcp
2

Make your agent remember this setup

agent-web-scraper's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.

npx conare@latest

Free · one command · indexes the sessions already on disk. Set up in the browser instead →

What it does

  • Clean content extraction to markdown or text
  • Structured data scraping using CSS selectors
  • Full-page or viewport screenshots via Playwright
  • Link extraction with regex filtering
  • Google search integration

Tools 3

scrape_urlExtract clean, readable content from any webpage.
scrape_structuredExtract specific data using CSS selectors.
screenshot_urlCapture a screenshot of any webpage.

Try it

Scrape the content of this URL and convert it into clean markdown: https://example.com/article
Extract the product title and price from this page using CSS selectors: https://example.com/product
Take a full-page screenshot of https://example.com and save it
Search Google for 'latest advancements in AI agents' and summarize the top results
Original README from aparajithn/agent-scraper-mcp

Agent Scraper MCP Server

The #1 most requested utility for AI agents — professional web scraping, screenshots, and content extraction via MCP + REST API.

Features

🌐 Clean Content Extraction — Extract readable text/markdown from any webpage (like Readability)
🎯 Structured Scraping — Extract specific data using CSS selectors
📸 Screenshots — Capture full-page or viewport screenshots with Playwright
🔗 Link Extraction — Get all links from a page with optional regex filtering
📋 Metadata Extraction — Extract title, description, Open Graph tags, favicon, etc
🔍 Google Search — Search Google and get results programmatically

Quick Start

MCP Configuration

Add to your MCP settings file (cline_mcp_settings.json or similar):

{
  "mcpServers": {
    "agent-scraper": {
      "url": "https://agent-scraper-mcp.onrender.com/mcp"
    }
  }
}

REST API

Base URL: https://agent-scraper-mcp.onrender.com

Scrape URL (Clean Content)
curl -X POST https://agent-scraper-mcp.onrender.com/api/v1/scrape_url \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com/article",
    "format": "markdown"
  }'

Response:

{
  "success": true,
  "url": "https://example.com/article",
  "title": "Article Title",
  "content": "# Article Title

Clean markdown content...",
  "format": "markdown"
}
Scrape Structured Data
curl -X POST https://agent-scraper-mcp.onrender.com/api/v1/scrape_structured \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com/product",
    "selectors": {
      "title": "h1.product-title",
      "price": ".price",
      "reviews": ".review-text"
    }
  }'

Response:

{
  "success": true,
  "url": "https://example.com/product",
  "data": {
    "title": "Product Name",
    "price": "$29.99",
    "reviews": ["Great product!", "Worth the money"]
  }
}
Screenshot URL
curl -X POST https://agent-scraper-mcp.onrender.com/api/v1/screenshot_url \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com",
    "width": 1280,
    "height": 720,
    "full_page": false
  }'

Response:

{
  "success": true,
  "url": "https://example.com",
  "image": "iVBORw0KGgoAAAANSUhEUgAA...",
  "width": 1280,
  "height": 720,
  "full_page": false
}
Extract Links
curl -X POST https://agent-scraper-mcp.onrender.com/api/v1/extract_links \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://example.com",
    "filter": "https://example.com/blog/.*"
  }'
Extract Metadata
curl -X POST https://agent-scraper-mcp.onrender.com/api/v1/extract_meta \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com"}'
Search Google
curl -X POST https://agent-scraper-mcp.onrender.com/api/v1/search_google \
  -H "Content-Type: application/json" \
  -d '{
    "query": "python web scraping",
    "num_results": 10
  }'

Pricing

Free Tier

  • 50 requests per IP per day
  • All tools included
  • No credit card required

Paid Tier (HTTP 402 Payment)

After free tier exhausted:

  • Scraping tools: $0.005/request (scrape_url, scrape_structured, extract_links, extract_meta, search_google)
  • Screenshot tool: $0.01/request (higher due to compute cost)

Payment via HTTP 402 with crypto wallet:

  • Wallet address: 0x8E844a7De89d7CfBFe9B4453E65935A22F146aBB
  • Include X-Payment header with payment proof

Tools Reference

1. `scrape_url`

Extract clean, readable content from any webpage (like Readability).

Parameters:

  • url (string, required): URL to scrape
  • format (string, optional): Output format — text, markdown, or html (default: markdown)

Returns: {success, url, title, content, format}


2. `scrape_structured`

Extract specific data using CSS selectors.

Parameters:

  • url (string, required): URL to scrape
  • selectors (object, required): Dict of name → CSS selector

Returns: {success, url, data}

Example selectors:

{
  "title": "h1.post-title",
  "author": ".author-name",
  "price": "span.price",
  "images": "img.product-image"
}

3. `screenshot_url`

Capture a screenshot of any webpage.

Parameters:

  • url (string, required): URL to screenshot
  • width (int, optional): Viewport width (default: 1280)
  • height (int, optional): Viewport height (default: 720)
  • full_page (bool, optional): Capture full scrollable page (default: false)

Returns: {success, url, image, width, height, full_page}

Image is base64-encode

Frequently Asked Questions

What are the key features of Agent Web Scraper?

Clean content extraction to markdown or text. Structured data scraping using CSS selectors. Full-page or viewport screenshots via Playwright. Link extraction with regex filtering. Google search integration.

What can I use Agent Web Scraper for?

Automating research by scraping articles and converting them to clean markdown for AI analysis. Monitoring product prices on e-commerce sites using structured CSS selectors. Generating visual documentation or archives of web pages with automated screenshots. Aggregating search results from Google to feed into an AI agent's knowledge base.

How do I install Agent Web Scraper?

Install Agent Web Scraper by running: Add to your MCP settings file (cline_mcp_settings.json or similar)

What MCP clients work with Agent Web Scraper?

Agent Web Scraper works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Conare · memory for coding agents

Turn this server into reusable context

Keep Agent Web Scraper docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Set up free$npx conare@latest