#3030th of 33 in Data and scraping for AI

llm-scraper

TypeScript library that extracts structured data from web pages with LLMs

Stars
7k
License
MIT
Last commit
Jun 2026
Language
TypeScript
Stars, last 30 weeks+760
4 Apr 2026: 6,190 stars11 Apr 2026: 6,197 stars18 Apr 2026: 6,279 stars25 Apr 2026: 6,299 stars2 May 2026: 6,309 stars9 May 2026: 6,319 stars16 May 2026: 6,325 stars23 May 2026: 6,685 stars30 May 2026: 6,706 stars6 Jun 2026: 6,731 stars13 Jun 2026: 6,763 stars20 Jun 2026: 6,773 stars27 Jun 2026: 6,779 stars4 Jul 2026: 6,786 stars11 Jul 2026: 6,792 stars18 Jul 2026: 6,843 stars25 Jul 2026: 6,852 stars1 Aug 2026: 6,862 stars8 Aug 2026: 6,873 stars15 Aug 2026: 6,882 stars22 Aug 2026: 6,889 stars29 Aug 2026: 6,893 stars5 Sept 2026: 6,894 stars12 Sept 2026: 6,903 stars19 Sept 2026: 6,917 stars26 Sept 2026: 6,922 stars3 Oct 2026: 6,926 stars10 Oct 2026: 6,927 stars17 Oct 2026: 6,933 stars24 Oct 2026: 6,945 stars31 Oct 2026: 6,950 stars

6,190 on 4 Apr 20266,950 on 31 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

LLM Scraper loads a page through Playwright and asks an LLM to fill a Zod or JSON Schema, returning typed objects. It runs on the Vercel AI SDK, so OpenAI, Anthropic, Google, Groq and Ollama models plug in. It can also stream partial objects or generate a reusable Playwright script for a schema.

Who it is for: TypeScript developers extracting structured data from web pages

Strengths

  • Schemas in Zod or JSON Schema give type-safe output in TypeScript
  • Six input formats: html, raw_html, markdown, text, image, custom
  • Code generation produces a reusable Playwright script, avoiding an LLM call per page
  • Works with hosted providers and local models via Ollama

Weaknesses

  • Library only: no CLI, server or UI
  • Needs Playwright and a separately installed AI SDK provider package
  • README gives no cost, token-limit or accuracy guidance for large pages
  • No tagged release published

What it needs

  • no GPU
  • Needs Playwright, Zod, Vercel AI SDK provider package, LLM provider API or Ollama
  • Models: OpenAI GPT, Anthropic Claude, Google Gemini, Groq Llama, Ollama

Quick answers

Is llm-scraper open source?

Yes. Its code is on GitHub under the MIT license.

Does llm-scraper need a GPU?

No, it runs without one.

Also in Data and scraping for AI

See all 33
Also in Data and scraping for AI
RankProjectScore
1mineruDocument parser that converts PDFs, images and Office files to Markdown and JSON Live demo ↗ (opens in a new tab)82.9k starscustom license94 out of 100
2doclingPython library and CLI that converts PDFs, Office files and more into structured text69.9k starsMIT91 out of 100
3opendataloader-pdfPDF parser that outputs Markdown, JSON with bounding boxes, and Tagged PDF30.1k starsApache-2.087 out of 100
#4markitdownPython library and CLI that converts office files, PDFs and audio to Markdown193.3k starsMIT86 out of 100
#5agent-reachCLI that gives coding agents read access to login-gated and Chinese web platforms107.4k starsMIT85 out of 100