Skip to main content
Glama
screaming-frog-mcp

screaming-frog-mcp

screaming-frog-mcp

ClaudeからScreaming Frog SEO Spiderのヘッドレスクロールを実行し、データのエクスポートやクロールストレージの管理をGUIを開かずに可能にするMCPサーバーです。

ClaudeにURLを入力するだけで、Screaming Frogがバックグラウンドで実行され、データが返されます。

bzsasson/screaming-frog-mcp v0.1.0をフォークし、バグ修正を行ったものです。オリジナル版には、クロールがハングアップするパイプのデッドロック、初回実行後にすべてをブロックしてしまう誤ったGUI検出、クロールデータベース全体を削除してしまう可能性のある削除コマンドなど、実用上の問題がありました。これらはすべて修正済みです。


修正内容

バグ

修正内容

パイプのデッドロック

stdout/stderrをPIPEではなくログファイルにリダイレクト。SFが大量の出力を生成してもクロールがハングアップしなくなりました。

GUI検出

ps auxの代わりにpsutilを使用。MacとWindowsで動作します。ヘッドレスCLIプロセスがGUIと誤認されなくなりました。

古いクロールのクリーンアップ

クロールが中断された際、SFがアプリバンドル内に一時的なcrawl.seospiderファイルを残す問題があり、それ以降のクロールがすべて失敗していました。実行前に自動クリーンアップされるようにしました。

削除の安全性

delete_crawl(".")がルートデータディレクトリを解決してすべてを削除してしまう問題を修正しました。

エクスポートディレクトリのリーク

エクスポート失敗時に一時ディレクトリがディスクに残る問題を修正しました。

入力バリデーション

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_check

SFのインストールとライセンス状況を確認

crawl_site

ヘッドレスクロールを開始

crawl_status

クロールの進捗を確認

list_crawls

SFデータベース内の保存済みクロールを一覧表示

export_crawl

クロールデータをCSVとしてエクスポート

read_crawl_data

エクスポートされたCSVデータを読み込み、フィルタリング

delete_crawl

保存されたクロールを削除

storage_summary

クロールストレージのディスク使用量を表示


設定

変数

デフォルト

備考

SF_CLI_PATH

Mac: 自動検出

Windowsやカスタムインストール環境では手動で設定


既知の制限事項

  • Windowsでの古いクロールパス — 自動クリーンアップはMacで動作します。Windowsで中断後にクロールが失敗する場合は、SFインストールディレクトリ内のcrawl.seospiderファイルを確認し、手動で削除してください。

  • クロール進捗率の非表示 — SFのヘッドレスCLIはクロール中の進捗を報告しません。開始と終了のみがわかります。

  • 大規模サイト — 約160ページまでのサイトでテスト済みです。1万ページを超えるサイトでの負荷テストは行っていません。


ライセンス

MIT — LICENSEを参照してください。


クレジット

オリジナルのMCPサーバーはBoaz Sassonによるものです。

Available Tools

8 tools
crawl_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

    A4.2/5.0

    Scored across 8 tools

    Disambiguation5/5

    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.

    Naming Consistency5/5

    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.

    Tool Count5/5

    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.

    Completeness5/5

    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

    Related MCP Servers