Purify
Web Scraping API for AI Agents. One binary. Zero dependencies. Built-in MCP server.
The Go alternative to Firecrawl / Crawl4AI — no Python, no Node.js, no Redis. Just docker compose up and go.
Get Free API Key · API Docs · ·
Power your agent
การติดตั้งจากผู้เผยแพร่ ไม่ใช่เอนด์พอยต์ของ PlugMCP
URL แบบรีโมตหรือคำสั่งบนเครื่องของคุณ? การติดตั้งสองแบบต่างกันอย่างไร
รันบน PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
เปิดจากผู้เผยแพร่
Web Scraping API for AI Agents. One binary. Zero dependencies. Built-in MCP server.
The Go alternative to Firecrawl / Crawl4AI — no Python, no Node.js, no Redis. Just docker compose up and go.
Get Free API Key · API Docs · ·
Single-binary web scraper for AI agents. Headless Chrome + Readability → clean Markdown. Up to 99% token savings. Zero dependencies. Built-in MCP server.
# Start Purify
docker compose up -d
# Scrape a page
curl -s -X POST http://localhost:8080/api/v1/scrape \
-H "Content-Type: application/json" \
-d '{"url": "https://news.ycombinator.com"}' | jq .
{
"success": true,
"content": "# Hacker News\n\n1. Show HN: ...",
"tokens": {
"original_estimate": 11708,
"cleaned_estimate": 5572,
"savings_percent": 52.4
},
"timing": {
"total_ms": 400
}
}
Two commands. Clean Markdown back in under a second.
Option A: Docker
docker compose up -d
Option B: Build from source
git clone https://github.com/Easonliuliang/purify.git
cd purify && make build
PURIFY_AUTH_ENABLED=false ./bin/purify
Option C: Hosted API (no setup)
curl -s -X POST https://purify.verifly.pro/api/v1/scrape \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://news.ycombinator.com"}' | jq .content
Get a free API key at purify.verifly.pro — 1,000 requests/month, no credit card.
Measured with tiktoken (GPT-4 tokenizer). Purify strips navigation, ads, scripts, and styling — your LLM only sees the content.
Low-savings sites (Hacker News, paulgraham.com) are already minimal — almost pure text with no cruft to remove. That's a feature, not a bug.
Purify includes a built-in MCP server with 5 tools:
Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"purify": {
"command": "purify-mcp",
"env": {
"PURIFY_API_URL": "https://purify.verifly.pro",
"PURIFY_API_KEY": "your-api-key"
}
}
}
}
For self-hosted instances, set PURIFY_API_URL to http://localhost:8080.
Then ask Claude:
Scrape a single page and return cleaned content. Supports JSON response or SSE streaming.
{
"url": "https://example.com/article",
"output_format": "markdown",
"extract_mode": "readability"
}
Response:
{
"success": true,
"status_code": 200,
"final_url": "https://example.com/article",
"content": "# Article Title\n\nClean markdown content...",
"metadata": {
"title": "Article Title",
"author": "Author Name",
"language": "en",
"source_url": "https://example.com/article",
"fetch_method": "http"
},
"links": {
"internal": [{"href": "/about", "text": "About"}],
"external": [{"href": "https://github.com/...", "text": "GitHub"}]
},
"images": [{"src": "https://example.com/hero.jpg", "alt": "Hero"}],
"tokens": {
"original_estimate": 32895,
"cleaned_estimate": 187,
"savings_percent": 99.43
},
"timing": {
"total_ms": 1172,
"navigation_ms": 1162,
"cleaning_ms": 9
},
"engine_used": "http"
}
Add Accept: text/event-stream header to receive Server-Sent Events instead of JSON:
curl -X POST https://purify.verifly.pro/api/v1/scrape \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-H "Accept: text/event-stream" \
-d '{"url": "https://example.com"}'
Events: scrape.started → scrape.navigated → scrape.completed (or scrape.error).
Use "output_format": "markdown_citations" to convert inline links to academic-style references:
See [Google][1] and [GitHub][2]
---
[1]: https://google.com
[2]: https://github.com
Scrape multiple URLs in parallel. Returns a job ID for async polling.
{
"urls": ["https://a.com", "https://b.com", "https://c.com"],
"options": {"output_format": "markdown"},
"webhook_url": "https://your-server.com/callback",
"webhook_secret": "your-hmac-secret"
}
Poll status: GET /api/v1/batch/:id
Recursively crawl a website starting from a URL.
{
"url": "https://docs.example.com",
"max_depth": 3,
"max_pages": 100,
"scope": "subdomain",
"webhook_url": "https://your-server.com/callback",
"webhook_secret": "your-hmac-secret"
}
Poll status: GET /api/v1/crawl/:id
Discover all URLs on a site without scraping content.
{"url": "https://example.com"}
Structured data extraction using your own LLM key (BYOK).
curl -X POST https://purify.verifly.pro/api/v1/extract \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://example.com/product",
"schema": {
"name": "string",
"price": "number",
"features": ["string"]
},
"llm_api_key": "your-openai-key"
}'
Batch and Crawl endpoints support webhook notifications. When a job completes, Purify sends a POST request to your webhook_url with HMAC-SHA256 signature in the X-Purify-Signature header.
Events: batch.completed, crawl.page, crawl.completed, crawl.failed
Verify the signature:
HMAC-SHA256(webhook_secret, request_body) == X-Purify-Signature (sha256=<hex>)
Returns server status and uptime.
All configuration via environment variables:
Purify is a single Go binary. No Docker required, no Redis, no database.
# Local development (no auth)
PURIFY_AUTH_ENABLED=false ./bin/purify
# Production (with API key)
PURIFY_API_KEYS=your-secret-key ./bin/purify
Runs on any $5/month VPS. No usage limits when self-hosted.
Contributions welcome. Please open an issue first to discuss what you'd like to change.
Apache 2.0 — use it however you want, commercially or otherwise. No AGPL restrictions.
Single-binary web scraper for AI agents. Headless Chrome + Readability → clean Markdown. Up to 99% token savings. Zero dependencies. Built-in MCP server.
เครื่องมือ
ยังไม่มีรายการเครื่องมือ เซิร์ฟเวอร์แบบรีโมตจะได้รายการหลังการตรวจสอบสถานะครั้งแรก
FAQ
คัดลอกคอนฟิก stdio สำหรับ Cursor, Claude Desktop, Claude Code หรือ VS Code ได้ในหน้านี้ คอนฟิกนี้ใช้การติดตั้งของผู้เผยแพร่ ไม่ใช่พร็อกซีของ PlugMCP
ระเบียนนี้ไม่ได้ระบุตัวแปรสภาพแวดล้อมที่จำเป็น
Purify ทำงานแบบโลคัลผ่าน stdio
ตรวจสอบล่าสุดเมื่อ 2026-10-28 Single-binary web scraper for AI agents. Headless Chrome + Readability → clean Markdown. Up to 99% token savings. Zero dependencies. Built-in MCP server.