SEO

Competitor keyword gap analysis

Compare what competitors rank for against your own coverage to find high-value keywords you're missing entirely.

  • What does competitor.com rank for that we don't?
  • Find keywords two competitors rank for and we miss
  • Where are the gaps versus our top rival?

The playbook

A gap analysis answers "what are they getting traffic for that we aren't?" The output should be a prioritized list of topics, not a raw keyword dump.

Steps

  1. Confirm the competitor list. If the user hasn't named competitors, ask; don't guess. Search competitors are often not business competitors.

  2. Pull each competitor's organic keywords. Call ahrefs.organic_keywords for each competitor domain with mode: "domain", ordered by traffic, limit: 500. Keep the same country across all calls or the comparison is meaningless.

  3. Pull your own coverage. Same call for the user's domain. If Search Console is connected, also pull google_search_console.query with dimensions: ["query"] over 28 days. It will show terms you rank for that Ahrefs missed, which prevents false "gaps".

  4. Compute the gap. Keywords where at least one competitor ranks in the top 10 and you rank below 20 or not at all. Weight by volume and by how many competitors rank. A term two or three competitors all cover is a validated topic, not a one-off.

  5. Cluster before reporting. Group the gap keywords into topics rather than listing them individually. Fifty keywords usually collapse into five or six content themes, and that's the actionable form.

  6. Report. Per cluster: the theme, total addressable volume, which competitors rank, their best position, average difficulty, and the single best head term. Then name the top 3 clusters worth pursuing and why.

Gotchas

  • Ahrefs volume and traffic are estimates. Present them as directional. Never mix an Ahrefs estimate and a Search Console actual in the same column without labelling which is which.
  • Set country deliberately. It defaults to a single market; a US-only pull will look like a huge gap for a UK-focused competitor.
  • Not every gap is worth closing. Filter out terms irrelevant to the business before reporting. A competitor's unrelated blog traffic is not an opportunity.
  • Check difficulty against your actual authority. Use ahrefs.domain_overview on both domains first. If a competitor has a far higher domain rating, their easy terms are not your easy terms.

Install

Install Sequel skills into your agent

Pick your app and Sequel installs itself: a one-click link where the client supports it, that client’s own few steps where it doesn’t. The playbooks come with the server: your agent sees that this playbook exists and reads it when a question matches.

Claude, ChatGPT, Cursor, VS Code, Claude Code, Codex, Grok, Muse, dots and any other MCP app

Already have an MCP client?

https://api.sequel.sh/mcp

Add it as a remote (streamable HTTP) server and sign in when prompted. Skills come with it; nothing else to install. Manual setup per client

Choose your app

  • Claude

    One click, opens in the app

  • Cursor

    One click, opens in the app

  • VS Code

    One click, opens in the app

  • ChatGPT

    Turn on developer mode, then add Sequel. About two minutes.

  • Claude Code

    Run one command, then sign in with /mcp.

  • Codex

    Run one command, then sign in.

  • Gemini CLI

    Run one command, then sign in with /mcp auth.

  • Grok

    Add Sequel as a connector and sign in.

  • Grok Bot

    Paste this to the bot. It registers Sequel and asks you to sign in.

  • Muse

    Muse writes its own connector. One message is the whole setup.

  • dots

    Add Sequel in ChatGPT; your dot picks it up with no extra step.

  • OpenCode

    Add Sequel as a remote server from the OpenCode CLI.

  • Other MCP app

    Any client that speaks remote MCP can connect with this URL.

More like this

Other SEO skills

Analyze high-ranking landing pages

See which pages perform best in organic search: the landing pages that earn the most clicks and impressions, the queries behind each one, and how they compare with competitor estimates from Ahrefs.

Audit internal links to important pages

Audit the site's own internal linking: crawl navigation and body links between the site's pages to find valuable pages with too few inbound internal links, orphan pages, and the handful of cross-links that would lift striking-distance rankings.

Audit or draft an llms.txt

Check whether the site has an llms.txt, whether it follows the spec and points at the pages that matter, and if it is missing draft one from the pages Search Console shows people actually find, so AI assistants get a curated map of the site instead of guessing.

Audit redirect chains and loops

Follow every redirect on the URLs Search Console still sends traffic to, on the sitemap, and on backlinked pages, to find chains, loops, redirects to the homepage, and temporary redirects that should be permanent, so link equity and crawl budget stop leaking.

Audit referring domain quality

Grade the domains linking to a site by authority, traffic and link count, spot concentration risk and link-farm patterns, and separate the referring domains that carry weight from the ones that are noise.

Audit titles and meta descriptions

Compare the title and meta description of each top page against the queries it actually ranks for in Search Console, and find missing, duplicate, truncated or misaligned metadata on the pages where a rewrite would earn the most clicks.

FAQ

Frequently asked questions

What is a keyword gap analysis?
A keyword gap is a query your competitor ranks for on page one where you do not rank in the top 20. Closing the gap means either creating content that targets the query or strengthening an existing page that already attempts to rank for it.
How do I find keywords my competitors rank for that I do not?
Use Ahrefs to pull top pages by organic traffic for a competitor, then filter for queries where your site has no position or a position below 20. Sort by traffic to the competitor's page to prioritize by opportunity size.
How many competitors should I include in a keyword gap analysis?
Two to four is the practical range. More than that creates so much data that prioritization becomes harder. Start with whoever outranks you most often for your money queries, not with who you think of as a business competitor.
Should I create new pages for gap keywords or update existing ones?
Check whether any existing page on your site already targets the query at position 15 to 30. If yes, update that page rather than creating a new one, which risks cannibalization. If nothing targets the query, a new page is warranted.
Can an AI agent run a keyword gap analysis?
Yes. With Ahrefs and Search Console connected, the agent identifies competitor top pages, diffs against your rankings, and returns gap queries prioritized by traffic opportunity. Sequel provides both connections and the competitor-keyword-gap playbook.

Put this playbook to work

Connect a source, ask the question, and the agent follows these steps. Free to start.