mcpField
F
firecrawl-scrape

firecrawl-scrape

github.com/parcadeiデータ・データベース3.9k492 回インストール39 週間前に更新
リポジトリ

firecrawl-scrape について

Firecrawl サーバーを通じてウェブページを取得し、構造化コンテンツの抽出や検索を行うスキルです。Markdown、HTML、テキスト形式でページ内容を扱うワークフローに適しています。

主な機能

  1. 01URL のスクレイピング
  2. 02ページ内容の抽出
  3. 03ウェブ検索
  4. 04Markdown、HTML、テキスト出力の選択

活用シーン

  1. 01ドキュメントページの内容収集
  2. 02ウェブページからのテキスト取得
  3. 03トピックを検索して結果を取得

MCP 対応

スクリプトの実行には `firecrawl` MCP サーバーの設定と `FIRECRAWL_API_KEY` が必要です。

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/parcadei/continuous-claude-v3 --skill firecrawl-scrape

インストール後、Claude Code で/firecrawl-scrapeを入力して読み込まれたか確認します。

詳細

Firecrawl スクレイプスキル

使用する場面

  • あらゆる URL からコンテンツをスクレイピングします
  • Web ページから構造化データを抽出します
  • Web を検索し、コンテンツを取得します

手順

uv run python -m runtime.harness scripts/mcp/firecrawl_scrape.py \
    --url "https://example.com" \
    --format "markdown"
パラメーター
  • --url:スクレイピングする URL
  • --format:出力形式 - markdown、html、text(デフォルト:markdown)
  • --search:(代替)直接 URL を指定する代わりに検索クエリを指定します
例
# Scrape a page
uv run python -m runtime.harness scripts/mcp/firecrawl_scrape.py \
    --url "https://docs.python.org/3/library/asyncio.html"

# Search and scrape
uv run python -m runtime.harness scripts/mcp/firecrawl_scrape.py \
    --search "Python asyncio best practices 2024"

必須の MCP サーバー

mcp_config.json で FIRECRAWL_API_KEY を設定した firecrawl サーバーが必要です。

コメント