MCP / SEO

Ahrefs MCP: SEO data

Ahrefs SEO data: backlinks and referring domains, organic keywords and competitors, top pages, keyword ideas and difficulty, rank tracking. Connect it to Claude, Codex, Cursor or any MCP client through one FlyMy.AI MCP.

Your own API key48 actionsSEO

$ YOUR NEXT RUN

Claude CodeCodexCursorAny agent

Use Ahrefs MCP in your assistant

Paste this prompt into Claude Code, Codex, Cursor or any agent. It reads the guide and helps you connect.

Read https://flymy.ai/skill.md and https://flymy.ai/mcp/ahrefs.md. Help me connect Ahrefs MCP to this assistant. Then help me run this task: Show the US organic keywords for my domain, with their ranking pages and positions for the latest available date.
Open FlyMy.AIDownload brief

What Ahrefs MCP can do

48 actions in the FlyMy.AI catalog, the most used first. Your agent finds them through search_tools and calls the one the task needs.

ActionWhat it does
# ahrefs_add_keyword_list_keywordsAdd keywords to a Keywords Explorer list.
# ahrefs_add_project_competitorsAdd competitors to a Rank Tracker project.
# ahrefs_add_project_keywordsAdd tracked keywords to a Rank Tracker project.
# ahrefs_anchorsList anchor texts used in backlinks to a target.
# ahrefs_batch_analysisGet bulk metrics for up to 100 targets in one request.
# ahrefs_crawled_pagesList pages Ahrefs crawled for a target (URLs, status, on-page data).
# ahrefs_create_projectCreate a new Rank Tracker project.
# ahrefs_delete_keyword_list_keywordsRemove keywords from a Keywords Explorer list.
# ahrefs_delete_project_competitorsRemove competitors from a Rank Tracker project.
Show all 48 actions
ActionWhat it does
# ahrefs_delete_project_keywordsRemove tracked keywords from a Rank Tracker project.
# ahrefs_domain_ratingGet Domain Rating (DR) for a target on a date.
# ahrefs_domain_rating_historyGet Domain Rating (DR) history over a date range.
# ahrefs_keyword_matching_termsFind keyword ideas that match/contain a seed (keyword research).
# ahrefs_keyword_search_suggestionsGet autocomplete search suggestions for a seed keyword.
# ahrefs_keyword_volume_by_countryGet search volume of a keyword broken down by country.
# ahrefs_keyword_volume_historyGet monthly search-volume history for a single keyword.
# ahrefs_keywords_historyGet a target's historical organic keyword counts.
# ahrefs_keywords_overviewGet keyword metrics (volume, difficulty, CPC, clicks) for one or more keywords.
# ahrefs_limits_and_usageGet API subscription limits and usage. Free, does not consume API units.
# ahrefs_linked_anchors_externalList external anchor texts a target links out with.
# ahrefs_linked_anchors_internalList internal anchor texts a target uses for internal links.
# ahrefs_linked_domainsList external domains a target links out to.
# ahrefs_metricsGet Site Explorer metrics (org/paid traffic, traffic value, keywords, backlinks) for a target.
# ahrefs_metrics_by_countryGet organic/paid metrics broken down by country for a target.
# ahrefs_metrics_historyGet historical Site Explorer metrics over a date range.
# ahrefs_organic_competitorsList organic search competitors of a target.
# ahrefs_organic_keywordsList organic keywords a target ranks for.
# ahrefs_pages_by_trafficGet distribution of a target's pages by organic traffic.
# ahrefs_pages_historyGet indexed/ranking pages count history over a date range.
# ahrefs_paid_pagesList a target's paid (PPC) landing pages.
# ahrefs_rank_tracker_competitorsGet Rank Tracker competitors overview for a project. Free, does not consume API units.
# ahrefs_rank_tracker_overviewGet Rank Tracker overview (tracked keyword positions) for a project. Free, does not consume API units.
# ahrefs_refdomainsList referring domains linking to a target.
# ahrefs_refdomains_historyGet referring-domains count history over a date range.
# ahrefs_serp_overviewGet the SERP (top results with metrics) for a keyword. Free, does not consume API units.
# ahrefs_site_audit_issuesList Site Audit issues for a project (crawl problems by category).
# ahrefs_site_audit_projectsList Site Audit projects with their health scores. Free, does not consume API units.
# ahrefs_top_pagesList a target's top pages by organic traffic.
# ahrefs_total_search_volume_historyGet total organic search-volume history over a date range.
# ahrefs_update_projectUpdate a Rank Tracker project's access setting.
# ahrefs_url_rating_historyGet URL Rating (UR) history over a date range.

Ask your agent

Requests to paste as they are. Each one runs on the actions named under it.

“Show the US organic keywords for my domain, with their ranking pages and positions for the latest available date.”uses ahrefs_organic_keywords
“Compare US search volume, keyword difficulty and CPC for these five keywords.”uses ahrefs_keywords_overview
“Find broken backlinks pointing to my domain and list the source pages and dead destinations.”uses ahrefs_broken_backlinks

Connect Ahrefs in a minute

One MCP for every integration. Add it once, then every MCP in the catalog is a request away.

  1. 01

    Add FlyMy.AI

    Add the FlyMy.AI MCP to your assistant with one of the commands below and sign in. No key to copy.

  2. 02

    Add your Ahrefs api key

    Paste it into the Ahrefs connection settings once; it stays with FlyMy.AI, never in a prompt or a chat.

  3. 03

    Ask

    Paste a request from this page. Every run shows what it cost.

Claude Code
claude mcp add --transport http flymyai https://mcp-agents.flymy.ai/mcp

Then run /mcp in Claude Code and sign in.

Codex
codex mcp add flymy --url https://mcp-agents.flymy.ai/mcp

Then run codex mcp login flymy to sign in.

claude.ai and Claude Desktop
https://mcp-agents.flymy.ai/mcp

Settings, Connectors, Add custom connector: paste this URL.

Pay per run

FlyMy.AI bills the run: the model and the tool's seconds. Calls go to your own Ahrefs account, under its plan and limits. No seats and no minimum.

Go to the source

From the FlyMy.AI platform catalog of 2026-11-03: name, description, actions and setup as the platform lists them. Examples are requests to paste, not recorded runs.