Firecrawl Extension for Claude SEO

Full-site crawling, scraping, and site mapping via Firecrawl MCP.

How to use it

  1. Hit Copy SKILL.md — or use the Claude Code line below to get every file.
  2. Claude: ⋯ → Download .md, then Customize → Skills → Add → Upload skill.
    ChatGPT: make a Project and paste it into Instructions.
    Neither? Paste it at the top of a new chat — it works for that chat.
  3. Describe your job in plain words. The AI follows the skill from there.
Claude Code — installs the whole folder, not just SKILL.md
npx degit AgriciDaniel/claude-seo/extensions/firecrawl/skills/seo-firecrawl#main ~/.claude/skills/seo-firecrawl

For one project only, change the path to .claude/skills/seo-firecrawl. This skill also uses fetch_page.py, robots.txt — copying SKILL.md alone won't be enough. See the folder on GitHub.

Not working?
  • Check which app you pasted it into — the steps above name the right one.
  • Some skills need the paid tier of Claude or ChatGPT.
Step-by-step guide with screenshots · Ask in the forum

Paste into Claude, ChatGPT or Cursor.

Show the full text203 lines
seo-firecrawl/SKILL.md203 lines7.9 KBpushed 11d agoRawView on GitHub

Firecrawl Extension for Claude SEO

This skill requires the Firecrawl extension to be installed:

./extensions/firecrawl/install.sh

Check availability: Before using any Firecrawl tool, verify the MCP server is connected by checking if firecrawl_scrape or any Firecrawl tool is available. If tools are not available, inform the user the extension is not installed and provide install instructions.

Quick Reference

Command Purpose
/seo firecrawl crawl <url> Full-site crawl with content extraction
/seo firecrawl map <url> Discover site structure (URLs only, fast)
/seo firecrawl scrape <url> Single-page scrape with JS rendering
/seo firecrawl search <query> <url> Search within a crawled site

Commands

crawl -- Full-Site Crawl

Crawl an entire website starting from the given URL. Returns page content, metadata, and links for all discovered pages.

MCP Tool: firecrawl_crawl

Parameters:

  • url (required): Starting URL to crawl
  • limit: Max pages to crawl (default: 100, max: 500)
  • maxDepth: Max link depth from start URL (default: 3)
  • includePaths: Array of glob patterns to include (e.g., ["/blog/*"])
  • excludePaths: Array of glob patterns to exclude (e.g., ["/admin/*", "/api/*"])
  • scrapeOptions.formats: Output formats -- ["markdown", "html", "links"]

