veilcrawl
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
VeilCrawl
Let AI agents search a whole website without reading it.
Crawl once, index locally, and answer with small, redacted snippets.
Quick start · Tools · How it works · Privacy · Configuration
Why VeilCrawl
Agents usually read websites one full page at a time. That is slow, fills the context window, and sends everything on the page to a model provider.
Browsing page by page | VeilCrawl | |
Finding a fact | Open pages until it turns up | One search across every indexed page |
What the model sees | Whole pages | Ranked snippets, 250 tokens by default |
Emails, keys, card numbers | Sent as they are | Replaced on your machine with |
Asking again | Load the pages again | Local index, no new requests |
Related MCP server: searxNcrawl
Quick start
Requires Node.js 22.18 or newer.
1. Install Lightpanda
VeilCrawl uses Lightpanda, a lightweight headless browser built for automation. You do not need Chromium.
macOS (Homebrew)
brew install lightpanda-io/browser/lightpandaLinux (x86_64) and WSL2
mkdir -p ~/.local/bin
curl -fL -o ~/.local/bin/lightpanda https://github.com/lightpanda-io/browser/releases/download/nightly/lightpanda-x86_64-linux
chmod a+x ~/.local/bin/lightpanda
~/.local/bin/lightpanda versionOther platforms: see the Lightpanda nightly builds.
Skip the step above and run this after npm install. VeilCrawl uses Chromium when Lightpanda is not installed.
npx playwright install chromium --only-shell2. Install VeilCrawl
git clone https://github.com/Baimmmss/veilcrawl.git
cd veilcrawl
npm install
npm run build3. Connect an agent
Claude Code
claude mcp add --scope user veilcrawl -- node "$PWD/dist/cli.js" mcp{
"mcpServers": {
"veilcrawl": {
"command": "node",
"args": ["/absolute/path/to/veilcrawl/dist/cli.js", "mcp"]
}
}
}Then ask in plain language:
Use veilcrawl to crawl https://docs.python.org/3/library/sqlite3.html, at most 12 pages, then find how transactions are opened.
Or use the command line
node dist/cli.js crawl_site https://docs.python.org/3/library/sqlite3.html --max_pages 12 --max_depth 1
node dist/cli.js direct_search s_0bd11525fdbe open database connection --top_k 1{
"full_matches": 25,
"hits": [
{
"chunk_id": "c_ce",
"url": "https://docs.python.org/3/library/sqlite3.html",
"title": "sqlite3 — DB-API 2.0 interface for SQLite databases — Pyth…",
"snippet": "sqlite3 ensures that a transaction is always open, so connect(), Connection.commit(), and …",
"score": 8.85
}
]
}Snippet shortened for this page.
Large crawls can outlast an MCP client's timeout. Run them from the command line and give the agent thesite_id.
Tools
The MCP server and the command line share the same six tools.
Tool | What it does | Main options |
| Crawls and indexes a site. Returns statistics, never content. |
|
| Searches every indexed page. |
|
| Finds buttons, links, forms and downloads. |
|
| Shows a compact tree of routes. |
|
| Reads one search hit, with its neighbours if asked. |
|
| Reports redaction counts and tokens saved. |
How it works
flowchart LR
Agent["AI agent or CLI"] -->|crawl_site| Crawler["Crawler<br/>Lightpanda"]
Crawler --> Extract["Strip boilerplate"]
Extract --> Redact["Redact, then split<br/>into small chunks"]
Redact --> Index[("Local SQLite index")]
Agent -->|"search · find · map · peek"| Budget["Token budget"]
Index --> Budget
Budget -->|snippets only| AgentText is redacted before it is indexed, so a hidden value cannot be found by searching for it.
The crawler stays on the starting host, obeys robots.txt, waits between page loads, identifies itself as VeilCrawl, and does not bypass logins or CAPTCHAs.
Privacy
Mode | Behaviour |
| Redacts emails, phone numbers, US Social Security numbers, card numbers, and API keys and tokens |
| Also redacts IP addresses, UUIDs and long numbers, caps snippets at 120 characters, and leaves titles out of the site map |
Add your own rules when you crawl:
node dist/cli.js crawl_site https://example.com --veil_level strict \
--redact_patterns 'acme-\d+' --redact_selectors '.internal'To see what was hidden, run node dist/cli.js veil_audit <site_id> --audit. It works only in an interactive terminal.
Know the limits before using this on sensitive sites.
Redaction is pattern-based. It misses names, street addresses and disguised values, and sometimes hides harmless numbers.
The agent chooses
veil_level, so it can crawl astrictsite again asstandard.Index files keep the original redacted values for the audit. Only your user account can read them, but that includes any agent with shell access.
Indexes are stored in ~/.veilcrawl. Delete <site_id>.db to forget a site.
Configuration
Variable | Effect | Default |
| Where indexes are stored |
|
|
|
|
| Path to the Lightpanda binary | Found automatically |
auto uses Lightpanda when it is installed and Chromium otherwise. Lightpanda is looked for in LIGHTPANDA_PATH, PATH, ~/.local/bin, /usr/local/bin and /opt/homebrew/bin.
These crawl_site options work only from the command line, so an agent cannot change them over MCP:
Option | Effect | Default |
| Overrides | |
| Pages loaded at once | 4 |
| Minimum gap between page loads | 200 |
| Page load timeout | 15000 |
| Skips | Off |
Measured results
Target | Goal | Measured |
Search latency, P95, 500 pages | under 100 ms | 27–41 ms |
Tokens compared with raw HTML | at least 95% fewer | 99.6% fewer on a 12-page crawl |
Planted secrets reaching the agent | 0 | 0 of 23 |
Measured on one macOS machine. Latency rises under heavy CPU load. The secrets test runs as part of npm test.
Development
npm test # unit, latency and real-browser tests
npm run typecheck
npm run buildRoadmap
Phase 1: crawler, local search, redaction, MCP server and CLI
Phase 2: semantic search, API response indexing, better single-page app support
Phase 3: running actions through handles, incremental crawls, local dashboard
See PRD.md for the full plan.
License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Web data for agents. Extract web pages, crawl websites, discover URLs, and search the web.
Web infrastructure for AI agents: scrape, crawl and search the web, run browsers and agents.
Web scraping, search, crawling, structured extraction and research for AI agents.
Web data for agents: YouTube transcripts, screenshots, Google News, WHOIS, jobs, tech stack, more.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to search the web through configured providers and crawl individual pages or entire sites into clean, deduplicated Markdown or JSON, including authenticated pages.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to search the web through configured providers and crawl pages or entire sites into clean, deduplicated Markdown or JSON, including authenticated crawls.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to search the web through configured providers and crawl single pages or entire sites into clean, deduplicated Markdown or JSON, including authenticated pages.-
- FlicenseNot gradedqualityAmaintenanceEnables AI agents to search the web through configured providers and crawl pages or whole sites into clean, deduplicated Markdown or JSON, including authenticated crawls.-