# ScrapeCraft: the AI scraping editor that writes your scraper

> Sets up an AI editor that writes web scrapers and exports data.

- **What it does:** Sets up a web app where you list websites, say which fields you want, and AI writes the scraping code. You run it and export the data as JSON or CSV spreadsheets.
- **Agents:** Claude Code and Codex (through orbit-connect), Claude and ChatGPT (through the Orbit connector)
- **Install:** `npx -y --loglevel=error orbit-connect@0.3.33 install skl_6b01573382a67b9cb593d1ea`
- **Creator:** @orbit.gtm on Instagram
- **Safety:** Checked by Orbit: use with care. Needs API keys; Watchtower auto-pulls images; scraping may breach terms
- **Last updated:** 2026-11-14
- **Page:** https://orbitinbox.app/s/scrapecraft-the-ai-scraping-editor-that-writes-your-scraper

## Skill

---
name: scrapecraft-scraping-editor
description: Use when you say "set up ScrapeCraft" or "build me a scraper that reads these sites and pulls these fields"; it installs and runs the ScrapeCraft AI scraping editor in Docker so you add URLs, define a schema, generate Python scraping code, run it and export JSON or CSV.
---

# ScrapeCraft: the AI scraping editor that writes your scraper

## What it does

ScrapeCraft is a web-based scraping editor, similar to Cursor but specialized for web scraping. It uses AI assistance to help you build scraping pipelines with the ScrapeGraphAI API.

What the project includes:

- An AI assistant using OpenRouter (Kimi-k2 model).
- Multi-URL bulk scraping support.
- Dynamic schema definition with Pydantic, so you say which fields you want.
- Python code generation with async support.
- Real-time WebSocket streaming.
- Results visualization in table and JSON views.
- Auto-updating deployment with Watchtower.

The usage flow in the README: create a pipeline, add URLs in the URL Manager, define schema fields for extraction, ask the AI to generate scraping code, execute the pipeline, then export results as JSON or CSV.

Under the hood it is a FastAPI + LangGraph + ScrapeGraphAI backend, a React/TypeScript/Tailwind frontend, PostgreSQL for the database and Redis for cache, all run with Docker Compose.

Scraping can breach a site's terms. Use it only on your own sites and data, or on sources you are allowed to read, and stay within each site's terms.

## What you need

- Docker and Docker Compose.
- An OpenRouter API key (from https://openrouter.ai/keys).
- A ScrapeGraphAI API key (from https://scrapegraphai.com/auth/login).
- A `JWT_SECRET` value: the README says to generate a random string.
- `DATABASE_URL` and `REDIS_URL` are auto-configured with Docker.
- Only for development mode without Docker: Python with pip, and Node with npm.

## Setup

Clone the repository:

```bash
git clone https://github.com/ScrapeGraphAI/scrapecraft.git
cd scrapecraft
```

Create your environment file:

```bash
cp .env.example .env
```

Then edit `.env` and add your keys: `OPENROUTER_API_KEY`, `SCRAPEGRAPH_API_KEY` and `JWT_SECRET`. Keep `.env` out of version control.

Start the application:

```bash
docker compose up -d
```

Open it:

- Frontend: http://localhost:3000
- API: http://localhost:8000
- API docs: http://localhost:8000/docs

Stop it:

```bash
docker compose down
```

Optional development mode without Docker.

Backend:

```bash
cd backend
pip install -r requirements.txt
uvicorn app.main:app --reload --host 0.0.0.0 --port 8000
```

Frontend:

```bash
cd frontend
npm install
npm start
```

## How to use it with Claude

- "Clone ScrapeCraft, copy .env.example to .env, and walk me through which keys I need to paste in."
- "Run docker compose up -d in my scrapecraft folder and tell me when the frontend on port 3000 is up."
- "I want to scrape these five company sites. Write the Pydantic schema fields I should define in the pipeline: company name, contact email, location."
- "Write the message I should send the ScrapeCraft AI assistant so it generates the async Python scraping code for my pipeline."
- "Show me the ScrapeCraft API endpoints and how to create and run a pipeline from the command line."
- "My pipeline ran. Help me read the JSON export and turn it into a clean CSV lead list."

## Credits

Made by ScrapeGraphAI (ScrapeCraft), packaged by Orbit.
Source: https://github.com/ScrapeGraphAI/scrapecraft
License: MIT

Shared by @orbit.gtm, credited on Orbit.