MCP CDP Scraper
Allows Hermes Agent to perform web scraping and form automation through the MCP server, using a real Chrome instance.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP CDP Scraperscrape https://news.ycombinator.com for top links"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
MCP CDP Scraper — Web Scraping via Chrome DevTools Protocol for AI Agents
An MCP (Model Context Protocol) server that gives AI agents the ability to scrape web pages, fill forms, take screenshots, and extract structured data — all through Chrome DevTools Protocol with zero external dependencies.
Why This Exists
Most web scraping MCP servers wrap Playwright or Puppeteer — heavy dependencies that break in Docker, require npm, and add 200MB+ to your image. This server uses raw CDP over WebSockets with Python stdlib only. It connects to any Chrome/Chromium instance running with --remote-debugging-port and gives your AI agent 12 scraping tools.
No Playwright. No Selenium. No Puppeteer. No npm. Just Python stdlib + a running Chrome.
Related MCP server: Plasmate
Features
12 MCP Tools:
list_tabs,scrape_page,extract_text,extract_links,extract_images,extract_table,fill_form,click_element,screenshot,get_html,wait_for,scroll_toZero dependencies — pure Python stdlib (socket, json, urllib, base64, struct)
React/Vue compatible form filling — uses native setters + synthetic events
STDIO JSON-RPC mode — drop-in for any MCP-compatible client (Claude Desktop, Hermes, etc.)
Structured extraction — title, meta, headings, paragraphs, lists, links, images in one call
Screenshot capture — base64 PNG or save to file
Form automation — fill fields, click submit, wait for dynamic content
Quick Start
1. Launch Chrome with remote debugging
# Linux
google-chrome --remote-debugging-port=9222 --headless=new &
# macOS
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --remote-debugging-port=9222 &
# Docker
docker run -d -p 9222:9222 chromedp/chrome --remote-debugging-port=9222 --headless2. Run the MCP server
# STDIO mode (for MCP clients)
python -m src.server --stdio
# Or print the manifest
python -m src.server --manifest3. Use as a library
from src.server import MCPCDPScraperServer
server = MCPCDPScraperServer()
# Scrape a page
result = server.handle_tool_call("scrape_page", {"url": "https://news.ycombinator.com"})
import json
data = json.loads(result)
print(data["structured"]["title"])
print(f"Found {data['link_count']} links")
# Fill a form
result = server.handle_tool_call("fill_form", {
"fields": {
"#email": "user@example.com",
"#password": "secret123"
},
"submit": "#login-button"
})MCP Tool Reference
Tool | Description | Required Params |
| List open browser tabs | — |
| Navigate + extract everything |
|
| Get text from element |
|
| Get all links | — |
| Get all images | — |
| Get table as 2D array |
|
| Fill form fields (React-safe) |
|
| Click by selector |
|
| Capture screenshot | — |
| Get element HTML |
|
| Wait for selector |
|
| Scroll to element/coords | — |
Integration with MCP Clients
Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"cdp-scraper": {
"command": "python",
"args": ["-m", "src.server", "--stdio"],
"cwd": "/path/to/mcp-cdp-scraper"
}
}
}Hermes Agent (config.yaml)
mcp:
servers:
cdp-scraper:
command: python
args: ["-m", "src.server", "--stdio"]
cwd: /path/to/mcp-cdp-scraperDemo
# Requires Chrome running on port 9222
python demo.pyTests
python -m pytest tests/ -vDocker
docker build -t mcp-cdp-scraper .
docker run -p 9222:9222 mcp-cdp-scraperArchitecture
MCP Client (Claude/Hermes/any)
│ JSON-RPC over STDIO
▼
MCPCDPScraperServer (src/server.py)
│ Tool dispatch + schema
▼
CDPScraper (src/cdp_scrape.py)
│ Raw WebSocket CDP commands
▼
Chrome/Chromium (--remote-debugging-port=9222)
│
▼
Web Page → Structured DataUse Cases
AI agent web scraping — Let your agent browse and extract data from any page
Form automation — Login flows, signups, search submissions
Content monitoring — Scrape and diff pages on a schedule
Data extraction pipelines — Tables, product listings, article content
Screenshot generation — Visual capture for QA or documentation
Anti-bot bypass — Real Chrome instance avoids headless detection
License
MIT
Author
aaameobius-crypto — github.com/aaameobius-crypto
Freelance portfolio: https://ameobius-space.github.io/kwork-portfolio/
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityAmaintenanceReliable, scalable browser infrastructure for AI agents. Route, pool, and failover across any browser provider. 8 built-in browser tools using raw Chrome CDP - navigate, screenshot, snapshot, interact, evaluate. Zero-config with auto Chrome detection & concurrent sessions support9686MIT

Plasmateofficial
Alicense-qualityCmaintenanceAgent-native headless browser for AI agents. Converts web pages to a Semantic Object Model (SOM) instead of raw HTML — 17x average token reduction across real-world sites (up to 117x on complex pages). Native MCP server with fetch_page, extract_text, extract_links, and full browser automation. No API key required.34Apache 2.0
ScrapeLab MCPofficial
Alicense-qualityDmaintenanceEnables undetectable web scraping and browser automation for AI agents with 84 tools including stealth navigation, element extraction, network interception, and auto cookie consent dismissal. Bypasses anti-bot systems like Cloudflare and DataDome while providing LLM-ready markdown output and full Chrome DevTools Protocol access.MIT- Alicense-qualityAmaintenancesingle-binary MCP server that gives AI agents a browser. 66 tools for navigation, form filling, data extraction, screenshots, and DOM diffing — built on pure Chrome DevTools Protocol.7MIT
Related MCP Connectors
AI-powered browser automation — navigate, click, fill forms, and extract data from any website.
Automate cloud browsers to navigate websites, interact with elements, and extract structured data.…
Turn the web into structured, reliable, actionable enterprise data for AI Agents
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/AMEOBIUS-space/mcp-cdp-scraper'
If you have feedback or need assistance with the MCP directory API, please join our Discord server