ScrapeCraft is a web-based scraping editor similar to Cursor but specialized for web scraping. It uses AI assistance to help users build scraping pipelines with the ScrapeGraphAI API.
https://github.com/user-attachments/assets/defaf7ad-23da-40b7-82cd-3b2a4d1d22c9
Clone the repository
bash
git clone https://github.com/ScrapeGraphAI/scrapecraft.git
cd scrapecraft
Set up environment variables
bash
cp .env.example .env
Edit the .env file and add your API keys:
- OPENROUTER_API_KEY: Get from OpenRouter
- SCRAPEGRAPH_API_KEY: Get from ScrapeGraphAI
Start the application with Docker
bash
docker compose up -d
Access the application
API Docs: http://localhost:8000/docs
Stop the application
bash
docker compose down
If you want to run the application in development mode without Docker:
cd backend
pip install -r requirements.txt
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
cd frontend
npm install
npm start
The application includes Watchtower for automatic updates:
POST /api/chat/message - Send message to AI assistantGET /api/pipelines - List all pipelinesPOST /api/pipelines - Create new pipelinePUT /api/pipelines/{id} - Update pipelinePOST /api/pipelines/{id}/run - Execute pipelineWS /ws/{pipeline_id} - WebSocket connection| Variable | Description | How to Get |
|---|---|---|
| OPENROUTER_API_KEY | Your OpenRouter API key | Get API Key |
| SCRAPEGRAPH_API_KEY | Your ScrapeGraphAI API key | Get API Key |
| JWT_SECRET | Secret key for JWT tokens | Generate a random string |
| DATABASE_URL | PostgreSQL connection string | Auto-configured with Docker |
| REDIS_URL | Redis connection string | Auto-configured with Docker |
MIT
$ claude mcp add scrapecraft \
-- python -m otcore.mcp_server <graph>