MCP / SEO
Ahrefs MCP
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.
Show the US organic keywords for my domain, with their ranking pages and positions for the latest available date.
Paste it into an assistant connected to FlyMy.AI. The agent picks the actions.
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.
| Action | What it does |
|---|---|
ahrefs_add_keyword_list_keywords | Add keywords to a Keywords Explorer list |
ahrefs_add_project_competitors | Add competitors to a Rank Tracker project |
ahrefs_add_project_keywords | Add tracked keywords to a Rank Tracker project |
ahrefs_all_backlinks | List all backlinks pointing to a target |
ahrefs_anchors | List anchor texts used in backlinks to a target |
ahrefs_backlinks_stats | Get aggregate backlinks stats for a target (live/all refdomains, dofollow, etc.) |
ahrefs_batch_analysis | Get bulk metrics for up to 100 targets in one request |
ahrefs_broken_backlinks | List broken backlinks (links to dead pages) for a target |
ahrefs_crawled_pages | List pages Ahrefs crawled for a target (URLs, status, on-page data) |
ahrefs_create_project | Create a new Rank Tracker project |
ahrefs_delete_keyword_list_keywords | Remove keywords from a Keywords Explorer list |
ahrefs_delete_project_competitors | Remove competitors from a Rank Tracker project |
Show all 48 actions
| Action | What it does |
|---|---|
ahrefs_delete_project_keywords | Remove tracked keywords from a Rank Tracker project |
ahrefs_domain_rating | Get Domain Rating (DR) for a target on a date |
ahrefs_domain_rating_history | Get Domain Rating (DR) history over a date range |
ahrefs_keyword_matching_terms | Find keyword ideas that match/contain a seed (keyword research) |
ahrefs_keyword_related_terms | Find keywords related to a seed (also-rank-for ideas) |
ahrefs_keyword_search_suggestions | Get autocomplete search suggestions for a seed keyword |
ahrefs_keyword_volume_by_country | Get search volume of a keyword broken down by country |
ahrefs_keyword_volume_history | Get monthly search-volume history for a single keyword |
ahrefs_keywords_history | Get a target's historical organic keyword counts |
ahrefs_keywords_overview | Get keyword metrics (volume, difficulty, CPC, clicks) for one or more keywords |
ahrefs_limits_and_usage | Get API subscription limits and usage Free, does not consume API units. |
ahrefs_linked_anchors_external | List external anchor texts a target links out with |
ahrefs_linked_anchors_internal | List internal anchor texts a target uses for internal links |
ahrefs_linked_domains | List external domains a target links out to |
ahrefs_metrics | Get Site Explorer metrics (org/paid traffic, traffic value, keywords, backlinks) for a target |
ahrefs_metrics_by_country | Get organic/paid metrics broken down by country for a target |
ahrefs_metrics_history | Get historical Site Explorer metrics over a date range |
ahrefs_organic_competitors | List organic search competitors of a target |
ahrefs_organic_keywords | List organic keywords a target ranks for |
ahrefs_outlinks_stats | Get aggregate outgoing-links (external link) stats for a target |
ahrefs_pages_by_backlinks | List a target's pages ranked by number of backlinks |
ahrefs_pages_by_internal_links | List a target's pages ranked by number of internal links |
ahrefs_pages_by_traffic | Get distribution of a target's pages by organic traffic |
ahrefs_pages_history | Get indexed/ranking pages count history over a date range |
ahrefs_paid_pages | List a target's paid (PPC) landing pages |
ahrefs_rank_tracker_competitors | Get Rank Tracker competitors overview for a project Free, does not consume API units. |
ahrefs_rank_tracker_overview | Get Rank Tracker overview (tracked keyword positions) for a project Free, does not consume API units. |
ahrefs_refdomains | List referring domains linking to a target |
ahrefs_refdomains_history | Get referring-domains count history over a date range |
ahrefs_serp_overview | Get the SERP (top results with metrics) for a keyword Free, does not consume API units. |
ahrefs_site_audit_issues | List Site Audit issues for a project (crawl problems by category) |
ahrefs_site_audit_projects | List Site Audit projects with their health scores Free, does not consume API units. |
ahrefs_top_pages | List a target's top pages by organic traffic |
ahrefs_total_search_volume_history | Get total organic search-volume history over a date range |
ahrefs_update_project | Update a Rank Tracker project's access setting |
ahrefs_url_rating_history | Get 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.
ahrefs_organic_keywordsahrefs_keywords_overviewahrefs_broken_backlinksConnect Ahrefs in a minute
One MCP for every integration. Add it once, then every MCP in the catalog is a request away.
- 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.
- 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.
- Ahrefs api key - From Ahrefs - see docs. Get credentials ->
- 03
Ask
Paste a request from this page. Every run shows what it cost.
claude mcp add --transport http flymyai https://mcp-agents.flymy.ai/mcp
Then run /mcp in Claude Code and sign in.
codex mcp add flymy --url https://mcp-agents.flymy.ai/mcp
Then run codex mcp login flymy to sign in.
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-10-31: name, description, actions and setup as the platform lists them. Examples are requests to paste, not recorded runs.