WEB-SCRAPING-MCP
6
Crawl4AI Web Scraper MCP Server is a tool for web scraping and intelligent content extraction using a Model Context Protocol server. It allows AI agents to interact with web pages and extracts information based on natural language instructions.
Crawl4AI Web Scraper MCP Server
This project provides an MCP server for web scraping and intelligent content extraction using the Crawl4AI library. It interacts with web pages, retrieves content, and uses language models for data extraction.
Features
- Provides MCP tools like
scrape_url
,extract_text_by_query
, andsmart_extract
. - Configurable via environment variables.
- Docker support for deployment.
- Communicates on port 8002 using SSE.
Setup and Running
You can run the server using Docker or locally with Python.
Docker Setup
- Install Docker
- Clone the repository
- Create a
.env
file with API keys - Build and run the Docker image
Local Setup
- Install Python >= 3.9
- Clone the repository
- Create a virtual environment
- Install dependencies
- Create
.env
file with API keys - Run the server script