Back to feed
Dev.to
Dev.to
7/14/2026
Harvest: An open-source self-healing web scraper with semantic caching and MCP support

Harvest: An open-source self-healing web scraper with semantic caching and MCP support

Original: I Built a Web Scraper That Fixes Itself When Websites Change — Then I Open-Sourced It

Short summary

Harvest is an open-source web scraper that auto-repairs its selectors when websites change, using an LLM to generate new CSS selectors from old and new HTML. It features semantic caching (50-70% token reduction), structural diffing, zero-token scraper generation, and runs as an MCP server for AI agent integration. Limitations include Cloudflare Turnstile blocks and a brand-new community with no established track record.

  • Self-healing scraper uses LLM to regenerate broken CSS selectors when site HTML changes
  • Semantic caching by meaning reduces token costs 50-70% on repeated extraction queries
  • Runs as MCP server; includes comparison against Crawl4AI and Firecrawl

Generated with AI, which can make mistakes.

Is this a good recommendation for you?

Comments

Failed to load comments. Please try again.

Explore more