Universal SEO skill for Claude Code. 26 sub-skills + 19 sub-agents covering technical SEO, E-E-A-T, schema, GEO/AEO, agent readiness (Lighthouse Agentic Browsing, WebMCP, llms.txt), backlinks, local SEO, e-commerce, international SEO, Google APIs, and PDF/Excel reporting. 9 optional extensions for live SEO data.
v1.3.0: Extension system, DataForSEO MCP, audit fixes
AgriciDaniel2e679d52be30
diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.jsonindex 4ef67df..f6595a7 100644--- a/.claude-plugin/plugin.json+++ b/.claude-plugin/plugin.json@@ -1,6 +1,6 @@{"name": "claude-seo",- "version": "1.2.0",+ "version": "1.3.0","description": "Comprehensive SEO analysis skill for Claude Code. Covers technical SEO, content quality (E-E-A-T), schema markup, image optimization, sitemap architecture, AI search optimization (GEO), and strategic planning across all industries.","author": "AgriciDaniel","license": "MIT",diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 96e61e9..33dd569 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -5,6 +5,27 @@ All notable changes to this project will be documented in this file.The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).+## [1.3.0] - 2026-03-06++### Added+- **Extension system**: `extensions/` directory convention for self-contained add-ons with install/uninstall scripts+- **DataForSEO extension**: 22 commands across 9 API modules (SERP, keywords, backlinks, on-page, content, business listings, AI visibility, LLM mentions). Install: `./extensions/dataforseo/install.sh`+- **DataForSEO integration**: seo-audit, seo-content, seo-geo, seo-page, seo-plan, seo-technical auto-detect DataForSEO MCP tools for enriched analysis+- **Plugin manifest**: `.claude-plugin/plugin.json` for official plugin directory submission+- **Documentation**: Extensions architecture in ARCHITECTURE.md, 22 new commands in COMMANDS.md, updated MCP integration guide++### Fixed+- **Title tag threshold**: Pre-commit hook now uses 60-char max, aligned with quality-gates.md and echo message+- **SSRF prevention**: Added to `capture_screenshot.py` (defense-in-depth, matching `fetch_page.py`)+- **Frontmatter cleanup**: Removed non-standard `allowed-tools` from main SKILL.md++### Changed+- Sub-skill count: 12 → 13 (added seo-dataforseo)+- Subagent count: 6 → 7 (added seo-dataforseo agent, optional)+- DataForSEO promoted from "Community" to "Official extension" in MCP docs++---+## [1.2.0] - 2026-02-19### Securitydiff --git a/README.md b/README.mdindex 8d0fb74..d23220e 100644--- a/README.md+++ b/README.md@@ -1,4 +1,4 @@-<!-- Updated: 2026-02-08 -->+<!-- Updated: 2026-03-06 -->@@ -194,6 +194,30 @@ curl -fsSL https://raw.githubusercontent.com/AgriciDaniel/claude-seo/main/uninstIntegrates with MCP servers for live SEO data — including official servers from **Ahrefs** (`@ahrefs/mcp`) and **Semrush**, plus community servers for Google Search Console, PageSpeed Insights, and DataForSEO. See [MCP Integration Guide](docs/MCP-INTEGRATION.md) for setup.+## Extensions++Optional add-ons that integrate external data sources via MCP servers.++### DataForSEO++Live SERP data, keyword research, backlinks, on-page analysis, content analysis, business listings, AI visibility checking, and LLM mention tracking. 22 commands across 9 API modules.++```bash+# Install (requires DataForSEO account)+./extensions/dataforseo/install.sh+```++```bash+# Example commands+/seo dataforseo serp best coffee shops+/seo dataforseo keywords seo tools+/seo dataforseo backlinks example.com+/seo dataforseo ai-mentions your brand+/seo dataforseo ai-scrape your brand name+```++See [DataForSEO Extension](extensions/dataforseo/README.md) for full documentation.+## Documentation- [Installation Guide](docs/INSTALLATION.md)diff --git a/TODO.md b/TODO.mdindex fa9841f..4bf7f92 100644--- a/TODO.md+++ b/TODO.md@@ -9,6 +9,11 @@- [x] **requirements.txt persistence** — Copied to skill dir after install (from @edustef #1)- [x] **Path traversal prevention** — Output path sanitization in capture_screenshot.py, file validation in parse_html.py+## Completed — Extensions++- [x] **Extension system** — `extensions/` directory convention with self-contained add-ons+- [x] **DataForSEO extension** — 22 commands across 9 API modules (SERP, keywords, backlinks, on-page, content, business listings, AI visibility, LLM mentions). Install: `./extensions/dataforseo/install.sh`+## Deferred from Community Feedback- [ ] **Reduce Bash scope on agents** (Priority: Medium, from @artyomsv #7)diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.mdindex 4ed4c30..d5bb003 100644--- a/docs/ARCHITECTURE.md+++ b/docs/ARCHITECTURE.md@@ -191,3 +191,41 @@ User Request (e.g., /seo page)1. Create file in appropriate `references/` directory2. Reference in skill with load-on-demand instruction++## Extensions++Extensions are opt-in add-ons that integrate external data sources via MCP servers. They live in `extensions/<name>/` and include their own install/uninstall scripts.++```+extensions/+└── dataforseo/ # DataForSEO MCP integration+ ├── README.md # Extension documentation+ ├── install.sh # Unix installer+ ├── install.ps1 # Windows installer+ ├── uninstall.sh # Unix uninstaller+ ├── uninstall.ps1 # Windows uninstaller+ ├── field-config.json # API response field filtering+ ├── skills/+ │ └── seo-dataforseo/+ │ └── SKILL.md # Sub-skill (22 commands)+ ├── agents/+ │ └── seo-dataforseo.md # Subagent+ └── docs/+ └── DATAFORSEO-SETUP.md # Account setup guide+```++### Available Extensions++| Extension | Package | What it Adds |+|-----------|---------|-------------|+| **DataForSEO** | `dataforseo-mcp-server` | 22 commands: live SERP, keywords, backlinks, on-page analysis, content analysis, business listings, AI visibility, LLM mentions |++### Extension Convention++Each extension follows this pattern:+1. Self-contained in `extensions/<name>/`+2. Own `install.sh` and `install.ps1` that copy files and configure MCP+3. Own `uninstall.sh` and `uninstall.ps1` that cleanly reverse installation+4. Installs skill to `~/.claude/skills/seo-<name>/`+5. Installs agent to `~/.claude/agents/seo-<name>.md`+6. Merges MCP config into `~/.claude/settings.json` (non-destructive)diff --git a/docs/COMMANDS.md b/docs/COMMANDS.mdindex de35dae..613fb2a 100644--- a/docs/COMMANDS.md+++ b/docs/COMMANDS.md@@ -259,6 +259,60 @@ Programmatic SEO analysis and planning for pages generated at scale.---+### `/seo dataforseo [command]`++Live SEO data via DataForSEO MCP server (extension). 22 commands across 9 API modules.++**Prerequisites:** DataForSEO extension installed (`./extensions/dataforseo/install.sh`)++**SERP Analysis:**+```+/seo dataforseo serp <keyword> # Google organic results (also Bing/Yahoo)+/seo dataforseo serp-youtube <keyword> # YouTube search results+/seo dataforseo youtube <video_id> # YouTube video deep analysis+```++**Keyword Research:**+```+/seo dataforseo keywords <seed> # Keyword ideas and suggestions+/seo dataforseo volume <keywords> # Search volume metrics+/seo dataforseo difficulty <keywords> # Keyword difficulty scores+/seo dataforseo intent <keywords> # Search intent classification+/seo dataforseo trends <keyword> # Google Trends data+```++**Domain & Competitors:**+```+/seo dataforseo backlinks <domain> # Full backlink profile+/seo dataforseo competitors <domain> # Competitor analysis+/seo dataforseo ranked <domain> # Ranked keywords+/seo dataforseo intersection <domains> # Keyword/backlink overlap+/seo dataforseo traffic <domains> # Traffic estimation+/seo dataforseo subdomains <domain> # Subdomains with ranking data+/seo dataforseo top-searches <domain> # Top queries mentioning domain+```++**Technical / On-Page:**+```+/seo dataforseo onpage <url> # On-page analysis (Lighthouse)+/seo dataforseo tech <domain> # Technology detection+/seo dataforseo whois <domain> # WHOIS data+```++**Content & Business Data:**+```+/seo dataforseo content <keyword/url> # Content analysis and trends+/seo dataforseo listings <keyword> # Business listings search+```++**AI Visibility / GEO:**+```+/seo dataforseo ai-scrape <query> # ChatGPT web scraper for GEO+/seo dataforseo ai-mentions <keyword> # LLM mention tracking+```++---+## Quick Reference| Command | Use Case |@@ -276,3 +330,4 @@ Programmatic SEO analysis and planning for pages generated at scale.| `/seo sitemap <url>` | Sitemap validation || `/seo sitemap generate` | Create new sitemap || `/seo technical <url>` | Technical SEO check |+| `/seo dataforseo [command]` | Live SEO data (extension) |diff --git a/docs/MCP-INTEGRATION.md b/docs/MCP-INTEGRATION.mdindex eaa2e52..c04ba69 100644--- a/docs/MCP-INTEGRATION.md+++ b/docs/MCP-INTEGRATION.md@@ -71,7 +71,7 @@ The MCP ecosystem for SEO has matured significantly. These are production-ready| **Semrush** | `https://mcp.semrush.com/v1/mcp` | Official (remote) | Full API access via remote MCP endpoint. Domain analytics, keyword research, backlink data. || **Google Search Console** | `mcp-server-gsc` | Community | By ahonn. Search performance, URL inspection, sitemaps. || **PageSpeed Insights** | `mcp-server-pagespeed` | Community | By enemyrr. Lighthouse audits, CWV metrics, performance scoring. |-| **DataForSEO** | `dataforseo-mcp-server` | Community | By Skobyn (GitHub: Skobyn/dataforseo-mcp-server). SERP data, keyword data, backlinks. |+| **DataForSEO** | `dataforseo-mcp-server` | Official extension | 9 modules, 79 tools, 22 commands. Install: `./extensions/dataforseo/install.sh`. See [extension docs](../extensions/dataforseo/README.md). || **kwrds.ai** | kwrds MCP server | Community | Keyword research, search volume, difficulty scoring. || **SEO Review Tools** | SEO Review Tools MCP | Community | Site auditing and on-page analysis API. |diff --git a/extensions/dataforseo/README.md b/extensions/dataforseo/README.mdnew file mode 100644index 0000000..5de8fb6--- /dev/null+++ b/extensions/dataforseo/README.md@@ -0,0 +1,169 @@+# DataForSEO Extension for Claude SEO++Live SEO data via the [DataForSEO MCP server](https://github.com/dataforseo/mcp-server-typescript). Adds 22 commands across 9 API modules — SERP analysis, keyword research, backlinks, on-page analysis, competitor analysis, content analysis, business listings, AI visibility checking, and LLM mention tracking.++## Prerequisites++- [Claude SEO](https://github.com/AgriciDaniel/claude-seo) installed+- Node.js 20++- [DataForSEO account](https://app.dataforseo.com/register) with API credentials++## Installation++### Unix/macOS/Linux++```bash+git clone https://github.com/AgriciDaniel/claude-seo.git+cd claude-seo+./extensions/dataforseo/install.sh+```++### Windows++```powershell+git clone https://github.com/AgriciDaniel/claude-seo.git+cd claude-seo+.\extensions\dataforseo\install.ps1+```++The installer will:+1. Prompt for your DataForSEO username and password+2. Install the skill and agent files+3. Configure the MCP server in `~/.claude/settings.json`+4. Pre-download the `dataforseo-mcp-server` npm package++## Commands++### SERP Analysis++| Command | Description |+|---------|-------------|+| `/seo dataforseo serp <keyword>` | Google organic SERP results (also supports Bing/Yahoo via `se` parameter) |+| `/seo dataforseo serp-youtube <keyword>` | YouTube search results |+| `/seo dataforseo youtube <video_id>` | YouTube video deep analysis (info, comments, subtitles) |++### Keyword Research++| Command | Description |+|---------|-------------|+| `/seo dataforseo keywords <seed>` | Keyword ideas, suggestions, and related terms |+| `/seo dataforseo volume <keywords>` | Search volume for keyword list |+| `/seo dataforseo difficulty <keywords>` | Keyword difficulty scores |+| `/seo dataforseo intent <keywords>` | Search intent classification |+| `/seo dataforseo trends <keyword>` | Google Trends data over time |++### Domain & Competitor Analysis++| Command | Description |+|---------|-------------|+| `/seo dataforseo backlinks <domain>` | Full backlink profile with spam scores |+| `/seo dataforseo competitors <domain>` | Competing domains and traffic estimates |+| `/seo dataforseo ranked <domain>` | Keywords a domain ranks for |+| `/seo dataforseo intersection <domains>` | Keyword/backlink overlap (2-20 domains) |+| `/seo dataforseo traffic <domains>` | Bulk traffic estimation |+| `/seo dataforseo subdomains <domain>` | Subdomains with ranking data |+| `/seo dataforseo top-searches <domain>` | Top queries mentioning domain |++### Technical / On-Page++| Command | Description |+|---------|-------------|+| `/seo dataforseo onpage <url>` | On-page analysis (Lighthouse + content parsing) |+| `/seo dataforseo tech <domain>` | Technology stack detection |+| `/seo dataforseo whois <domain>` | WHOIS registration data |++### Content & Business Data++| Command | Description |+|---------|-------------|+| `/seo dataforseo content <keyword/url>` | Content analysis, search, and phrase trends |+| `/seo dataforseo listings <keyword>` | Business listings search |++### AI Visibility / GEO++| Command | Description |+|---------|-------------|+| `/seo dataforseo ai-scrape <query>` | ChatGPT web scraper for GEO visibility |+| `/seo dataforseo ai-mentions <keyword>` | LLM mention tracking across AI platforms |++## API Modules++All 9 DataForSEO modules are enabled:++| Module | Purpose | Example Commands |+|--------|---------|-----------------|+| SERP | Search engine results | serp, serp-youtube, youtube |+| KEYWORDS_DATA | Search volume, trends | volume, trends |+| DATAFORSEO_LABS | Keyword research, competitors | keywords, difficulty, intent, competitors, ranked, subdomains, top-searches |+| BACKLINKS | Link profiles | backlinks, intersection |+| ONPAGE | Page analysis (Lighthouse) | onpage |+| DOMAIN_ANALYTICS | Tech detection, WHOIS | tech, whois |+| BUSINESS_DATA | Business listings | listings |+| CONTENT_ANALYSIS | Content quality, trends | content |+| AI_OPTIMIZATION | ChatGPT scraper, LLM mentions | ai-scrape, ai-mentions |++## API Credits++DataForSEO charges per API call. Credit costs vary by endpoint:++- **SERP** calls: ~0.001-0.003 per request+- **Keyword** research: ~0.0005-0.002 per keyword+- **Backlinks**: ~0.002-0.01 per request+- **On-page** analysis: ~0.01-0.05 per page+- **AI optimization**: ~0.01 per request++New accounts include a free trial balance. See [DataForSEO pricing](https://dataforseo.com/pricing) for current rates.++## Field Filtering++The extension includes a custom `field-config.json` that reduces API response sizes by ~75%, keeping only SEO-relevant fields. This saves tokens and speeds up analysis.++## Integration with Claude SEO++When installed, other Claude SEO skills automatically detect DataForSEO availability and use live data:++- **`/seo audit`** — Uses real SERP, backlink, and on-page data+- **`/seo technical`** — Uses on-page analysis for real technical data+- **`/seo content`** — Uses keyword volume, difficulty, and intent data+- **`/seo geo`** — Uses ChatGPT scraper and LLM mentions for GEO signals+- **`/seo plan`** — Uses competitor and keyword data for strategy++## Troubleshooting++### MCP server not connecting++1. Check credentials: `cat ~/.claude/settings.json | grep DATAFORSEO`+2. Test manually: `npx -y dataforseo-mcp-server`+3. Re-run installer: `./extensions/dataforseo/install.sh`++### API errors++- **401 Unauthorized**: Check username/password in settings.json+- **402 Payment Required**: Add credits at [app.dataforseo.com](https://app.dataforseo.com)+- **429 Rate Limited**: Wait and retry (DataForSEO has per-second limits)++### Module not available++If a specific command fails, check that the module is in `ENABLED_MODULES` in your settings.json. All 9 modules should be listed.++## Uninstall++### Unix/macOS/Linux++```bash+./extensions/dataforseo/uninstall.sh+```++### Windows++```powershell+.\extensions\dataforseo\uninstall.ps1+```++This removes the skill, agent, field config, and MCP server entry from settings.json.++## Links++- [DataForSEO API Docs](https://docs.dataforseo.com/)+- [DataForSEO MCP Server](https://github.com/dataforseo/mcp-server-typescript)+- [Claude SEO](https://github.com/AgriciDaniel/claude-seo)diff --git a/extensions/dataforseo/agents/seo-dataforseo.md b/extensions/dataforseo/agents/seo-dataforseo.mdnew file mode 100644index 0000000..6295006--- /dev/null+++ b/extensions/dataforseo/agents/seo-dataforseo.md@@ -0,0 +1,34 @@+---+name: seo-dataforseo+description: DataForSEO data analyst. Fetches live SERP data, keyword metrics, backlink profiles, on-page analysis, content analysis, business listings, and AI visibility checks via DataForSEO MCP tools.+tools: Read, Bash, Write, Glob, Grep+---++You are a DataForSEO data analyst. When delegated tasks during an SEO audit or analysis:++1. Check that DataForSEO MCP tools are available before attempting calls+2. Use the most efficient tool combination for the requested data+3. Apply default parameters: location_code=2840 (US), language_code=en unless specified+4. Format output to match claude-seo conventions (tables, priority levels, scores)++## Efficient Tool Usage++- **Prefer bulk endpoints** over multiple single calls to minimize API credits+- **Don't re-fetch** data already retrieved in the same session+- **Warn before expensive operations** (full backlink crawls, large keyword lists)+- **Use limits** — default to limit=100 for list endpoints unless user needs more++## Error Handling++- If a DataForSEO tool returns an error, report the error clearly to the user+- If credentials are invalid, suggest running the extension installer again+- If a module is not enabled, note which module is needed++## Output Format++Match existing claude-seo patterns:+- Tables for comparative data+- Scores as XX/100+- Priority: Critical > High > Medium > Low+- Note data source as "DataForSEO (live)" to distinguish from static HTML analysis+- Include timestamps for time-sensitive data (SERP positions, backlink counts)diff --git a/extensions/dataforseo/docs/DATAFORSEO-SETUP.md b/extensions/dataforseo/docs/DATAFORSEO-SETUP.mdnew file mode 100644index 0000000..8552967--- /dev/null+++ b/extensions/dataforseo/docs/DATAFORSEO-SETUP.md@@ -0,0 +1,74 @@+# DataForSEO Account Setup++Step-by-step guide to getting DataForSEO API credentials for the Claude SEO extension.++## 1. Create Account++1. Go to [app.dataforseo.com/register](https://app.dataforseo.com/register)+2. Sign up with your email address+3. Verify your email++New accounts include a free trial balance for testing.++## 2. Find API Credentials++1. Log in to [app.dataforseo.com](https://app.dataforseo.com)+2. Go to **API Access** in the left sidebar+3. Your credentials are:+ - **Username**: Your registered email address+ - **Password**: Your API password (set during registration)++These are the values you'll enter when running the extension installer.++## 3. Understanding Credits++DataForSEO uses a credit-based system:++- Each API call costs a small number of credits+- Different endpoints have different costs+- Credits are purchased in advance+- Monitor usage at [app.dataforseo.com/dashboard](https://app.dataforseo.com/dashboard)++**Typical costs per call:**++| Endpoint Type | Approximate Cost |+|--------------|-----------------|+| SERP (single query) | $0.001-0.003 |+| Keyword volume (per keyword) | $0.0005-0.002 |+| Backlink summary | $0.002-0.005 |+| Backlink list | $0.005-0.01 |+| On-page crawl (per page) | $0.01-0.05 |+| AI optimization (per call) | $0.01 |++## 4. Manual MCP Configuration++If the installer's auto-configuration fails, add this to `~/.claude/settings.json`:++```json+{+ "mcpServers": {+ "dataforseo": {+ "command": "npx",+ "args": ["-y", "dataforseo-mcp-server"],+ "env": {+ "DATAFORSEO_USERNAME": "[email protected]",+ "DATAFORSEO_PASSWORD": "your-api-password",+ "ENABLED_MODULES": "SERP,KEYWORDS_DATA,ONPAGE,DATAFORSEO_LABS,BACKLINKS,DOMAIN_ANALYTICS,BUSINESS_DATA,CONTENT_ANALYSIS,AI_OPTIMIZATION",+ "FIELD_CONFIG_PATH": "/home/youruser/.claude/skills/seo/dataforseo-field-config.json"+ }+ }+ }+}+```++Replace the username, password, and FIELD_CONFIG_PATH with your actual values.++## 5. Verify Installation++After installing, start Claude Code and run:++```+/seo dataforseo serp test query+```++If you see search results, the extension is working correctly.diff --git a/extensions/dataforseo/field-config.json b/extensions/dataforseo/field-config.jsonnew file mode 100644index 0000000..eb95568--- /dev/null+++ b/extensions/dataforseo/field-config.json@@ -0,0 +1,280 @@+{+ "_comment": "SEO-optimized field filtering for DataForSEO MCP server (9 modules, 79 tools). Reduces token usage ~75% by returning only SEO-relevant fields. Used via FIELD_CONFIG_PATH env var.",+ "serp": {+ "items": {+ "type": true,+ "rank_group": true,+ "rank_absolute": true,+ "position": true,+ "title": true,+ "description": true,+ "url": true,+ "domain": true,+ "breadcrumb": true,+ "featured_snippet": true,+ "is_featured_snippet": true,+ "rating": true,+ "timestamp": true,+ "local_pack": true,+ "ai_overview": true,+ "people_also_ask": true,+ "related_searches": true,+ "knowledge_graph": true,+ "video": {+ "title": true,+ "url": true,+ "channel_name": true,+ "views_count": true,+ "timestamp": true+ }+ }+ },+ "keywords_data": {+ "keyword": true,+ "search_volume": true,+ "cpc": true,+ "competition": true,+ "competition_level": true,+ "monthly_searches": true,+ "categories": true,+ "search_partners_search_volume": true+ },+ "dataforseo_labs": {+ "keyword_data": {+ "keyword": true,+ "search_volume": true,+ "cpc": true,+ "competition": true,+ "competition_level": true,+ "keyword_difficulty": true,+ "search_intent": true,+ "search_intent_secondary": true,+ "monthly_searches": true+ },+ "domain_data": {+ "domain": true,+ "rank": true,+ "organic_count": true,+ "organic_traffic": true,+ "organic_cost": true,+ "etv": true,+ "keywords_count": true,+ "is_competitor": true+ },+ "ranked_keywords": {+ "keyword": true,+ "rank_group": true,+ "rank_absolute": true,+ "url": true,+ "search_volume": true,+ "cpc": true,+ "competition": true,+ "traffic_share": true,+ "serp_features": true,+ "etv": true+ },+ "intersection": {+ "keyword": true,+ "rank_group": true,+ "rank_absolute": true,+ "url": true,+ "search_volume": true,+ "domain": true+ },+ "traffic_estimation": {+ "domain": true,+ "organic_traffic": true,+ "organic_cost": true,+ "etv": true,+ "count": true+ },+ "relevant_pages": {+ "url": true,+ "rank": true,+ "etv": true,+ "keywords_count": true,+ "organic_traffic": true+ }+ },+ "backlinks": {+ "summary": {+ "target": true,+ "total_backlinks": true,+ "total_referring_domains": true,+ "rank": true,+ "backlinks_spam_score": true,+ "dofollow": true,+ "nofollow": true,+ "new_backlinks": true,+ "lost_backlinks": true,+ "broken_backlinks": true,+ "referring_domains_nofollow": true,+ "referring_ips": true,+ "referring_subnets": true+ },+ "items": {+ "url_from": true,+ "url_to": true,+ "domain_from": true,+ "domain_to": true,+ "anchor": true,+ "rank": true,+ "page_from_rank": true,+ "dofollow": true,+ "type": true,+ "is_new": true,+ "is_lost": true,+ "first_seen": true,+ "last_seen": true,+ "tld_from": true+ },+ "anchors": {+ "anchor": true,+ "backlinks": true,+ "referring_domains": true,+ "dofollow": true,+ "first_seen": true+ },+ "referring_domains": {+ "domain": true,+ "rank": true,+ "backlinks": true,+ "dofollow": true,+ "first_seen": true,+ "tld": true+ },+ "spam_score": {+ "target": true,+ "spam_score": true+ },+ "timeseries": {+ "date": true,+ "rank": true,+ "total_backlinks": true,+ "total_referring_domains": true,+ "new_backlinks": true,+ "lost_backlinks": true+ }+ },+ "onpage": {+ "instant_pages": {+ "url": true,+ "status_code": true,+ "meta": {+ "title": true,+ "description": true,+ "canonical": true,+ "robots": true,+ "hreflang": true+ },+ "content": {+ "plain_text_word_count": true,+ "plain_text_rate": true+ },+ "page_timing": {+ "time_to_interactive": true,+ "dom_complete": true,+ "largest_contentful_paint": true,+ "cumulative_layout_shift": true,+ "first_contentful_paint": true+ },+ "onpage_score": true,+ "total_dom_size": true,+ "checks": true,+ "broken_links": true+ },+ "content_parsing": {+ "url": true,+ "plain_text": true,+ "plain_text_word_count": true+ },+ "lighthouse": {+ "categories": true,+ "audits": true+ }+ },+ "domain_analytics": {+ "technologies": {+ "technology": true,+ "category": true,+ "version": true+ },+ "whois": {+ "domain": true,+ "registrar": true,+ "creation_date": true,+ "expiration_date": true,+ "updated_date": true,+ "nameservers": true,+ "registrant": {+ "name": true,+ "organization": true,+ "country": true+ }+ }+ },+ "business_data": {+ "business_listings": {+ "title": true,+ "description": true,+ "category": true,+ "address": true,+ "phone": true,+ "domain": true,+ "rating": true,+ "reviews_count": true,+ "is_claimed": true+ }+ },+ "content_analysis": {+ "summary": {+ "sentiment": true,+ "readability": true,+ "keyword_density": true,+ "toxicity": true,+ "information_score": true,+ "adult_content": true,+ "language": true,+ "connotation_types": true+ },+ "search": {+ "url": true,+ "title": true,+ "snippet": true,+ "domain": true,+ "sentiment": true,+ "language": true,+ "date": true,+ "content_quality_score": true+ },+ "phrase_trends": {+ "phrase": true,+ "date": true,+ "frequency": true,+ "sentiment": true+ }+ },+ "ai_optimization": {+ "chatgpt_scraper": {+ "html": true,+ "sources": true,+ "urls": true,+ "status": true+ },+ "keyword_data": {+ "keyword": true,+ "search_volume": true,+ "location_code": true,+ "language_code": true+ },+ "llm_mentions": {+ "keyword": true,+ "domain": true,+ "url": true,+ "mention_count": true,+ "model": true,+ "timestamp": true,+ "metrics": true+ }+ }+}diff --git a/extensions/dataforseo/install.ps1 b/extensions/dataforseo/install.ps1new file mode 100644index 0000000..402bbd7--- /dev/null+++ b/extensions/dataforseo/install.ps1@@ -0,0 +1,164 @@+# DataForSEO Extension Installer for Claude SEO (Windows)+# PowerShell installation script++$ErrorActionPreference = "Stop"++Write-Host "════════════════════════════════════════" -ForegroundColor Cyan+Write-Host "║ DataForSEO Extension - Installer ║" -ForegroundColor Cyan+Write-Host "║ For Claude SEO ║" -ForegroundColor Cyan+Write-Host "════════════════════════════════════════" -ForegroundColor Cyan+Write-Host ""++# Check prerequisites+$SeoSkillDir = "$env:USERPROFILE\.claude\skills\seo"+if (-not (Test-Path $SeoSkillDir)) {+ Write-Host "✗ Claude SEO is not installed." -ForegroundColor Red+ Write-Host " Install it first: irm https://raw.githubusercontent.com/AgriciDaniel/claude-seo/main/install.ps1 | iex"+ exit 1+}+Write-Host "✓ Claude SEO detected" -ForegroundColor Green++$nodeCmd = Get-Command -Name node -ErrorAction SilentlyContinue+if ($null -eq $nodeCmd) {+ Write-Host "✗ Node.js is required but not installed." -ForegroundColor Red+ Write-Host " Install Node.js 20+: https://nodejs.org/"+ exit 1+}++$nodeVersion = (node -v) -replace 'v','' -split '\.' | Select-Object -First 1+if ([int]$nodeVersion -lt 20) {+ Write-Host "✗ Node.js 20+ required (found v$nodeVersion)." -ForegroundColor Red+ exit 1+}+Write-Host "✓ Node.js $(node -v) detected" -ForegroundColor Green++$npxCmd = Get-Command -Name npx -ErrorAction SilentlyContinue+if ($null -eq $npxCmd) {+ Write-Host "✗ npx is required but not found (comes with npm)." -ForegroundColor Red+ exit 1+}+Write-Host "✓ npx detected" -ForegroundColor Green++# Prompt for credentials+Write-Host ""+Write-Host "DataForSEO API credentials required." -ForegroundColor Yellow+Write-Host "Sign up at: https://app.dataforseo.com/register"+Write-Host ""++$DfseUsername = Read-Host "DataForSEO username (email)"+if ([string]::IsNullOrEmpty($DfseUsername)) {+ Write-Host "✗ Username cannot be empty." -ForegroundColor Red+ exit 1+}++$DfsePasswordSecure = Read-Host "DataForSEO password" -AsSecureString+$DfsePassword = [Runtime.InteropServices.Marshal]::PtrToStringAuto(+ [Runtime.InteropServices.Marshal]::SecureStringToBSTR($DfsePasswordSecure)+)+if ([string]::IsNullOrEmpty($DfsePassword)) {+ Write-Host "✗ Password cannot be empty." -ForegroundColor Red+ exit 1+}++# Determine source directory+$ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path+if (Test-Path "$ScriptDir\skills\seo-dataforseo\SKILL.md") {+ $SourceDir = $ScriptDir+} elseif (Test-Path "$ScriptDir\extensions\dataforseo\skills\seo-dataforseo\SKILL.md") {+ $SourceDir = "$ScriptDir\extensions\dataforseo"+} else {+ Write-Host "✗ Cannot find extension source files." -ForegroundColor Red+ Write-Host " Run this script from the claude-seo repo."+ exit 1+}++# Set paths+$SkillDir = "$env:USERPROFILE\.claude\skills\seo-dataforseo"+$AgentDir = "$env:USERPROFILE\.claude\agents"+$SettingsFile = "$env:USERPROFILE\.claude\settings.json"+$FieldConfigPath = "$SeoSkillDir\dataforseo-field-config.json"++# Install skill+Write-Host ""+Write-Host "→ Installing DataForSEO skill..." -ForegroundColor Yellow+New-Item -ItemType Directory -Force -Path $SkillDir | Out-Null+Copy-Item -Force "$SourceDir\skills\seo-dataforseo\SKILL.md" "$SkillDir\SKILL.md"++# Install agent+Write-Host "→ Installing DataForSEO agent..." -ForegroundColor Yellow+New-Item -ItemType Directory -Force -Path $AgentDir | Out-Null+Copy-Item -Force "$SourceDir\agents\seo-dataforseo.md" "$AgentDir\seo-dataforseo.md"++# Install field config+Write-Host "→ Installing field config..." -ForegroundColor Yellow+Copy-Item -Force "$SourceDir\field-config.json" $FieldConfigPath++# Merge MCP config into settings.json+Write-Host "→ Configuring MCP server..." -ForegroundColor Yellow++$python = Get-Command -Name python -ErrorAction SilentlyContinue+if ($null -eq $python) {+ $python = Get-Command -Name py -ErrorAction SilentlyContinue+}++if ($null -ne $python) {+ $pyExe = $python.Source+ $pyScript = @"+import json, os+settings_path = r'$SettingsFile'+if os.path.exists(settings_path):+ with open(settings_path, 'r') as f:+ settings = json.load(f)+else:+ settings = {}+if 'mcpServers' not in settings:+ settings['mcpServers'] = {}+settings['mcpServers']['dataforseo'] = {+ 'command': 'npx',+ 'args': ['-y', 'dataforseo-mcp-server'],+ 'env': {+ 'DATAFORSEO_USERNAME': '$DfseUsername',+ 'DATAFORSEO_PASSWORD': '$DfsePassword',+ 'ENABLED_MODULES': 'SERP,KEYWORDS_DATA,ONPAGE,DATAFORSEO_LABS,BACKLINKS,DOMAIN_ANALYTICS,BUSINESS_DATA,CONTENT_ANALYSIS,AI_OPTIMIZATION',+ 'FIELD_CONFIG_PATH': r'$FieldConfigPath'+ }+}+os.makedirs(os.path.dirname(settings_path), exist_ok=True)+with open(settings_path, 'w') as f:+ json.dump(settings, f, indent=2)+print(' ok')+"@++ $result = & $pyExe -c $pyScript 2>&1+ if ($LASTEXITCODE -eq 0) {+ Write-Host " ✓ MCP server configured in settings.json" -ForegroundColor Green+ } else {+ Write-Host " ⚠ Could not auto-configure MCP server." -ForegroundColor Yellow+ Write-Host " Add the dataforseo server manually to ~\.claude\settings.json"+ }+} else {+ Write-Host " ⚠ Python not found. Configure MCP server manually." -ForegroundColor Yellow+ Write-Host " See: extensions\dataforseo\docs\DATAFORSEO-SETUP.md"+}++# Pre-warm npx package+Write-Host "→ Pre-downloading dataforseo-mcp-server..." -ForegroundColor Yellow+try {+ & npx -y dataforseo-mcp-server --help 2>&1 | Out-Null+} catch {+ # Ignore errors from pre-warm+}++Write-Host ""+Write-Host "✓ DataForSEO extension installed successfully!" -ForegroundColor Green+Write-Host ""+Write-Host "Usage:" -ForegroundColor Cyan+Write-Host " 1. Start Claude Code: claude"+Write-Host " 2. Run commands:"+Write-Host " /seo dataforseo serp best coffee shops"+Write-Host " /seo dataforseo keywords seo tools"+Write-Host " /seo dataforseo backlinks example.com"+Write-Host " /seo dataforseo ai-mentions your brand"+Write-Host ""+Write-Host "All 22 commands: see extensions\dataforseo\README.md"+Write-Host "To uninstall: .\extensions\dataforseo\uninstall.ps1"diff --git a/extensions/dataforseo/install.sh b/extensions/dataforseo/install.shnew file mode 100755index 0000000..2cb50ae--- /dev/null+++ b/extensions/dataforseo/install.sh@@ -0,0 +1,161 @@+#!/usr/bin/env bash+set -euo pipefail++# DataForSEO Extension Installer for Claude SEO+# Wraps everything in main() to prevent partial execution on network failure++main() {+ SKILL_DIR="${HOME}/.claude/skills/seo-dataforseo"+ AGENT_DIR="${HOME}/.claude/agents"+ SEO_SKILL_DIR="${HOME}/.claude/skills/seo"+ SETTINGS_FILE="${HOME}/.claude/settings.json"++ echo "════════════════════════════════════════"+ echo "║ DataForSEO Extension - Installer ║"+ echo "║ For Claude SEO ║"+ echo "════════════════════════════════════════"+ echo ""++ # Check prerequisites+ if [ ! -d "${SEO_SKILL_DIR}" ]; then+ echo "✗ Claude SEO is not installed."+ echo " Install it first: curl -fsSL https://raw.githubusercontent.com/AgriciDaniel/claude-seo/main/install.sh | bash"+ exit 1+ fi+ echo "✓ Claude SEO detected"++ if ! command -v node >/dev/null 2>&1; then+ echo "✗ Node.js is required but not installed."+ echo " Install Node.js 20+: https://nodejs.org/"+ exit 1+ fi++ NODE_VERSION=$(node -v | sed 's/v//' | cut -d. -f1)+ if [ "${NODE_VERSION}" -lt 20 ]; then+ echo "✗ Node.js 20+ required (found v${NODE_VERSION})."+ echo " Update: https://nodejs.org/"+ exit 1+ fi+ echo "✓ Node.js v$(node -v | sed 's/v//') detected"++ if ! command -v npx >/dev/null 2>&1; then+ echo "✗ npx is required but not found (comes with npm)."+ exit 1+ fi+ echo "✓ npx detected"++ # Prompt for credentials+ echo ""+ echo "DataForSEO API credentials required."+ echo "Sign up at: https://app.dataforseo.com/register"+ echo ""++ read -rp "DataForSEO username (email): " DFSE_USERNAME+ if [ -z "${DFSE_USERNAME}" ]; then+ echo "✗ Username cannot be empty."+ exit 1+ fi++ read -rsp "DataForSEO password: " DFSE_PASSWORD+ echo ""+ if [ -z "${DFSE_PASSWORD}" ]; then+ echo "✗ Password cannot be empty."+ exit 1+ fi++ # Determine script directory (works for both ./install.sh and curl|bash)+ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"++ # Check if running from repo or standalone+ if [ -f "${SCRIPT_DIR}/skills/seo-dataforseo/SKILL.md" ]; then+ SOURCE_DIR="${SCRIPT_DIR}"+ elif [ -f "${SCRIPT_DIR}/extensions/dataforseo/skills/seo-dataforseo/SKILL.md" ]; then+ SOURCE_DIR="${SCRIPT_DIR}/extensions/dataforseo"+ else+ echo "✗ Cannot find extension source files."+ echo " Run this script from the claude-seo repo: ./extensions/dataforseo/install.sh"+ exit 1+ fi++ # Install skill+ echo ""+ echo "→ Installing DataForSEO skill..."+ mkdir -p "${SKILL_DIR}"+ cp "${SOURCE_DIR}/skills/seo-dataforseo/SKILL.md" "${SKILL_DIR}/SKILL.md"++ # Install agent+ echo "→ Installing DataForSEO agent..."+ mkdir -p "${AGENT_DIR}"+ cp "${SOURCE_DIR}/agents/seo-dataforseo.md" "${AGENT_DIR}/seo-dataforseo.md"++ # Install field config+ echo "→ Installing field config..."+ cp "${SOURCE_DIR}/field-config.json" "${SEO_SKILL_DIR}/dataforseo-field-config.json"++ # Merge MCP config into settings.json+ echo "→ Configuring MCP server..."+ FIELD_CONFIG_PATH="${SEO_SKILL_DIR}/dataforseo-field-config.json"++ python3 -c "+import json, os, sys++settings_path = '${SETTINGS_FILE}'+username = '''${DFSE_USERNAME}'''+password = '''${DFSE_PASSWORD}'''+field_config = '${FIELD_CONFIG_PATH}'++# Read existing settings or create new+if os.path.exists(settings_path):+ with open(settings_path, 'r') as f:+ settings = json.load(f)+else:+ settings = {}++# Ensure mcpServers key exists+if 'mcpServers' not in settings:+ settings['mcpServers'] = {}++# Add DataForSEO server config+settings['mcpServers']['dataforseo'] = {+ 'command': 'npx',+ 'args': ['-y', 'dataforseo-mcp-server'],+ 'env': {+ 'DATAFORSEO_USERNAME': username,+ 'DATAFORSEO_PASSWORD': password,+ 'ENABLED_MODULES': 'SERP,KEYWORDS_DATA,ONPAGE,DATAFORSEO_LABS,BACKLINKS,DOMAIN_ANALYTICS,BUSINESS_DATA,CONTENT_ANALYSIS,AI_OPTIMIZATION',+ 'FIELD_CONFIG_PATH': field_config+ }+}++# Write back+os.makedirs(os.path.dirname(settings_path), exist_ok=True)+with open(settings_path, 'w') as f:+ json.dump(settings, f, indent=2)++print(' ✓ MCP server configured in settings.json')+" || {+ echo " ⚠ Could not auto-configure MCP server."+ echo " Add the dataforseo server manually to ~/.claude/settings.json"+ echo " See: extensions/dataforseo/docs/DATAFORSEO-SETUP.md"+ }++ # Pre-warm npx package+ echo "→ Pre-downloading dataforseo-mcp-server..."+ npx -y dataforseo-mcp-server --help >/dev/null 2>&1 || true++ echo ""+ echo "✓ DataForSEO extension installed successfully!"+ echo ""+ echo "Usage:"+ echo " 1. Start Claude Code: claude"+ echo " 2. Run commands:"+ echo " /seo dataforseo serp best coffee shops"+ echo " /seo dataforseo keywords seo tools"+ echo " /seo dataforseo backlinks example.com"+ echo " /seo dataforseo ai-mentions your brand"+ echo ""+ echo "All 22 commands: see extensions/dataforseo/README.md"+ echo "To uninstall: ./extensions/dataforseo/uninstall.sh"+}++main "$@"diff --git a/extensions/dataforseo/skills/seo-dataforseo/SKILL.md b/extensions/dataforseo/skills/seo-dataforseo/SKILL.mdnew file mode 100644index 0000000..98932b0--- /dev/null+++ b/extensions/dataforseo/skills/seo-dataforseo/SKILL.md@@ -0,0 +1,377 @@+---+name: seo-dataforseo+description: >+ Live SEO data via DataForSEO MCP server. SERP analysis (Google, Bing, Yahoo,+ YouTube), keyword research (volume, difficulty, intent, trends), backlink+ profiles, on-page analysis (Lighthouse, content parsing), competitor analysis,+ content analysis, business listings, AI visibility (ChatGPT scraper, LLM+ mention tracking), and domain analytics. Requires DataForSEO extension+ installed. Use when user says "dataforseo", "live SERP", "keyword volume",+ "backlink data", "competitor data", "AI visibility check", "LLM mentions",+ or "real search data".+---++# DataForSEO — Live SEO Data (Extension)++Live search data via the DataForSEO MCP server. Provides real-time SERP results,+keyword metrics, backlink profiles, on-page analysis, content analysis, business+listings, AI visibility checking, and LLM mention tracking across+9 API modules with 79 MCP tools.++## Prerequisites++This skill requires the DataForSEO extension to be installed:+```bash+./extensions/dataforseo/install.sh+```++**Check availability:** Before using any DataForSEO tool, verify the MCP server+is connected by checking if `serp_organic_live_advanced` or any DataForSEO tool+is available. If tools are not available, inform the user the extension is not+installed and provide install instructions.++## API Credit Awareness++DataForSEO charges per API call. Be efficient:+- Prefer bulk endpoints over multiple single calls+- Use default parameters (US, English) unless user specifies otherwise+- Cache results mentally within a session — don't re-fetch the same data+- Warn user before running expensive operations (full backlink crawls, large keyword lists)++## Quick Reference++| Command | What it does |+|---------|-------------|+| `/seo dataforseo serp <keyword>` | Google organic SERP results |+| `/seo dataforseo serp-youtube <keyword>` | YouTube search results |+| `/seo dataforseo youtube <video_id>` | YouTube video deep analysis |+| `/seo dataforseo keywords <seed>` | Keyword ideas and suggestions |+| `/seo dataforseo volume <keywords>` | Search volume for keywords |+| `/seo dataforseo difficulty <keywords>` | Keyword difficulty scores |+| `/seo dataforseo intent <keywords>` | Search intent classification |+| `/seo dataforseo trends <keyword>` | Google Trends data |+| `/seo dataforseo backlinks <domain>` | Full backlink profile |+| `/seo dataforseo competitors <domain>` | Competitor domain analysis |+| `/seo dataforseo ranked <domain>` | Ranked keywords for domain |+| `/seo dataforseo intersection <domains>` | Keyword/backlink overlap |+| `/seo dataforseo traffic <domains>` | Bulk traffic estimation |+| `/seo dataforseo subdomains <domain>` | Subdomains with ranking data |+| `/seo dataforseo top-searches <domain>` | Top queries mentioning domain |+| `/seo dataforseo onpage <url>` | On-page analysis (Lighthouse + parsing) |+| `/seo dataforseo tech <domain>` | Technology stack detection |+| `/seo dataforseo whois <domain>` | WHOIS registration data |+| `/seo dataforseo content <keyword/url>` | Content analysis and trends |+| `/seo dataforseo listings <keyword>` | Business listings search |+| `/seo dataforseo ai-scrape <query>` | ChatGPT web scraper for GEO |+| `/seo dataforseo ai-mentions <keyword>` | LLM mention tracking for GEO |++---++## SERP Analysis++### `/seo dataforseo serp <keyword>`++Fetch live Google organic search results.++**MCP tools:** `serp_organic_live_advanced`++**Default parameters:** location_code=2840 (US), language_code=en, device=desktop, depth=100++**Also supports:** The `serp_organic_live_advanced` tool supports Google, Bing, and Yahoo via the `se` parameter. Specify "bing" or "yahoo" to switch search engines.++**Output:** Rank, URL, title, description, domain, featured snippets, AI overview references, People Also Ask.++### `/seo dataforseo serp-youtube <keyword>`++Fetch YouTube search results. Valuable for GEO — YouTube mentions correlate most strongly with AI citations.++**MCP tools:** `serp_youtube_organic_live_advanced`++**Output:** Video title, channel, views, upload date, description, URL.++### `/seo dataforseo youtube <video_id>`++Deep analysis of a specific YouTube video — info, comments, and subtitles. YouTube mentions have the strongest correlation (0.737) with AI visibility, making this critical for GEO analysis.++**MCP tools:** `serp_youtube_video_info_live_advanced`, `serp_youtube_video_comments_live_advanced`, `serp_youtube_video_subtitles_live_advanced`++**Parameters:** video_id (the YouTube video ID, e.g., "dQw4w9WgXcQ")++**Output:** Video metadata (title, channel, views, likes, description), top comments with engagement, subtitle/transcript text.++---++## Keyword Research++### `/seo dataforseo keywords <seed>`++Generate keyword ideas, suggestions, and related terms from a seed keyword.++**MCP tools:** `dataforseo_labs_google_keyword_ideas`, `dataforseo_labs_google_keyword_suggestions`, `dataforseo_labs_google_related_keywords`++**Default parameters:** location_code=2840 (US), language_code=en, limit=50++**Output:** Keyword, search volume, CPC, competition level, keyword difficulty, trend.++### `/seo dataforseo volume <keywords>`++Get search volume and metrics for a list of keywords.++**MCP tools:** `kw_data_google_ads_search_volume`++**Parameters:** keywords (array, comma-separated), location_code, language_code++**Output:** Keyword, monthly search volume, CPC, competition, monthly trend data.++### `/seo dataforseo difficulty <keywords>`++Calculate keyword difficulty scores for ranking competitiveness.++**MCP tools:** `dataforseo_labs_bulk_keyword_difficulty`++**Parameters:** keywords (array), location_code, language_code++**Output:** Keyword, difficulty score (0-100), interpretation (Easy/Medium/Hard/Very Hard).++### `/seo dataforseo intent <keywords>`++Classify keywords by user search intent.++**MCP tools:** `dataforseo_labs_search_intent`++**Parameters:** keywords (array), location_code, language_code++**Output:** Keyword, intent type (informational, navigational, commercial, transactional), confidence score.++### `/seo dataforseo trends <keyword>`++Analyze keyword trends over time using Google Trends data.++**MCP tools:** `kw_data_google_trends_explore`++**Parameters:** keywords (array), location_code, date_from, date_to, language_code++**Output:** Keyword, time series data, trend direction, seasonality signals.++---++## Domain & Competitor Analysis++### `/seo dataforseo backlinks <domain>`++Comprehensive backlink profile analysis.++**MCP tools:** `backlinks_summary`, `backlinks_backlinks`, `backlinks_anchors`, `backlinks_referring_domains`, `backlinks_bulk_spam_score`, `backlinks_timeseries_summary`++**Default parameters:** limit=100 per sub-call++**Output:** Total backlinks, referring domains, domain rank, spam score, top anchors, new/lost backlinks over time, dofollow ratio, top referring domains.++### `/seo dataforseo competitors <domain>`++Identify competing domains and estimate traffic.++**MCP tools:** `dataforseo_labs_google_competitors_domain`, `dataforseo_labs_google_domain_rank_overview`, `dataforseo_labs_bulk_traffic_estimation`++**Output:** Competitor domains, keyword overlap %, estimated traffic, domain rank, common keywords.++### `/seo dataforseo ranked <domain>`++List keywords a domain ranks for with positions and page data.++**MCP tools:** `dataforseo_labs_google_ranked_keywords`, `dataforseo_labs_google_relevant_pages`++**Default parameters:** limit=100, location_code=2840++**Output:** Keyword, position, URL, search volume, traffic share, SERP features.++### `/seo dataforseo intersection <domain1> <domain2> [...]`++Find shared keywords and backlink sources across 2-20 domains.++**MCP tools:** `dataforseo_labs_google_domain_intersection`, `backlinks_domain_intersection`++**Parameters:** domains (2-20 array)++**Output:** Shared keywords with positions per domain, shared backlink sources, unique keywords per domain.++### `/seo dataforseo traffic <domains>`++Estimate organic search traffic for one or more domains.++**MCP tools:** `dataforseo_labs_bulk_traffic_estimation`++**Parameters:** domains (array)++**Output:** Domain, estimated organic traffic, estimated traffic cost, top keywords.++### `/seo dataforseo subdomains <domain>`++Enumerate subdomains with their ranking data and traffic estimates.++**MCP tools:** `dataforseo_labs_google_subdomains`++**Parameters:** target (domain), location_code, language_code++**Output:** Subdomain, ranked keywords count, estimated traffic, organic cost.++### `/seo dataforseo top-searches <domain>`++Find the most popular search queries that mention a specific domain in results.++**MCP tools:** `dataforseo_labs_google_top_searches`++**Parameters:** target (domain), location_code, language_code++**Output:** Query, search volume, domain position, SERP features, traffic share.++---++## Technical / On-Page++### `/seo dataforseo onpage <url>`++Run on-page analysis including Lighthouse audit and content parsing.++**MCP tools:** `on_page_instant_pages`, `on_page_content_parsing`, `on_page_lighthouse`++**Usage:**+- `on_page_instant_pages` — Quick page analysis (status codes, meta tags, content size, page timing, broken links, on-page checks)+- `on_page_content_parsing` — Extract and parse page content (plain text, word count, structure)+- `on_page_lighthouse` — Full Lighthouse audit (performance score, accessibility, best practices, SEO, Core Web Vitals)++**Output:** Pages crawled, status codes, meta tags, titles, content size, load times, Lighthouse scores, broken links, resource analysis.++### `/seo dataforseo tech <domain>`++Detect technologies used on a domain.++**MCP tools:** `domain_analytics_technologies_domain_technologies`++**Output:** Technology name, version, category (CMS, analytics, CDN, framework, etc.).++### `/seo dataforseo whois <domain>`++Retrieve WHOIS registration data.++**MCP tools:** `domain_analytics_whois_overview`++**Output:** Registrar, creation date, expiration date, nameservers, registrant info (if public).++---++## Content & Business Data++### `/seo dataforseo content <keyword/url>`++Analyze content quality, search for content by topic, and track phrase trends.++**MCP tools:** `content_analysis_search`, `content_analysis_summary`, `content_analysis_phrase_trends`++**Parameters:** keyword (for search/trends) or URL (for summary)++**Output:** Content matches with quality scores, sentiment analysis, readability metrics, phrase trend data over time.++### `/seo dataforseo listings <keyword>`++Search business listings for local SEO competitive analysis.++**MCP tools:** `business_data_business_listings_search`++**Parameters:** keyword, location (optional)++**Output:** Business name, description, category, address, phone, domain, rating, review count, claimed status.++---++## AI Visibility / GEO++### `/seo dataforseo ai-scrape <query>`++Scrape what ChatGPT web search returns for a query. Real GEO visibility check — see which sources ChatGPT cites for your target keywords.++**MCP tools:** `ai_optimization_chat_gpt_scraper`++**Parameters:** query, location_code (optional), language_code (optional). Use `ai_optimization_chat_gpt_scraper_locations` to look up available locations.++**Output:** ChatGPT response content, cited sources/URLs, referenced domains.++### `/seo dataforseo ai-mentions <keyword>`++Track how LLMs mention brands, domains, and topics. Critical for GEO — measures actual AI visibility across multiple LLM platforms.++**MCP tools:** `ai_opt_llm_ment_search`, `ai_opt_llm_ment_top_domains`, `ai_opt_llm_ment_top_pages`, `ai_opt_llm_ment_agg_metrics`++**Parameters:** keyword, location_code (optional), language_code (optional). Use `ai_opt_llm_ment_loc_and_lang` for available locations/languages and `ai_optimization_llm_models` for supported LLM models.++**Workflow:**+1. Search LLM mentions with `ai_opt_llm_ment_search` (find mentions of a brand/keyword across LLM responses)+2. Get top cited domains with `ai_opt_llm_ment_top_domains` (which domains are most cited for this topic)+3. Get top cited pages with `ai_opt_llm_ment_top_pages` (which specific pages are most cited)+4. Get aggregate metrics with `ai_opt_llm_ment_agg_metrics` (overall mention volume, trends)++**Output:** LLM mention count, top cited domains with frequency, top cited pages, mention trends over time, cross-platform visibility scores.++**Advanced:** Use `ai_opt_llm_ment_cross_agg_metrics` for cross-model comparison (how mentions differ across ChatGPT, Claude, Perplexity, etc.).++---++## Available Utility Tools++These DataForSEO tools are available for internal use by the agent but do not have dedicated commands:++- `serp_locations` — Location code lookups for SERP queries+- `serp_youtube_locations` — Location code lookups for YouTube queries+- `kw_data_google_ads_locations` — Location lookups for keyword data+- `kw_data_dfs_trends_demography` — Demographic data for trend analysis+- `kw_data_dfs_trends_subregion_interests` — Subregion interest data for trends+- `kw_data_dfs_trends_explore` — DFS proprietary trends data+- `kw_data_google_trends_categories` — Google Trends category lookups+- `dataforseo_labs_google_keyword_overview` — Quick keyword metrics overview+- `dataforseo_labs_google_historical_serp` — Historical SERP results for a keyword+- `dataforseo_labs_google_serp_competitors` — Competitors for a specific SERP+- `dataforseo_labs_google_keywords_for_site` — Keywords a site ranks for (alternative to ranked)+- `dataforseo_labs_google_page_intersection` — Page-level intersection analysis+- `dataforseo_labs_google_historical_rank_overview` — Historical domain rank data+- `dataforseo_labs_google_historical_keyword_data` — Historical keyword metrics+- `dataforseo_labs_available_filters` — Available filter options for Labs endpoints+- `backlinks_competitors` — Find domains with similar backlink profiles+- `backlinks_bulk_backlinks` — Bulk backlink counts for multiple targets+- `backlinks_bulk_new_lost_referring_domains` — Bulk new/lost referring domains+- `backlinks_bulk_new_lost_backlinks` — Bulk new/lost backlinks+- `backlinks_bulk_ranks` — Bulk rank overview for multiple targets+- `backlinks_bulk_referring_domains` — Bulk referring domain counts+- `backlinks_domain_pages_summary` — Summary of pages on a domain+- `backlinks_domain_pages` — List pages on a domain with backlink data+- `backlinks_page_intersection` — Shared backlink sources at page level+- `backlinks_referring_networks` — Referring network analysis+- `backlinks_timeseries_new_lost_summary` — Track new/lost backlinks over time+- `backlinks_bulk_pages_summary` — Bulk page summaries+- `backlinks_available_filters` — Available filter options for Backlinks endpoints+- `domain_analytics_whois_available_filters` — WHOIS filter options+- `domain_analytics_technologies_available_filters` — Technology detection filter options+- `ai_opt_kw_data_loc_and_lang` — AI optimization keyword data locations/languages+- `ai_optimization_keyword_data_search_volume` — AI-specific keyword volume data+- `ai_optimization_llm_response` — Direct LLM response analysis+- `ai_optimization_llm_mentions_filters` — Available filters for LLM mentions+- `ai_optimization_chat_gpt_scraper_locations` — Available locations for ChatGPT scraper++## Cross-Skill Integration++When DataForSEO MCP tools are available, other claude-seo skills can leverage live data:++- **seo-audit** — Spawn `seo-dataforseo` agent for real SERP, backlink, on-page, and listings data+- **seo-technical** — Use `on_page_instant_pages` / `on_page_lighthouse` for real crawl data, `domain_analytics_technologies_domain_technologies` for stack detection+- **seo-content** — Use `kw_data_google_ads_search_volume`, `dataforseo_labs_bulk_keyword_difficulty`, `dataforseo_labs_search_intent` for real keyword metrics, `content_analysis_summary` for content quality+- **seo-page** — Use `serp_organic_live_advanced` for real SERP positions, `backlinks_summary` for link data+- **seo-geo** — Use `ai_optimization_chat_gpt_scraper` for real ChatGPT visibility, `ai_opt_llm_ment_search` for LLM mention tracking+- **seo-plan** — Use `dataforseo_labs_google_competitors_domain`, `dataforseo_labs_google_domain_intersection`, `dataforseo_labs_bulk_traffic_estimation` for real competitive intelligence++## Output Formatting++Match existing claude-seo output patterns:+- Use tables for comparative data+- Prioritize issues as Critical > High > Medium > Low+- Include specific, actionable recommendations+- Show scores as XX/100 where applicable+- Note data source as "DataForSEO (live)" to distinguish from static analysisdiff --git a/extensions/dataforseo/uninstall.ps1 b/extensions/dataforseo/uninstall.ps1new file mode 100644index 0000000..a4c3c8b--- /dev/null+++ b/extensions/dataforseo/uninstall.ps1@@ -0,0 +1,58 @@+# DataForSEO Extension Uninstaller for Claude SEO (Windows)++$ErrorActionPreference = "Stop"++Write-Host "→ Uninstalling DataForSEO extension..." -ForegroundColor Yellow++# Remove skill+if (Test-Path "$env:USERPROFILE\.claude\skills\seo-dataforseo") {+ Remove-Item -Recurse -Force "$env:USERPROFILE\.claude\skills\seo-dataforseo"+}++# Remove agent+$agentFile = "$env:USERPROFILE\.claude\agents\seo-dataforseo.md"+if (Test-Path $agentFile) {+ Remove-Item -Force $agentFile+}++# Remove field config+$fieldConfig = "$env:USERPROFILE\.claude\skills\seo\dataforseo-field-config.json"+if (Test-Path $fieldConfig) {+ Remove-Item -Force $fieldConfig+}++# Remove MCP server entry from settings.json+$settingsFile = "$env:USERPROFILE\.claude\settings.json"+if (Test-Path $settingsFile) {+ $python = Get-Command -Name python -ErrorAction SilentlyContinue+ if ($null -eq $python) {+ $python = Get-Command -Name py -ErrorAction SilentlyContinue+ }++ if ($null -ne $python) {+ $pyExe = $python.Source+ $pyScript = @"+import json+settings_path = r'$settingsFile'+with open(settings_path, 'r') as f:+ settings = json.load(f)+if 'mcpServers' in settings and 'dataforseo' in settings['mcpServers']:+ del settings['mcpServers']['dataforseo']+ if not settings['mcpServers']:+ del settings['mcpServers']+ with open(settings_path, 'w') as f:+ json.dump(settings, f, indent=2)+ print(' ok')+"@+ $result = & $pyExe -c $pyScript 2>&1+ if ($LASTEXITCODE -eq 0) {+ Write-Host " ✓ Removed dataforseo from settings.json" -ForegroundColor Green+ } else {+ Write-Host " ⚠ Could not auto-remove MCP config. Remove 'dataforseo' from ~\.claude\settings.json manually." -ForegroundColor Yellow+ }+ } else {+ Write-Host " ⚠ Python not found. Remove 'dataforseo' from ~\.claude\settings.json manually." -ForegroundColor Yellow+ }+}++Write-Host "✓ DataForSEO extension uninstalled." -ForegroundColor Greendiff --git a/extensions/dataforseo/uninstall.sh b/extensions/dataforseo/uninstall.shnew file mode 100755index 0000000..b177e1c--- /dev/null+++ b/extensions/dataforseo/uninstall.sh@@ -0,0 +1,39 @@+#!/usr/bin/env bash+set -euo pipefail++main() {+ echo "→ Uninstalling DataForSEO extension..."++ # Remove skill+ rm -rf "${HOME}/.claude/skills/seo-dataforseo"++ # Remove agent+ rm -f "${HOME}/.claude/agents/seo-dataforseo.md"++ # Remove field config+ rm -f "${HOME}/.claude/skills/seo/dataforseo-field-config.json"++ # Remove MCP server entry from settings.json+ SETTINGS_FILE="${HOME}/.claude/settings.json"+ if [ -f "${SETTINGS_FILE}" ]; then+ python3 -c "+import json, os+settings_path = '${SETTINGS_FILE}'+with open(settings_path, 'r') as f:+ settings = json.load(f)+if 'mcpServers' in settings and 'dataforseo' in settings['mcpServers']:+ del settings['mcpServers']['dataforseo']+ if not settings['mcpServers']:+ del settings['mcpServers']+ with open(settings_path, 'w') as f:+ json.dump(settings, f, indent=2)+ print(' ✓ Removed dataforseo from settings.json')+else:+ print(' ✓ No dataforseo entry in settings.json')+" 2>/dev/null || echo " ⚠ Could not auto-remove MCP config. Remove 'dataforseo' from ~/.claude/settings.json manually."+ fi++ echo "✓ DataForSEO extension uninstalled."+}++main "$@"diff --git a/seo/SKILL.md b/seo/SKILL.mdindex 67471fd..61f289a 100644--- a/seo/SKILL.md+++ b/seo/SKILL.md@@ -17,7 +17,7 @@ description: ># SEO — Universal SEO Analysis SkillComprehensive SEO analysis across all industries (SaaS, local services,-e-commerce, publishers, agencies). Orchestrates 12 specialized sub-skills+e-commerce, publishers, agencies). Orchestrates 13 specialized sub-skillsand 6 subagents.## Quick Reference@@ -36,6 +36,7 @@ and 6 subagents.| `/seo programmatic [url\|plan]` | Programmatic SEO analysis and planning || `/seo competitor-pages [url\|generate]` | Competitor comparison page generation || `/seo hreflang [url]` | Hreflang/i18n SEO audit and generation |+| `/seo dataforseo [command]` | Live SEO data via DataForSEO (extension) |## Orchestration Logic@@ -97,7 +98,7 @@ Weighted aggregate of all categories:## Sub-Skills-This skill orchestrates 12 specialized sub-skills:+This skill orchestrates 13 specialized sub-skills:1. **seo-audit** — Full website audit with parallel delegation2. **seo-page** — Deep single-page analysis@@ -111,6 +112,7 @@ This skill orchestrates 12 specialized sub-skills:10. **seo-programmatic** — Programmatic SEO analysis and planning11. **seo-competitor-pages** — Competitor comparison page generation12. **seo-hreflang** — Hreflang/i18n SEO audit and generation+13. **seo-dataforseo** — Live SEO data via DataForSEO MCP (extension)## Subagents@@ -121,3 +123,4 @@ For parallel analysis during audits:- `seo-sitemap` — Structure, coverage, quality gates- `seo-performance` — Core Web Vitals measurement- `seo-visual` — Screenshots, mobile testing, above-fold+- `seo-dataforseo` — Live SERP, keyword, backlink, local SEO data (extension, optional)diff --git a/skills/seo-audit/SKILL.md b/skills/seo-audit/SKILL.mdindex 145c8b8..728ee47 100644--- a/skills/seo-audit/SKILL.md+++ b/skills/seo-audit/SKILL.md@@ -105,3 +105,7 @@ Delay between requests: 1 second- **High**: Significantly impacts rankings (fix within 1 week)- **Medium**: Optimization opportunity (fix within 1 month)- **Low**: Nice to have (backlog)++## DataForSEO Integration (Optional)++If DataForSEO MCP tools are available, spawn the `seo-dataforseo` agent alongside existing subagents to enrich the audit with live data: real SERP positions, backlink profiles with spam scores, on-page analysis (Lighthouse), business listings, and AI visibility checks (ChatGPT scraper, LLM mentions).diff --git a/skills/seo-content/SKILL.md b/skills/seo-content/SKILL.mdindex 3a4e6e8..7597ce1 100644--- a/skills/seo-content/SKILL.md+++ b/skills/seo-content/SKILL.md@@ -155,3 +155,7 @@ GEO is the emerging discipline of optimizing content specifically for AI-generat### Issues Found### Recommendations++## DataForSEO Integration (Optional)++If DataForSEO MCP tools are available, use `kw_data_google_ads_search_volume` for real keyword volume data, `dataforseo_labs_bulk_keyword_difficulty` for difficulty scores, `dataforseo_labs_search_intent` for intent classification, and `content_analysis_summary` for content quality analysis.diff --git a/skills/seo-geo/SKILL.md b/skills/seo-geo/SKILL.mdindex 318b2ca..0ce7acd 100644--- a/skills/seo-geo/SKILL.md+++ b/skills/seo-geo/SKILL.md@@ -229,3 +229,7 @@ Generate `GEO-ANALYSIS.md` with:3. Establish YouTube channel with content mentions4. Implement comprehensive entity linking (sameAs across platforms)5. Develop unique tools or calculators++## DataForSEO Integration (Optional)++If DataForSEO MCP tools are available, use `ai_optimization_chat_gpt_scraper` to check what ChatGPT web search returns for target queries (real GEO visibility check) and `ai_opt_llm_ment_search` with `ai_opt_llm_ment_top_domains` for LLM mention tracking across AI platforms.diff --git a/skills/seo-page/SKILL.md b/skills/seo-page/SKILL.mdindex 83114ce..59d2a76 100644--- a/skills/seo-page/SKILL.md+++ b/skills/seo-page/SKILL.md@@ -72,3 +72,7 @@ Specific, actionable improvements with expected impact### Schema SuggestionsReady-to-use JSON-LD code for detected opportunities++## DataForSEO Integration (Optional)++If DataForSEO MCP tools are available, use `serp_organic_live_advanced` for real SERP positions and `backlinks_summary` for backlink data and spam scores.diff --git a/skills/seo-plan/SKILL.md b/skills/seo-plan/SKILL.mdindex 705d565..de77231 100644--- a/skills/seo-plan/SKILL.md+++ b/skills/seo-plan/SKILL.md@@ -104,3 +104,7 @@ Load from `assets/` directory:- Resource requirements defined- Dependencies identified- Risk mitigation strategies++## DataForSEO Integration (Optional)++If DataForSEO MCP tools are available, use `dataforseo_labs_google_competitors_domain` and `dataforseo_labs_google_domain_intersection` for real competitive intelligence, `dataforseo_labs_bulk_traffic_estimation` for traffic estimates, `kw_data_google_ads_search_volume` and `dataforseo_labs_bulk_keyword_difficulty` for keyword research, and `business_data_business_listings_search` for local business data.diff --git a/skills/seo-technical/SKILL.md b/skills/seo-technical/SKILL.mdindex 3a9288f..527367c 100644--- a/skills/seo-technical/SKILL.md+++ b/skills/seo-technical/SKILL.md@@ -146,3 +146,7 @@ Google updated its JavaScript SEO documentation in December 2025 with critical c### High Priority (fix within 1 week)### Medium Priority (fix within 1 month)### Low Priority (backlog)++## DataForSEO Integration (Optional)++If DataForSEO MCP tools are available, use `on_page_instant_pages` for real page analysis (status codes, page timing, broken links, on-page checks), `on_page_lighthouse` for Lighthouse audits (performance, accessibility, SEO scores), and `domain_analytics_technologies_domain_technologies` for technology stack detection.