Listed from the MCP registry; nobody on Odel publishes it.
Free local crawler: any site, JavaScript pages and linked PDFs, into clean text.
Runs on your machine from its package; the steps are below.
At most: creates or changes data: records, files, settings.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y mtscraper
MCP client config
{
"mcpServers": {
"mtscraper": {
"command": "npx",
"args": [
"-y",
"mtscraper"
]
}
}
}Free website crawler for AI coding agents, by MazTech.
Ask your agent to "scrape example.com". MTScraper crawls the site, follows its internal links, and saves each page's clean main text (no menus or footers) to JSONL or CSV. Linked PDFs are read too, text and tables. Then your agent works with the data for you.
Free, open source, no credits, no page caps, no API key, runs on your PC.
--format markdown)read hands back a single page's content without saving anythingmap lists a site's pages from its sitemap without downloading them--no-pdf to skip)--js)--click)--resume)url, title, view, type, text, tablesnpx--js, pages are rendered in headless Chromium first. With --click, each matching tab or button is clicked and every new view is saved as its own record.--format markdown, the main content is turned into Markdown instead of plain text, and PDF tables become Markdown tables.read is the same crawler limited to one page, with the result handed back instead of written to a file. map reads the site's sitemap (found through robots.txt, or at /sitemap.xml), or else the links on the start page, and downloads nothing else.--mcp, all of this is exposed as three MCP tools, crawl, read and map, over stdio.--js, --click and buttons: npx -y github:mazprotech/mtscraper setupMTScraper reaches your agent in two ways, and both run the same tool through npx -y github:mazprotech/mtscraper:
skills/mtscraper) with instructions the agent reads. The agent runs the CLI itself.npx -y github:mazprotech/mtscraper --mcp and gets three tools: crawl, read and map.To copy the skill folder, clone the repo once and copy skills/mtscraper into the skills folder listed for your tool below (~ is your home folder; in PowerShell use $HOME).
git clone https://github.com/mazprotech/mtscraper.git
mkdir -p ~/.claude/skills && cp -r mtscraper/skills/mtscraper ~/.claude/skills/ # example: Claude Code
git clone https://github.com/mazprotech/mtscraper.git
New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null # example: Claude Code
Copy-Item -Recurse -Force mtscraper\skills\mtscraper "$HOME\.claude\skills\"
Every MCP client needs the same values: command npx, arguments -y github:mazprotech/mtscraper --mcp. In the clients that use an mcpServers JSON file it looks like this:
{
"mcpServers": {
"mtscraper": {
"command": "npx",
"args": ["-y", "github:mazprotech/mtscraper", "--mcp"]
}
}
}
Plugin (recommended). Inside Claude Code, run:
/plugin marketplace add mazprotech/mtscraper
/plugin install mtscraper@maztech
Or copy the skill folder to ~/.claude/skills/ (all projects) or .claude/skills/ (one project). Restart Claude Code, or run /reload-plugins after a plugin install.
MCP only. Open Settings, Developer, Edit Config, or edit the file directly:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonAdd the mcpServers block above (merge it with any servers you already have), then fully quit and restart Claude Desktop.
"Works with ChatGPT" here means Codex: the Codex CLI, the Codex IDE extension and the ChatGPT desktop app. The ChatGPT chat app in the browser or on your phone cannot run local tools, so it cannot use MTScraper.
~/.agents/skills/ (all projects) or .agents/skills/ (one repo).codex mcp add mtscraper -- npx -y github:mazprotech/mtscraper --mcp. This writes ~/.codex/config.toml, which the CLI, IDE extension and desktop app share. Or add it by hand:
[mcp_servers.mtscraper]
command = "npx"
args = ["-y", "github:mazprotech/mtscraper", "--mcp"]
~/.gemini/skills/ (or ~/.agents/skills/), or to .gemini/skills/ (or .agents/skills/) in a project.mcpServers block above to ~/.gemini/settings.json (all projects) or .gemini/settings.json (one project).~/.cursor/skills/ (or ~/.agents/skills/), or to .cursor/skills/ (or .agents/skills/) in a project.mcpServers block above to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project).~/.copilot/skills (or ~/.agents/skills), or to .github/skills, .claude/skills or .agents/skills in a repo.copilot mcp add mtscraper -- npx -y github:mazprotech/mtscraper --mcp. This writes ~/.copilot/mcp-config.json.~/.copilot/skills/, ~/.claude/skills/ or ~/.agents/skills/, or to .github/skills/, .claude/skills/ or .agents/skills/ in a project..vscode/mcp.json in your workspace. VS Code uses servers instead of mcpServers:
{
"servers": {
"mtscraper": {
"type": "stdio",
"command": "npx",
"args": ["-y", "github:mazprotech/mtscraper", "--mcp"]
}
}
}
See Windsurf's docs for where skills and MCP servers are configured. Use the command and arguments above for the MCP server.
Register a stdio server with command npx and arguments -y github:mazprotech/mtscraper --mcp, in whatever format that client uses. See your client's docs.
Restart the app after installing so it picks up the skill or server.
Just ask your agent in plain language:
With the skill, crawl results are saved to a scraped/ folder in your current project. With the MCP server:
| Tool | Inputs | Gives back |
|---|---|---|
crawl | url, max_pages (default 50), follow, js, click, pdf, format (text default, or markdown) | The records inline (up to about 200,000 characters) and the path of a JSONL file that holds everything |
read | url, format (markdown default, or text), js | One page's title, address and clean content, in the reply. No file is saved |
map | url, max_pages (default 50) | The list of the site's page addresses, where it came from (sitemap or links), and whether the list was cut at max_pages |
All three obey robots.txt. read says so when robots.txt refuses a page.
No agent needed:
npx -y github:mazprotech/mtscraper https://example.com --max-pages 200
npx -y github:mazprotech/mtscraper https://example.com -o pages.csv
npx -y github:mazprotech/mtscraper https://spa.example.com --js
npx -y github:mazprotech/mtscraper https://example.com/docs --format markdown
npx -y github:mazprotech/mtscraper read https://example.com/pricing
npx -y github:mazprotech/mtscraper map https://example.com -n 200
read prints one page's content (Markdown unless --format text) and saves nothing. map prints one page address per line, and a summary such as found 120 pages (from sitemap).
One-page app with tabs (needs Chromium, see Requirements). List the clickable elements first to pick a selector, then click only the view-switching ones:
npx -y github:mazprotech/mtscraper buttons https://app.example.com
npx -y github:mazprotech/mtscraper https://app.example.com --click "[role=tab]" --max-pages 1 -o views.jsonl
mtscraper <url> [url...] [options]
mtscraper read <url> print one page's clean content; saves nothing
mtscraper map <url> list a site's pages without downloading them
mtscraper buttons <url> list clickable elements, to pick a --click selector
mtscraper setup install the Chromium build that --js, --click and buttons need
mtscraper --mcp run as an MCP server over stdio (tools: crawl, read, map)
| Option | Meaning |
|---|---|
-o, --out <file> | Output .jsonl or .csv (default scraped/<host>.jsonl; appends if the file exists) |
-n, --max-pages <N> | Stop after N pages (default 1000, 0 = no cap). PDFs count as pages. Also caps how many pages map lists |
--format <f> | text or markdown (keeps headings, lists, links and tables). Default text; read defaults to markdown |
-f, --follow <text> | Only follow links whose URL contains this text, e.g. /blog/ (in Git Bash on Windows, run with MSYS_NO_PATHCONV=1 so /blog/ is not rewritten as a path) |
--js | Render pages in headless Chromium for JavaScript sites (5-10x slower) |
--click <selector> | Click each matching button or tab and save every view (implies --js) |
--wait <ms> | Wait after each click for the view to update (default 1500) |
--no-pdf | Skip linked PDFs (by default their text and tables are extracted too) |
--resume <name> | Resumable: re-run the same command with the same name after Ctrl+C |
-q, --quiet | Only print the summary |
-h, --help | Show the help |
When the run ends it prints a summary line: done: N records -> file (finished), or max_pages reached, plus the number of failed pages if any.
examples/sample.jsonl: five pages crawled from quotes.toscrape.com, a site built for scraping practice. Reproduce it with:
npx -y github:mazprotech/mtscraper https://quotes.toscrape.com/ -n 5 -o examples/sample.jsonl
examples/price-list.pdf and examples/price-list.jsonl: a small brochure-style PDF with a price table, and the record MTScraper extracts from it, tables included. Both are generated by node examples/make-price-list.mjs.One record per page, with the same fields every time:
| Field | Meaning |
|---|---|
url | Page address |
title | Page title (for PDFs: the document title, or the file name) |
view | Label of the clicked tab or button; empty for normal pages |
type | "html" or "pdf" |
text | Main text of the page (boilerplate stripped). Markdown instead of plain text with --format markdown |
tables | PDF tables: a list of tables, each a list of rows (header row first) of strings. Always [] for HTML |
JSONL (default) has one JSON object per line. With -o file.csv the columns are the same, and tables is JSON-encoded inside its cell.
{"url":"https://example.com/docs/intro","title":"Intro","view":"","type":"html","text":"Welcome to the docs...","tables":[]}
{"url":"https://example.com/prices.pdf","title":"Price list","view":"","type":"pdf","text":"Price list\nValid for 2026.\nItem | Price\nWidget | 9.99\nGadget | 24.50","tables":[[["Item","Price"],["Widget","9.99"],["Gadget","24.50"]]]}
Linked PDFs on the same domain are downloaded and extracted by default with pdf.js. --no-pdf skips them. They count toward --max-pages.
Table detection is a heuristic: a table is 2 or more consecutive lines whose cells line up. Text from the PDF is always kept, and lines with several cells show them separated by |. With --format markdown, each detected table becomes a Markdown table in text. Wrapped cells and merged headers are not handled as tables, and scanned (image-only) PDFs are not handled at all (no OCR). Check important numbers against the source.
npx fetching MTScraper from GitHub.--max-pages--max-pages 1 fetches exactly one page. With larger caps, a few pages that were already downloading when the cap was reached may still be fetched, but they are not saved--click) are always plain text, even with --format markdown: they come from the browser's visible textmap lists only what the sitemap or the start page's links show; it does not follow links furthernpx -y github:mazprotech/mtscraper fetches the newest commit of this repo, so the tool itself is always up to date. Nothing to do.
The skill text is a separate copy. Claude Code plugin users refresh it with /plugin marketplace update maztech (or claude plugin update mtscraper@maztech in a terminal); a new plugin copy arrives when the plugin version changes. If you copied the skill folder by hand, pull the repo and copy it again.
git clone https://github.com/mazprotech/mtscraper.git
cd mtscraper
npm install
npm test
npm test serves a few pages locally and checks the page cap, link following, robots.txt, the --follow filter, PDF table extraction, Markdown output, read, map (with and without a sitemap), click mode safety and an MCP round trip of all three tools. The PDF, --js and --click tests need Chromium and are skipped without it. GitHub Actions runs the same suite on every push and pull request.
See CONTRIBUTING.md for how to add a change, CHANGELOG.md for what changed, and SECURITY.md for reporting problems.
Respect each site's terms of service and robots.txt, and don't collect personal data about private individuals.
MIT © MazTech