screaming-frog-mcp
screaming-frog-mcp
MCP 服务器,允许 Claude 运行 Screaming Frog SEO Spider 无头爬取、导出数据并管理爬取存储——无需打开 GUI。
在 Claude 中输入 URL。Screaming Frog 将在后台运行。你将获得返回的数据。就是这样。
基于 bzsasson/screaming-frog-mcp v0.1.0 分支并进行了错误修复。原版存在导致实际无法使用的问题——导致爬取挂起的管道死锁、将后续运行误判为 GUI 从而阻止运行的错误 GUI 检测、可能擦除整个爬取数据库的删除命令。现已全部修复。
已修复内容
错误 | 修复 |
管道死锁 | stdout/stderr 重定向到日志文件而非 PIPE。当 SF 产生大量输出时,爬取不再挂起。 |
GUI 检测 | 使用 |
陈旧爬取清理 | 当爬取中断时,SF 会在其应用包内留下一个临时的 |
删除安全性 |
|
导出目录泄漏 | 失败的导出会在磁盘上留下临时目录。现在已清理。 |
输入验证 | 为 CLI 参数和 db_id 增加了更严格的字符允许列表。 |
Related MCP server: Screaming Frog SEO Spider MCP Server
要求
带有付费许可证的 Screaming Frog SEO Spider —— 无头爬取需要许可证
Python 3.10+
uv (推荐) 或 pip
安装
Mac
uvx --from git+https://github.com/marykovziridze/screaming-frog-mcp screaming-frog-mcp添加到 ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"screaming-frog": {
"command": "uvx",
"args": ["--from", "git+https://github.com/marykovziridze/screaming-frog-mcp", "screaming-frog-mcp"]
}
}
}Windows
首先安装 uv:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"添加到 C:\Users\[name]\AppData\Roaming\Claude\claude_desktop_config.json:
{
"mcpServers": {
"screaming-frog": {
"command": "uvx",
"args": ["--from", "git+https://github.com/marykovziridze/screaming-frog-mcp", "screaming-frog-mcp"],
"env": {
"SF_CLI_PATH": "C:\\Program Files (x86)\\Screaming Frog SEO Spider\\ScreamingFrogSEOSpiderCli.exe"
}
}
}
}编辑配置后重启 Claude Desktop。
工具
工具 | 功能 |
| 验证 SF 是否已安装并获得许可 |
| 开始无头爬取 |
| 检查爬取进度 |
| 列出 SF 数据库中保存的爬取记录 |
| 将爬取数据导出为 CSV |
| 读取并过滤导出的 CSV 数据 |
| 删除保存的爬取记录 |
| 显示爬取存储的磁盘使用情况 |
配置
变量 | 默认值 | 备注 |
| Mac: 自动检测 | 在 Windows 或自定义安装上需手动设置 |
已知限制
Windows 陈旧爬取路径 — 自动清理功能在 Mac 上有效。在 Windows 上,如果中断后爬取失败,请检查 SF 安装目录中的
crawl.seospider文件并手动删除它。无爬取进度百分比 — SF 的无头 CLI 不会报告爬取过程中的进度。你只能知道它何时开始和何时结束。
大型网站 — 已在约 160 页的网站上测试。未在 1 万页以上的网站上进行压力测试。
许可证
MIT — 参见 LICENSE
致谢
原始 MCP 服务器由 Boaz Sasson 开发。
Available Tools
8 toolscrawl_siteA
Start a background Screaming Frog crawl that saves to SF's internal database.
Args: url: The URL to crawl (e.g. https://example.com) config_file: Optional path to a .seospiderconfig file for crawl settings (including crawl limits) label: Optional label for identifying this crawl (e.g. 'freshgovjobs')
Returns: A crawl_id to use with crawl_status to check progress. The crawl runs in the background - use crawl_status to poll.
Note: To limit the number of URLs crawled, export a .seospiderconfig from the SF GUI with the desired crawl limit, then pass it via config_file.
Inputs: url (required), config_file, label. Returns: result
crawl_statusC
Check the status of a running or completed crawl.
Args: crawl_id: The crawl_id returned by crawl_site
Inputs: crawl_id (required). Returns: result
delete_crawlA
Delete a crawl from Screaming Frog's internal database to free disk space.
Args: db_id: The Database ID from list_crawls
WARNING: This permanently deletes the crawl data. It cannot be undone.
Inputs: db_id (required). Returns: result
export_crawlA
Load a saved crawl from SF's database and export data as CSV files.
Args: db_id: The Database ID from list_crawls (e.g. '1234' or a crawl identifier) export_tabs: Comma-separated export tabs (default: Internal:All,Response Codes:All,Page Titles:All,Meta Description:All,H1:All,H2:All,Images:All,Canonicals:All,Directives:All). See the export-reference resource for all options. bulk_export: Optional bulk export types (e.g. 'All Inlinks,All Outlinks') save_report: Optional reports to save (e.g. 'Crawl Overview')
Returns: An export_id and list of generated CSV files. Use read_crawl_data to read them.
Inputs: db_id (required), export_tabs, bulk_export, save_report. Returns: result
list_crawlsA
List all crawls saved in Screaming Frog's internal database. Returns crawl names, Database IDs, and sizes. Use the Database ID with export_crawl or delete_crawl.
Inputs: no named parameters. Returns: result
read_crawl_dataA
Read CSV data from an export. Use after export_crawl.
Args: export_id: The export_id from export_crawl file: CSV filename to read (from the file list in export_crawl output) limit: Max rows to return (default 100) offset: Number of rows to skip (for pagination) filter_column: Optional column name to filter by filter_value: Optional value to match in the filter column (case-insensitive substring)
Returns: CSV data as formatted text with column headers.
Inputs: export_id (required), file (required), limit, offset, +2 more. Returns: result
sf_checkA
Verify that Screaming Frog SEO Spider is installed and the CLI is accessible. Returns version info and license status.
Inputs: no named parameters. Returns: result
storage_summaryA
Show disk usage of Screaming Frog's internal crawl storage. Returns total size and per-crawl breakdown of ProjectInstanceData.
Inputs: no named parameters. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool has a distinct purpose with no overlap: crawl_site initiates crawls, crawl_status checks progress, delete_crawl removes data, export_crawl exports data, list_crawls lists saved crawls, read_crawl_data reads exported data, sf_check verifies installation, and storage_summary shows disk usage. The descriptions clearly differentiate their functions, preventing agent misselection.
All tools follow a consistent snake_case naming pattern with clear verb_noun structures (e.g., crawl_site, list_crawls, read_crawl_data). The naming is predictable and readable throughout the set, with no deviations in style or convention.
With 8 tools, this server is well-scoped for managing Screaming Frog crawls. Each tool earns its place by covering essential operations like starting, monitoring, exporting, and managing crawls, without being overly sparse or bloated. The count aligns perfectly with the domain's workflow needs.
The tool set provides complete CRUD/lifecycle coverage for Screaming Frog crawls: create (crawl_site), read (export_crawl, read_crawl_data), update (implied via crawl_status monitoring), delete (delete_crawl), and management (list_crawls, storage_summary, sf_check). There are no obvious gaps, and agents can handle all core tasks without dead ends.
Related MCP Connectors
Unified 15-tool SEO, SERP, clean Markdown & GEO (LLM citation Share-of-Voice) MCP server.
Audit, rank-track and analyze SEO for sites via an authenticated MCP server.
Free open-source IndexNow, Sitemap, Redirect & AI Crawler MCP server for Bing, ChatGPT & Copilot.
Hosted MCP server: 450+ ready-made scrapers as tools that return clean, structured records
Related MCP Servers
- FlicenseBqualityDmaintenanceAn MCP Server for Web scraping and Crawling, built using Crawl4AI224-
- AlicenseAqualityBmaintenanceEnables AI assistants to crawl websites, export crawl data, and manage crawl storage using Screaming Frog SEO Spider through the MCP protocol.9315 PyPI98MIT
- AlicenseAqualityDmaintenanceA headless web-scraping MCP server built on Scrapy, providing tools for polite fetching, CSS/XPath extraction, link/table extraction, sitemap and robots.txt reading, and bounded asynchronous crawls.10MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for controlling Screaming Frog SEO Spider through AI assistants, enabling crawling, SEO issue analysis, and quick page checks via natural language commands.1MIT