Semrush Tool Integration: Deep Keyword Intelligence
LocalSEOData’s keyword endpoints handle local keyword research well for most workflows. Semrush adds depth when the task requires:
- Full organic ranking profile of a competitor domain
- Keyword gap analysis at database scale (25B+ keywords)
- Keyword Magic Tool filtering by local modifiers with difficulty scoring
What This Integration Unlocks
Full competitor keyword profiles — Every keyword they rank for, not just local-intent ones.
Deep keyword gap analysis — What does competitor rank for that you don’t? At scale.
Keyword Magic Tool access — Local filtering with difficulty scoring.
Site audit capability — Technical issues affecting location page performance.
Dispatch Routing
Routes to semrush-tool when:
- Prompt requests keyword gap analysis against a competitor domain
- Keyword Magic Tool depth is specified
- Full organic profile comparison needed
- Practitioner explicitly requests Semrush
Works alongside local-keyword-research skill — LocalSEOData for standard keyword research, Semrush when deeper analysis is needed.
Three Workflows
Workflow 1 — Deep Keyword Gap Analysis:
Prompt: "Using Semrush, compare smithlaw.com vs. jonesattorneys.com for
local legal keywords in Chicago. Show everything they rank for that we don't."
Output:
Keyword Gap: smithlaw.com vs. jonesattorneys.com — Chicago Legal
jonesattorneys.com ranks for 47 local keywords smithlaw.com doesn't:
High opportunity (500+ monthly searches):
"chicago personal injury lawyer" — 1,200/mo — jones position 3, smith not ranking
"car accident attorney chicago" — 880/mo — jones position 5, smith not ranking
Medium opportunity (100-500):
"wrongful death lawyer chicago" — 320/mo
"slip and fall attorney chicago" — 210/mo
[continues...]
Content recommendations:
- Create location page targeting "personal injury lawyer chicago"
- Add "car accident attorney" as GBP service
- Blog content for informational gaps
Workflow 2 — Keyword Magic Tool for Local:
Prompt: "Use Semrush Keyword Magic Tool for 'personal injury lawyer'
filtered to Phoenix metro with difficulty under 60."
Output:
Keyword Magic Results — Phoenix Personal Injury (KD<60)
Keyword | Volume | KD | CPC
"personal injury lawyer phoenix az" | 480 | 52 | $89
"phoenix car accident lawyer" | 320 | 48 | $76
"slip and fall attorney phoenix" | 110 | 41 | $62
"motorcycle accident lawyer phoenix" | 90 | 38 | $71
[continues...]
Workflow 3 — Site Audit for Location Pages:
Prompt: "Run a Semrush site audit on smithlaw.com focusing on location page issues."
Output:
Technical Issues — Location Pages:
Critical:
- /chicago-office/ returning 404 (broken page)
- /locations/naperville/ missing canonical tag
High:
- 3 location pages with duplicate title tags
- /locations/oak-park/ missing H1
Medium:
- 5 location pages under 300 words (thin content risk)
- Schema errors on /locations/evanston/
Setup
- Semrush subscription with API access
- API key from Semrush account → API → Generate
- In Claude Code: Settings → MCP Servers → Add Server
- Name: Semrush
- API Key: [Your key]
- Verify connection
First Prompt After Setup
"Confirm Semrush is connected and show available tools."
Skill Documentation
For technical details on how this skill works, what data it pulls, and complete prompt reference, see the full skill documentation.