
Scraper.is MCP Server
Enables extracting data from websites using natural language prompts, allowing users to specify exactly what content they want in plain English and returning structured JSON data.
Ai-Quill
Tools
scraperis_scraper
Extract data from websites using natural language prompts. The prompt should include the website URL and what data you want to extract. For example: 'Get me the top 10 products from producthunt.com' or 'Extract all article titles and authors from techcrunch.com/news'
README
Scraper.is MCP
A Model Context Protocol (MCP) integration for Scraper.is - A powerful web scraping tool for AI assistants.
This package allows AI assistants to scrape web content through the MCP protocol, enabling them to access up-to-date information from the web.
Features
- 🌐 Web Scraping: Extract content from any website
- 📸 Screenshots: Capture visual representations of web pages
- 📄 Multiple Formats: Get content in markdown, HTML, or JSON
- 🔄 Progress Updates: Real-time progress reporting during scraping operations
- 🔌 MCP Integration: Seamless integration with MCP-compatible AI assistants
Installation
npm install -g scraperis-mcp
Or with yarn:
yarn global add scraperis-mcp
Prerequisites
You need a Scraper.is API key to use this package.
Getting Your API Key
- Sign up or log in at scraper.is
- Navigate to the API Keys section in your dashboard: https://www.scraper.is/dashboard/apikeys
- Create a new API key or copy your existing key
- Store this key securely as you'll need it to use this package
Usage
Environment Setup
Create a .env
file with your Scraper.is API key:
SCRAPERIS_API_KEY=your_api_key_here
Claude Desktop Integration
To use this package with Claude Desktop:
-
Install the package globally:
npm install -g scraperis-mcp
-
Add the following configuration to your
claude_desktop_config.json
file:{ "mcpServers": { "scraperis_scraper": { "command": "scraperis-mcp", "args": [], "env": { "SCRAPERIS_API_KEY": "your-api-key-here", "DEBUG": "*" } } } }
-
Replace
your-api-key-here
with your actual Scraper.is API key. -
Restart Claude Desktop to apply the changes.
Running with MCP Inspector
For development and testing, you can use the MCP Inspector:
npx @modelcontextprotocol/inspector scraperis-mcp
Integration with AI Assistants
This package is designed to be used with AI assistants that support the Model Context Protocol (MCP). When properly configured, the AI assistant can use the following tools:
Scrape Tool
The scrape
tool allows the AI to extract content from websites. It supports various formats:
markdown
: Returns the content in markdown formathtml
: Returns the content in HTML formatscreenshot
: Returns a screenshot of the webpagejson
: Returns structured data in JSON format
Example prompt for the AI:
Can you scrape the latest news from techcrunch.com and summarize it for me?
API Reference
Tools
scrape
Scrapes content from a webpage based on a prompt.
Parameters:
prompt
(string): The prompt describing what to scrape, including the URLformat
(string): The format to return the content in (markdown
,html
,screenshot
,json
,quick
)
Example:
{
"prompt": "Get me the top 10 products from producthunt.com",
"format": "markdown"
}
Development
Setup
-
Clone the repository:
git clone https://github.com/Ai-Quill/scraperis-mcp.git cd scraperis-mcp
-
Install dependencies:
npm install
-
Build the project:
npm run build
Scripts
npm run build
: Build the projectnpm run watch
: Watch for changes and rebuildnpm run dev
: Run with MCP Inspector for developmentnpm run test
: Run testsnpm run lint
: Run ESLint
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgements
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Playwright MCP Server
Provides a server utilizing Model Context Protocol to enable human-like browser automation with Playwright, allowing control over browser actions such as navigation, element interaction, and scrolling.
@kazuph/mcp-fetch
Model Context Protocol server for fetching web content and processing images. This allows Claude Desktop (or any MCP client) to fetch web content and handle images appropriately.
DuckDuckGo MCP Server
A Model Context Protocol (MCP) server that provides web search capabilities through DuckDuckGo, with additional features for content fetching and parsing.
YouTube Transcript MCP Server
This server retrieves transcripts for given YouTube video URLs, enabling integration with Goose CLI or Goose Desktop for transcript extraction and processing.
serper-search-scrape-mcp-server
This Serper MCP Server supports search and webpage scraping, and all the most recent parameters introduced by the Serper API, like location.
The Verge News MCP Server
Provides tools to fetch and search news from The Verge's RSS feed, allowing users to get today's news, retrieve random articles from the past week, and search for specific keywords in recent Verge content.
Google Search Console MCP Server
A server that provides access to Google Search Console data through the Model Context Protocol, allowing users to retrieve and analyze search analytics data with customizable dimensions and reporting periods.