seo-ahrefs-broken-linkslisted
Install: claude install-skill YogeshKu7877/claude-seo-skills
# Ahrefs Broken Backlinks
Fetches broken backlinks pointing to a domain (links targeting 404/gone pages),
sorted by source Domain Rating to prioritize the highest-value reclamation
opportunities.
## References
@skills/seo/references/mcp-degradation.md
@skills/seo/references/ahrefs-api-reference.md
## Inputs
- `domain`: The bare domain to analyze (e.g., `example.com`). Strip `https://`,
`http://`, and trailing slashes before passing to Ahrefs tools.
## MCP Check
Before proceeding, verify Ahrefs MCP is available:
1. Use ToolSearch with query `+ahrefs`
2. If tools are returned → Ahrefs MCP is available, proceed to Execution
3. If no tools returned → display the Ahrefs MCP error template from
`references/mcp-degradation.md` and stop
## Execution
**Step 1 — Call Broken Backlinks**
Call `mcp__claude_ai_ahrefs__site-explorer-broken-backlinks` with:
- `target`: the bare domain (e.g., `example.com`)
Returns per broken backlink: `url_from`, `url_to` (the 404 target page),
`anchor`, `domain_rating_source`, `http_code`, `first_seen`
**Step 2 — Sort by Priority**
Sort by `domain_rating_source` descending — highest-authority broken links first,
as reclaiming them delivers the greatest SEO value.
**Step 3 — Generate Reclamation Recommendations**
For each broken backlink in the top results:
- Suggest the closest matching live page on the domain to redirect the 404 target
- If no obvious match exists, recommend contacting the linking site with an
updated URL
## Output