firecrawl-scrape

parcadei 的头像作者 parcadei

通过 Firecrawl MCP 抓取网页并提取内容。

📖 中文导读:通过 Firecrawl MCP 抓取网页并提取内容。 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: firecrawl-scrape description: Scrape web pages and extract content via Firecrawl MCP allowed-tools: [Bash, Read]

Firecrawl Scrape Skill

When to Use

  • Scrape content from any URL
  • Extract structured data from web pages
  • Search the web and get content

Instructions

uv run python -m runtime.harness scripts/mcp/firecrawl_scrape.py \
    --url "https://example.com" \
    --format "markdown"

Parameters

  • --url: URL to scrape
  • --format: Output format - markdown, html, text (default: markdown)
  • --search: (alternative) Search query instead of direct URL

Examples

# 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 Server Required

Requires firecrawl server in mcp_config.json with FIRECRAWL_API_KEY.