lucasmartins-ai/lookacrawler
БесплатноНе проверенFree, open-source, token-efficient local alternative to Firecrawl with native MCP Server for LLMs (>73% token reduction, Playwright stealth anti-bot bypass).
Описание
Free, open-source, token-efficient local alternative to Firecrawl with native MCP Server for LLMs (>73% token reduction, Playwright stealth anti-bot bypass).
README
🕷️ LookaCrawler
Free, open-source, token-efficient local alternative to Firecrawl with native Model Context Protocol (MCP) Server for LLMs.
License: MIT Bun TypeScript MCP Ready GitHub Stars Local-First
📌 Why LookaCrawler?
Web crawling for Large Language Models (LLMs) is broken by default: modern web pages contain massive HTML bloat (scripts, tracking pixels, nested divs, navigation headers, stylesheets), costing thousands of wasted tokens per page.
LookaCrawler is an open-source, token-optimized local crawler that strips >73% to 90% of web bloat, extracts clean Markdown, bypasses anti-bot barriers with stealth Playwright drivers, and exposes a native Model Context Protocol (MCP) Server ready for Claude Desktop, Cursor, and Antigravity.
🥊 Comparison: LookaCrawler vs Alternatives
| Feature | 🕷️ LookaCrawler | 🔥 Firecrawl (Cloud) | ⚡ Jina Reader |
|---|---|---|---|
| Pricing / Cost | $0.00 (100% Free Open Source) | $16 to $99+/month | Rate-limited API |
| Token Reduction | >73% to 90% pruning + Footnotes | Standard Markdown | Basic Markdown |
| Autonomous Crawling | Native map & crawl (BFS + Regex) |
Cloud Crawler | Single-page only |
| Pre-Crawl Actions | Native Playwright (click, scroll, fill) | Paid Addon | None |
| Link Formatting | Inline, References Footnotes, Strip | Inline only | Inline only |
| Data Privacy | 100% Local (Zero Telemetry) | Cloud Provider | Cloud API |
| MCP Integration | Native Tools + Resources + Prompts | Community Wrapper | None |
| Stealth & Anti-Bot | Real Chrome + Stealth Fingerprint | Cloud Proxies | Basic Headers |
| Local SQLite Cache | Built-in (24h TTL cache) | Redis / Paid Addon | None |
| JS SPA Support | Playwright + Chrome Pool | Cloud Headless | Headless |
🚀 Key Features
- Token Economy First: Automatically prunes scripts, styles, inline SVGs, tracking tags, navigations, footers, redundant forms, and boilerplate containers with high link density (>80%).
- Advanced Link & Image Formatting:
link_format: Choose betweeninline(standard markdown),references(footnote citations[1], saving ~25% tokens on repetitive URLs), orstrip(pure text).image_mode: Choose betweenignore(zero tokens),alt_only(preserves semantic context without URL bloat), ormarkdown(full).
- Autonomous Mapping & Recursive Crawling:
map_website: Inspects/robots.txt, sitemaps, and root anchors to discover all pages in a domain.crawl_website: Breadth-first autonomous crawling with max depth, max pages, route regex filters, and real-time token accounting.
- Pre-Crawl Browser Actions: Automate clicks, scrolls, typing, and waits in Playwright before extracting content (dismiss cookie banners, scroll for infinite loading, expand accordions).
- Dual Hybrid Crawling Engine:
fast: Ultra-fast native HTTP GET with backoff. Auto-escalates todeepif an anti-bot challenge is encountered.deep: Headless Playwright engine launching real Google Chrome with stealth patches (navigator.webdrivercleared, WebGL spoofed, CDP leaks stripped) to transparently crawl Cloudflare/Turnstile-protected pages.
- Native MCP Ecosystem:
- Tools:
extract_web_content,crawl_website,map_website,batch_extract_web_content,extract_structured_data. - Resources: Live telemetry at
crawler://metricsand cache analytics atcrawler://cache/stats. - Prompts: Pre-engineered templates
crawl-and-summarizeandcompare-pages.
- Tools:
- Local SQLite Caching: Stores extracted Markdown in
crawler_cache.sqliteto eliminate duplicate network calls. - Structured JSON & Metadata Extraction: Extracts Open Graph tags (
og:title,og:description), publication dates, canonical URLs, and custom CSS selectors.
🔌 1-Click MCP Setup (Claude Desktop & Cursor)
Add LookaCrawler to your claude_desktop_config.json or Cursor MCP settings:
{
"mcpServers": {
"lookacrawler": {
"command": "bun",
"args": ["run", "/absolute/path/to/lookacrawler/index.ts"]
}
}
}
Now you can prompt Claude or Cursor:
"Crawl https://example.com/docs and extract the API documentation using LookaCrawler."
📦 Quick Start & CLI Usage
1. Installation
Requires Bun 1.1+ (high-performance runtime with native SQLite):
# Clone the repository
git clone https://github.com/lucasmartins-ai/lookacrawler.git
cd lookacrawler
# Install dependencies
bun install
2. CLI Commands
# Single URL fast Markdown extraction
bun run cli.ts extract https://news.ycombinator.com --mode fast
# Single URL fast Markdown extraction with reference footnotes
bun run cli.ts extract https://example.com --link-format references --output page.md
# Headless Playwright deep extraction with CSS selector target
bun run cli.ts extract https://example.com --mode deep --selector "main" --json
# Discover all website URLs and sitemaps
bun run cli.ts map https://example.com --max-urls 500
# Recursively crawl documentation with regex filtering and token accounting
bun run cli.ts crawl https://example.com/docs --max-depth 2 --max-pages 15 --link-format references
# Batch concurrent multi-URL crawling
bun run cli.ts batch https://site1.com https://site2.com --concurrency 4
# Structured JSON schema extraction
bun run cli.ts structured https://example.com --schema '{"title":"h1","links":"a"}'
# Start MCP Server via SSE on port 3000
bun run cli.ts serve --transport sse --port 3000
3. Docker Deployment
# Build and run Docker container
docker build -t lookacrawler .
docker run -p 3000:3000 lookacrawler
🧪 Architecture & Testing
Incoming URL ──► [Local SQLite Cache Check] ──(Hit)──► Return Cached Markdown
│ (Miss)
▼
[Fast HTTP GET Request] ──(Blocked?)──► [Auto-Escalate to Deep Stealth]
│ │
▼ ▼
[HTML DOM Tree Parser] ◄──────────────────────────┘
│
▼
[Aggressive Token Noise Pruner]
(Strips SVG, Nav, Ads, Tracking, CSS, JS)
│
▼
[Mozilla Readability Engine]
│
▼
[Turndown Markdown Converter] ──► Return Clean LLM Markdown
Run test suite:
bun test
⭐ Star & Support
If LookaCrawler saves you API fees and token costs:
- ⭐ Star this repository to help other developers find it!
- 💡 Open an Issue / PR for new stealth bypasses or crawler features.
Built by LookADev
lookacrawler is built and maintained by LookADev, an engineering studio specializing in AI agents, web architecture, and token optimization.
Start a project → lookadev.com · Email: [email protected]
📄 License
Open-source software licensed under the MIT License.
Установка lucasmartins-ai/lookacrawler
У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.
▸ github.com/lucasmartins-ai/lookacrawlerFAQ
lucasmartins-ai/lookacrawler MCP бесплатный?
Да, lucasmartins-ai/lookacrawler MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для lucasmartins-ai/lookacrawler?
Нет, lucasmartins-ai/lookacrawler работает без API-ключей и переменных окружения.
lucasmartins-ai/lookacrawler — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить lucasmartins-ai/lookacrawler в Claude Desktop, Claude Code или Cursor?
Открой lucasmartins-ai/lookacrawler на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
Playwright
Browser automation, scraping, screenshots
автор: MicrosoftPuppeteer
Browser automation and web scraping.
автор: modelcontextprotocolGarmin Connect
An MCP server for Garmin Connect that provides access to fitness activities, health statistics, and sleep data by routing requests through a headless browser to
автор: etweisbergHiggsfield Unlimited
MCP server for Higgsfield AI that enables unlimited-mode image, video, audio generation, uploads, and job management via multiple parallel accounts, using brows
автор: nukIeeropentabs-dev/opentabs
Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a
автор: opentabs-devrobhunter/agentdeals
1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan
автор: robhunterhlydecker/ucsc-genome-mcp
MCP server to interact with the UCSC Genome Browser API, letting you find genomes, chromosomes, and more.
автор: hlydecker34892002/bilibili-mcp-js
A MCP server that supports searching for Bilibili content. Provides LangChain integration examples and test scripts.
автор: 34892002achiya-automation/safari-mcp
Native Safari browser automation for AI agents with 80+ tools. No Chrome dependency, optimized for Apple Silicon with 60% less CPU overhead.
автор: achiya-automationagent-infra/mcp-server-browser
Browser automation capabilities using Puppeteer, both support local and remote browser connection.
автор: bytedanceCompare lucasmartins-ai/lookacrawler with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории browse