SEO Usage Patterns:

  1. Comprehensive audit crawl: Crawl full site, extract all pages for subagent analysis
  2. Section-focused crawl: Use includePaths to audit only /blog/* or /products/*
  3. Broken link detection: Crawl with ["links"] format, check all hrefs for 404s
  4. Content inventory: Extract all page titles, meta descriptions, H1s at scale
  5. SPA/JS-rendered sites: Firecrawl renders JavaScript, solving the Issue #11 problem

Example orchestration for /seo audit:

1. firecrawl_map(url) -> get all URLs (fast, no content)
2. Filter to top 50 most important pages (homepage, key sections)
3. firecrawl_crawl(url, limit=50) -> get full content
4. Feed content to seo-technical, seo-content, seo-schema agents

Cost awareness:

  • Free tier: 500 credits/month
  • 1 credit = 1 page crawled or scraped
  • Map operations are cheaper (0.5 credits per URL discovered)
  • Always inform user of estimated credit usage before large crawls

map -- Site Structure Discovery

Discover all URLs on a website without fetching content. Fast and credit-efficient.

MCP Tool: firecrawl_map

Parameters:

  • url (required): Website URL to map
  • limit: Max URLs to discover (default: 5000)
  • search: Optional search term to filter URLs

SEO Usage Patterns:

  1. Sitemap comparison: Map site, compare discovered URLs vs XML sitemap
  2. Orphan page detection: URLs in sitemap but not linked from any page
  3. Crawl budget analysis: Total indexable pages vs pages linked from homepage
  4. URL pattern analysis: Identify URL structure patterns, duplicates, parameter bloat
  5. Pre-audit discovery: Run map first, then targeted crawl on key sections

Output: Array of URLs. Present as:

Site: example.com
Pages discovered: 342

URL Pattern Breakdown:
  /blog/*          - 128 pages (37%)
  /products/*      - 89 pages (26%)
  /category/*      - 45 pages (13%)
  /pages/*         - 32 pages (9%)
  / (root pages)   - 48 pages (14%)

scrape -- Single-Page Deep Scrape

Scrape a single page with full JavaScript rendering. More thorough than fetch_page.py because it executes JS and waits for dynamic content.

MCP Tool: firecrawl_scrape

Parameters:

  • url (required): Page URL to scrape
  • formats: Output formats -- ["markdown", "html", "links", "screenshot"]
  • onlyMainContent: Strip nav/footer/sidebar (default: true)
  • waitFor: CSS selector or milliseconds to wait for content
  • timeout: Request timeout in ms (default: 30000)
  • actions: Browser actions before scraping (click, scroll, wait)

SEO Usage Patterns:

  1. SPA content extraction: Scrape JS-rendered React/Vue/Angular pages
  2. Dynamic content audit: Pages with lazy-loaded content below the fold
  3. Paywall/login detection: Identify content behind authentication walls
  4. Main content extraction: Use onlyMainContent for clean E-E-A-T analysis
  5. Screenshot capture: Use screenshot format for visual analysis

When to use scrape vs fetch_page.py:

Scenario Use
Static HTML page fetch_page.py (no API cost)
JS-rendered SPA firecrawl_scrape (renders JS)
Need response headers fetch_page.py (returns headers)
Need clean markdown firecrawl_scrape (better extraction)
Rate-limited/blocked firecrawl_scrape (handles anti-bot)

search -- Site-Scoped Search

Search within a website for specific content. Useful for finding pages related to a topic without crawling everything.

MCP Tool: firecrawl_search

Parameters:

  • query (required): Search query
  • url (required): Website to search within
  • limit: Max results (default: 10)
  • scrapeOptions.formats: Output format for matched pages

SEO Usage Patterns:

  1. Content gap validation: Search for a keyword on the site to check if content exists
  2. Internal linking opportunities: Find pages mentioning a topic that could link to each other
  3. Duplicate content detection: Search for key phrases to find near-duplicates
  4. Competitor content research: Search competitor site for specific topics

Cross-Skill Integration

With seo-audit (full audit)

When Firecrawl is available during /seo audit:

  1. Use firecrawl_map to discover all site URLs
  2. Compare with XML sitemap (seo-sitemap) to find orphan/missing pages
  3. Select top pages for deep analysis
  4. Feed crawled content to all subagents (technical, content, schema, geo)
  5. Report total crawlable pages, URL patterns, and crawl depth

With seo-technical

  • Broken link detection: crawl all internal links, check for 404s
  • Redirect chain mapping: follow all redirects, flag chains > 2 hops
  • Mixed content detection: check HTTP resources on HTTPS pages
  • Canonical verification: compare canonical URLs with actual URLs

With seo-sitemap

  • Sitemap coverage: % of crawled pages present in sitemap
  • Orphan pages: pages found by crawl but missing from sitemap
  • Stale sitemap entries: URLs in sitemap that return 404/410

With seo-content

  • Content extraction: feed clean markdown to E-E-A-T analysis
  • Thin content detection: identify pages with < 300 words at scale
  • Duplicate content: compare content across pages for near-duplicates

With seo-schema

  • Schema extraction: pull JSON-LD from all crawled pages
  • Schema coverage: % of pages with structured data
  • Schema validation: batch-validate extracted schemas

Error Handling

Error Cause Resolution
FIRECRAWL_API_KEY not set MCP not configured Run ./extensions/firecrawl/install.sh
402 Payment Required Credits exhausted Check usage at firecrawl.dev/app, upgrade plan
429 Too Many Requests Rate limited Wait 60s, reduce crawl concurrency
408 Timeout Page too slow to render Increase timeout, try without JS rendering
403 Forbidden Site blocks crawling Check robots.txt, may need to skip this site

Graceful fallback: If Firecrawl is unavailable, inform the user and suggest:

  1. Use fetch_page.py for single-page analysis (no API cost)
  2. Use WebFetch tool for basic HTML retrieval
  3. Install Firecrawl: ./extensions/firecrawl/install.sh
1---
2name: seo-firecrawl
3description: >
4 Full-site crawling, scraping, and site mapping via Firecrawl MCP.
5 Use when user says "crawl site", "map site", "full crawl",
6 "find all pages", "broken links", "site structure",
7 "discover pages", "JS rendering", or needs site-wide analysis.
8user-invocable: true
9argument-hint: "[command] <url>"
10license: MIT
11compatibility: "Requires Firecrawl MCP server"
12metadata:
13 author: AgriciDaniel
14 version: "2.3.1"
15 category: seo
16---
17 
18# Firecrawl Extension for Claude SEO
19 
20This skill requires the Firecrawl extension to be installed:
21```bash
22./extensions/firecrawl/install.sh
23```
24 
25**Check availability:** Before using any Firecrawl tool, verify the MCP server
26is connected by checking if `firecrawl_scrape` or any Firecrawl tool
27is available. If tools are not available, inform the user the extension is not
28installed and provide install instructions.
29 
30## Quick Reference
31 
32| Command | Purpose |
33|---------|---------|
34| `/seo firecrawl crawl <url>` | Full-site crawl with content extraction |
35| `/seo firecrawl map <url>` | Discover site structure (URLs only, fast) |
36| `/seo firecrawl scrape <url>` | Single-page scrape with JS rendering |
37| `/seo firecrawl search <query> <url>` | Search within a crawled site |
38 
39## Commands
40 
41### crawl -- Full-Site Crawl
42 
43Crawl an entire website starting from the given URL. Returns page content,
44metadata, and links for all discovered pages.
45 
46**MCP Tool:** `firecrawl_crawl`
47 
48**Parameters:**
49- `url` (required): Starting URL to crawl
50- `limit`: Max pages to crawl (default: 100, max: 500)
51- `maxDepth`: Max link depth from start URL (default: 3)
52- `includePaths`: Array of glob patterns to include (e.g., `["/blog/*"]`)
53- `excludePaths`: Array of glob patterns to exclude (e.g., `["/admin/*", "/api/*"]`)
54- `scrapeOptions.formats`: Output formats -- `["markdown", "html", "links"]`
55 
56**SEO Usage Patterns:**
571. **Comprehensive audit crawl**: Crawl full site, extract all pages for subagent analysis
582. **Section-focused crawl**: Use `includePaths` to audit only `/blog/*` or `/products/*`
593. **Broken link detection**: Crawl with `["links"]` format, check all hrefs for 404s
604. **Content inventory**: Extract all page titles, meta descriptions, H1s at scale
615. **SPA/JS-rendered sites**: Firecrawl renders JavaScript, solving the Issue #11 problem
62 
63**Example orchestration for `/seo audit`:**
64```
651. firecrawl_map(url) -> get all URLs (fast, no content)
662. Filter to top 50 most important pages (homepage, key sections)
673. firecrawl_crawl(url, limit=50) -> get full content
684. Feed content to seo-technical, seo-content, seo-schema agents
69```
70 
71**Cost awareness:**
72- Free tier: 500 credits/month
73- 1 credit = 1 page crawled or scraped
74- Map operations are cheaper (0.5 credits per URL discovered)
75- Always inform user of estimated credit usage before large crawls
76 
77### map -- Site Structure Discovery
78 
79Discover all URLs on a website without fetching content. Fast and credit-efficient.
80 
81**MCP Tool:** `firecrawl_map`
82 
83**Parameters:**
84- `url` (required): Website URL to map
85- `limit`: Max URLs to discover (default: 5000)
86- `search`: Optional search term to filter URLs
87 
88**SEO Usage Patterns:**
891. **Sitemap comparison**: Map site, compare discovered URLs vs XML sitemap
902. **Orphan page detection**: URLs in sitemap but not linked from any page
913. **Crawl budget analysis**: Total indexable pages vs pages linked from homepage
924. **URL pattern analysis**: Identify URL structure patterns, duplicates, parameter bloat
935. **Pre-audit discovery**: Run map first, then targeted crawl on key sections
94 
95**Output:** Array of URLs. Present as:
96```
97Site: example.com
98Pages discovered: 342
99 
100URL Pattern Breakdown:
101 /blog/* - 128 pages (37%)
102 /products/* - 89 pages (26%)
103 /category/* - 45 pages (13%)
104 /pages/* - 32 pages (9%)
105 / (root pages) - 48 pages (14%)
106```
107 
108### scrape -- Single-Page Deep Scrape
109 
110Scrape a single page with full JavaScript rendering. More thorough than
111`fetch_page.py` because it executes JS and waits for dynamic content.
112 
113**MCP Tool:** `firecrawl_scrape`
114 
115**Parameters:**
116- `url` (required): Page URL to scrape
117- `formats`: Output formats -- `["markdown", "html", "links", "screenshot"]`
118- `onlyMainContent`: Strip nav/footer/sidebar (default: true)
119- `waitFor`: CSS selector or milliseconds to wait for content
120- `timeout`: Request timeout in ms (default: 30000)
121- `actions`: Browser actions before scraping (click, scroll, wait)
122 
123**SEO Usage Patterns:**
1241. **SPA content extraction**: Scrape JS-rendered React/Vue/Angular pages
1252. **Dynamic content audit**: Pages with lazy-loaded content below the fold
1263. **Paywall/login detection**: Identify content behind authentication walls
1274. **Main content extraction**: Use `onlyMainContent` for clean E-E-A-T analysis
1285. **Screenshot capture**: Use `screenshot` format for visual analysis
129 
130**When to use scrape vs fetch_page.py:**
131| Scenario | Use |
132|----------|-----|
133| Static HTML page | `fetch_page.py` (no API cost) |
134| JS-rendered SPA | `firecrawl_scrape` (renders JS) |
135| Need response headers | `fetch_page.py` (returns headers) |
136| Need clean markdown | `firecrawl_scrape` (better extraction) |
137| Rate-limited/blocked | `firecrawl_scrape` (handles anti-bot) |
138 
139### search -- Site-Scoped Search
140 
141Search within a website for specific content. Useful for finding pages
142related to a topic without crawling everything.
143 
144**MCP Tool:** `firecrawl_search`
145 
146**Parameters:**
147- `query` (required): Search query
148- `url` (required): Website to search within
149- `limit`: Max results (default: 10)
150- `scrapeOptions.formats`: Output format for matched pages
151 
152**SEO Usage Patterns:**
1531. **Content gap validation**: Search for a keyword on the site to check if content exists
1542. **Internal linking opportunities**: Find pages mentioning a topic that could link to each other
1553. **Duplicate content detection**: Search for key phrases to find near-duplicates
1564. **Competitor content research**: Search competitor site for specific topics
157 
158## Cross-Skill Integration
159 
160### With seo-audit (full audit)
161When Firecrawl is available during `/seo audit`:
1621. Use `firecrawl_map` to discover all site URLs
1632. Compare with XML sitemap (seo-sitemap) to find orphan/missing pages
1643. Select top pages for deep analysis
1654. Feed crawled content to all subagents (technical, content, schema, geo)
1665. Report total crawlable pages, URL patterns, and crawl depth
167 
168### With seo-technical
169- Broken link detection: crawl all internal links, check for 404s
170- Redirect chain mapping: follow all redirects, flag chains > 2 hops
171- Mixed content detection: check HTTP resources on HTTPS pages
172- Canonical verification: compare canonical URLs with actual URLs
173 
174### With seo-sitemap
175- Sitemap coverage: % of crawled pages present in sitemap
176- Orphan pages: pages found by crawl but missing from sitemap
177- Stale sitemap entries: URLs in sitemap that return 404/410
178 
179### With seo-content
180- Content extraction: feed clean markdown to E-E-A-T analysis
181- Thin content detection: identify pages with < 300 words at scale
182- Duplicate content: compare content across pages for near-duplicates
183 
184### With seo-schema
185- Schema extraction: pull JSON-LD from all crawled pages
186- Schema coverage: % of pages with structured data
187- Schema validation: batch-validate extracted schemas
188 
189## Error Handling
190 
191| Error | Cause | Resolution |
192|-------|-------|-----------|
193| `FIRECRAWL_API_KEY not set` | MCP not configured | Run `./extensions/firecrawl/install.sh` |
194| `402 Payment Required` | Credits exhausted | Check usage at firecrawl.dev/app, upgrade plan |
195| `429 Too Many Requests` | Rate limited | Wait 60s, reduce crawl concurrency |
196| `408 Timeout` | Page too slow to render | Increase `timeout`, try without JS rendering |
197| `403 Forbidden` | Site blocks crawling | Check robots.txt, may need to skip this site |
198 
199**Graceful fallback:** If Firecrawl is unavailable, inform the user and suggest:
2001. Use `fetch_page.py` for single-page analysis (no API cost)
2012. Use `WebFetch` tool for basic HTML retrieval
2023. Install Firecrawl: `./extensions/firecrawl/install.sh`
203 

Discussion

Alternatives

Also in SEO & keywords