100+ integrations are ready to connect to your AI.Connect your first MCP

Ahrefs MCP server for your AI

Pull backlink profiles, organic keyword sets and SERP snapshots, batch-check a prospect list in one pass, and read Rank Tracker, Site Audit and Web Analytics projects from chat.

PopMCPAhrefs

Which of our top pages lost the most organic traffic this quarter?

Supported Ahrefs tools

Search every Site Explorer, Keywords Explorer, Rank Tracker, Site Audit, Web Analytics and Brand Radar call your agent can make, plus the alerts it can watch.

ahrefs_site_explorer_all_backlinks

All backlinks pointing to a target, with referring page, anchor, link attributes, and source/target DR.

ahrefs_site_explorer_anchors

Anchor-text distribution of backlinks to a target, with referring domain/page counts.

ahrefs_site_explorer_backlinks_stats

Aggregate backlink counts (live + all-time links and referring domains) for a target on a given date.

ahrefs_site_explorer_broken_backlinks

Backlinks pointing to broken (non-200) pages on a target — reclaim opportunities.

ahrefs_site_explorer_domain_rating

Domain Rating (DR, 0-100) and Ahrefs Rank for a target domain on a given date.

ahrefs_site_explorer_domain_rating_history

Historical Domain Rating for a target over a date range.

ahrefs_site_explorer_linkeddomains

Domains the target links out to, with DR, dofollow link counts, and estimated traffic.

ahrefs_site_explorer_metrics

Estimated organic + paid search metrics (traffic, keywords, traffic value/cost) for a target on a given date.

ahrefs_site_explorer_metrics_history

Historical organic + paid traffic and cost for a target over a date range.

ahrefs_site_explorer_organic_competitors

Domains competing for the same organic keywords as a target, with shared-keyword and traffic comparisons.

ahrefs_site_explorer_organic_keywords

Organic keywords a target ranks for, with position, volume, difficulty, traffic, CPC, and SERP features.

ahrefs_site_explorer_pages_by_traffic

Distribution of a target's pages across organic-traffic buckets (page counts + aggregate traffic).

ahrefs_site_explorer_paid_pages

Pages of a target ranking in PAID search, with ad counts, keywords, traffic, and value.

ahrefs_site_explorer_refdomains

Referring domains linking to a target, with DR, link counts, traffic, and first/last-seen dates.

ahrefs_site_explorer_top_pages

Top pages of a target by organic traffic, with keywords, value, top keyword, and referring domains.

ahrefs_management_projects

List projects in the workspace (Rank Tracker / Web Analytics / GSC), with ids, mode, keyword counts, and Web Analytics data keys.

ahrefs_keywords_explorer_matching_terms

Keyword ideas that contain your seed term(s), with full metrics.

ahrefs_keywords_explorer_overview

Overview metrics for one or more keywords (volume, difficulty, CPC, traffic potential, intents, parent topic).

ahrefs_keywords_explorer_related_terms

Keyword ideas that also-rank-for / also-talk-about your seed term(s), with full metrics.

ahrefs_keywords_explorer_search_suggestions

Autocomplete search-suggestion keyword ideas for your seed term(s), with metrics.

ahrefs_keywords_explorer_volume_by_country

Search volume for a single keyword broken down by country.

ahrefs_keywords_explorer_volume_history

Monthly search-volume history for a single keyword in a country over a date range.

ahrefs_rank_tracker_overview

Tracked-keyword positions for a Rank Tracker project on a date, with traffic, volume, difficulty, and movement.

ahrefs_site_audit_issues

All SEO issues found in a Site Audit crawl, with counts, importance, and category.

ahrefs_site_audit_page_explorer

Crawled pages of a Site Audit project with 100s of technical SEO fields; filterable by issue.

ahrefs_site_audit_projects

List Site Audit projects with health score, crawl status, and target URL.

ahrefs_public_domain_rating_free

FREE Domain Rating (0-100) for a target domain.

ahrefs_batch_analysis

Analyze up to 100 domains/URLs at once, returning DR, UR, backlinks, refdomains, organic + paid traffic per target.

ahrefs_serp_overview

Top organic + paid SERP results for a keyword in a country, with DR, UR, traffic, backlinks per result.

ahrefs_subscription_info_limits_and_usage

Current subscription plan, API-key expiry, and API-unit limits + usage (this key and workspace).

ahrefs_web_analytics_browser_versions

Visitors by browser version for a Web Analytics project over a date range.

ahrefs_web_analytics_browser_versions_chart

Time-series of visitors by browser version for a Web Analytics project at a chosen granularity.

ahrefs_web_analytics_browsers

Visitors by browser for a Web Analytics project over a date range.

ahrefs_web_analytics_browsers_chart

Time-series of visitors by browser for a Web Analytics project at a chosen granularity.

ahrefs_web_analytics_chart

Time-series Web Analytics (pageviews, visitors, visits, bounce rate) at hourly/daily/weekly/monthly granularity.

ahrefs_web_analytics_cities

Visitors by city for a Web Analytics project over a date range.

ahrefs_web_analytics_cities_chart

Time-series of visitors by city for a Web Analytics project at a chosen granularity.

ahrefs_web_analytics_continents

Visitors by continent for a Web Analytics project over a date range.

ahrefs_web_analytics_continents_chart

Time-series of visitors by continent for a Web Analytics project at a chosen granularity.

ahrefs_web_analytics_countries

Visitors by country for a Web Analytics project over a date range.

ahrefs_web_analytics_countries_chart

Time-series of visitors by country for a Web Analytics project at a chosen granularity.

ahrefs_web_analytics_devices

Visitors by device type for a Web Analytics project over a date range.

ahrefs_web_analytics_devices_chart

Time-series of visitors by device type for a Web Analytics project at a chosen granularity.

ahrefs_web_analytics_entry_pages

Entry pages (where sessions begin) for a Web Analytics project over a date range.

ahrefs_web_analytics_entry_pages_chart

Time-series of entry pages (where sessions begin) for a Web Analytics project at a chosen granularity.

ahrefs_web_analytics_exit_pages

Exit pages (where sessions end) for a Web Analytics project over a date range.

ahrefs_web_analytics_exit_pages_chart

Time-series of exit pages (where sessions end) for a Web Analytics project at a chosen granularity.

ahrefs_web_analytics_languages

Visitors by browser language for a Web Analytics project over a date range.

ahrefs_web_analytics_languages_chart

Time-series of visitors by browser language for a Web Analytics project at a chosen granularity.

ahrefs_web_analytics_operating_systems

Visitors by operating system for a Web Analytics project over a date range.

ahrefs_web_analytics_operating_systems_chart

Time-series of visitors by operating system for a Web Analytics project at a chosen granularity.

ahrefs_web_analytics_operating_systems_versions

Visitors by OS version for a Web Analytics project over a date range.

ahrefs_web_analytics_operating_systems_versions_chart

Time-series of visitors by os version for a Web Analytics project at a chosen granularity.

ahrefs_web_analytics_referrers

Visitors by referring URL for a Web Analytics project over a date range.

ahrefs_web_analytics_referrers_chart

Time-series of visitors by referring url for a Web Analytics project at a chosen granularity.

ahrefs_web_analytics_source_channels

Visitors by marketing channel for a Web Analytics project over a date range.

ahrefs_web_analytics_source_channels_chart

Time-series of visitors by marketing channel for a Web Analytics project at a chosen granularity.

ahrefs_web_analytics_sources

Visitors by traffic source for a Web Analytics project over a date range.

ahrefs_web_analytics_sources_chart

Time-series of visitors by traffic source for a Web Analytics project at a chosen granularity.

ahrefs_web_analytics_stats

Aggregate Web Analytics totals (pageviews, visitors, visits, bounce rate, session duration) for a project over a date range.

ahrefs_web_analytics_top_pages

Top pages by traffic for a Web Analytics project over a date range.

ahrefs_web_analytics_top_pages_chart

Time-series of top pages by traffic for a Web Analytics project at a chosen granularity.

ahrefs_web_analytics_utm_params

Visitors by a UTM parameter value for a Web Analytics project over a date range.

ahrefs_web_analytics_utm_params_chart

Time-series of visitors by an utm parameter value for a Web Analytics project at a chosen granularity.

ahrefs_site_explorer_crawled_pages

Pages Ahrefs has crawled for a target, with HTTP code, title, URL Rating, and crawl dates.

ahrefs_site_explorer_keywords_history

Historical counts of a target's organic keyword rankings by position bucket over a date range.

ahrefs_site_explorer_linked_anchors_external

Anchor text of EXTERNAL outbound links from a target, with linked domain/page counts.

ahrefs_site_explorer_linked_anchors_internal

Anchor text of INTERNAL outbound links within a target, with linked page counts.

ahrefs_site_explorer_metrics_by_country

Organic + paid search metrics for a target broken down by country, on a given date.

ahrefs_site_explorer_outlinks_stats

Aggregate outgoing-link stats for a target (linked domains, outgoing links, dofollow split).

ahrefs_site_explorer_pages_by_backlinks

Pages of a target ranked by number of backlinks, with refdomains and URL Rating.

ahrefs_site_explorer_pages_by_internal_links

Pages of a target ranked by inbound INTERNAL links, with URL Rating and HTTP status.

ahrefs_site_explorer_pages_history

Historical count of a target's pages ranking in organic search over a date range.

ahrefs_site_explorer_refdomains_history

Historical count of unique referring domains for a target over a date range.

ahrefs_site_explorer_total_search_volume_history

Historical total search volume of keywords a target ranks for (top positions) over a date range.

ahrefs_site_explorer_url_rating_history

Historical URL Rating (page-level backlink strength) for a target page over a date range.

ahrefs_management_add_brand_radar_prompts

Add custom prompts (per country) to a Brand Radar report.

ahrefs_management_add_keyword_list_keywords

Add keywords to a saved keyword list.

ahrefs_management_add_project_competitors

Add competitor URL(s) to a Rank Tracker project.

ahrefs_management_add_project_keywords

Add keywords (with locations and optional tags) to a Rank Tracker project.

ahrefs_management_brand_radar_prompts

List custom prompts configured for a Brand Radar report.

ahrefs_management_brand_radar_reports

List Brand Radar reports in the workspace.

ahrefs_management_create_brand_radar_report

Create a new Brand Radar report (data sources, frequency, brand/competitor definitions).

ahrefs_management_create_project

Create a new Rank Tracker project.

ahrefs_management_delete_brand_radar_prompts

Remove custom prompts from a Brand Radar report (optionally scoped to countries).

ahrefs_management_delete_keyword_list_keywords

Remove keywords from a saved keyword list.

ahrefs_management_delete_project_competitors

Remove competitor URL(s) from a Rank Tracker project.

ahrefs_management_delete_project_keyword_tags

Remove specific tags from a set of Rank Tracker keywords.

ahrefs_management_delete_project_keywords

Remove keywords from a Rank Tracker project.

ahrefs_management_keyword_list_keywords

List keywords in a saved keyword list.

ahrefs_management_locations

List available Rank Tracker tracking locations & languages for a country (optionally a US state).

ahrefs_management_project_competitors

List competitor URLs configured for a Rank Tracker project.

ahrefs_management_project_keywords

List tracked keywords for a Rank Tracker project.

ahrefs_management_set_project_keyword_tags

Add or replace tags on a set of Rank Tracker keywords.

ahrefs_management_update_brand_radar_report

Update the per-data-source scanning frequency of a Brand Radar report.

ahrefs_management_update_project

Update a project's access level (private/shared).

ahrefs_brand_radar_ai_responses

AI responses mentioning tracked brands/competitors across AI engines.

ahrefs_brand_radar_ai_responses_query

ai responses via a JSON body for richer entity/tag filtering.

ahrefs_brand_radar_citations_history_query

citations history via a JSON body for richer entity/tag filtering.

ahrefs_brand_radar_citations_overview_query

citations overview via a JSON body for richer entity/tag filtering.

ahrefs_brand_radar_cited_domains

Domains cited in AI responses for tracked brands.

ahrefs_brand_radar_cited_domains_query

cited domains via a JSON body for richer entity/tag filtering.

ahrefs_brand_radar_cited_pages

Specific pages cited in AI responses for tracked brands.

ahrefs_brand_radar_cited_pages_query

cited pages via a JSON body for richer entity/tag filtering.

ahrefs_brand_radar_impressions_history

AI impression counts for a brand over time.

ahrefs_brand_radar_impressions_history_query

impressions history via a JSON body for richer entity/tag filtering.

ahrefs_brand_radar_impressions_overview

AI impression overview for brands and competitors.

ahrefs_brand_radar_impressions_overview_query

impressions overview via a JSON body for richer entity/tag filtering.

ahrefs_brand_radar_mentions_history

Brand mention counts in AI responses over time.

ahrefs_brand_radar_mentions_history_query

mentions history via a JSON body for richer entity/tag filtering.

ahrefs_brand_radar_mentions_overview

AI mention overview (solo, co-mentioned, competitor-only).

ahrefs_brand_radar_mentions_overview_query

mentions overview via a JSON body for richer entity/tag filtering.

ahrefs_brand_radar_sov_history

Share-of-voice trend over time.

ahrefs_brand_radar_sov_history_query

sov history via a JSON body for richer entity/tag filtering.

ahrefs_brand_radar_sov_overview

Share-of-voice overview comparing brands and competitors.

ahrefs_brand_radar_sov_overview_query

sov overview via a JSON body for richer entity/tag filtering.

ahrefs_gsc_anonymous_queries

GSC anonymized (not-provided) queries enriched with Ahrefs SEO metrics.

ahrefs_gsc_ctr_by_position

GSC click-through rate aggregated by SERP position for a project/portfolio.

ahrefs_gsc_keyword_history

Historical clicks/impressions/CTR/position for specific GSC keywords.

ahrefs_gsc_keywords

Search Console keywords for a project/portfolio with clicks, impressions, CTR, and position.

ahrefs_gsc_metrics_by_country

GSC performance (clicks, impressions, CTR, position) broken down by country.

ahrefs_gsc_page_history

Historical GSC metrics per page over time.

ahrefs_gsc_pages

Search Console pages for a project/portfolio with clicks, impressions, CTR, and position.

ahrefs_gsc_pages_history

Historical aggregate GSC metrics across all pages in a project/portfolio.

ahrefs_gsc_performance_by_device

GSC performance broken down by device type.

ahrefs_gsc_performance_by_position

GSC clicks/impressions/keyword counts grouped by SERP position range.

ahrefs_gsc_performance_history

Aggregate GSC performance (clicks, impressions, CTR, position) over time.

ahrefs_gsc_positions_history

Historical average SERP positions from GSC over time.

ahrefs_social_media_activity_history

Activity/audit log for one social post.

ahrefs_social_media_authors

List social post authors (workspace members) with ids and names.

ahrefs_social_media_channel_metrics

Follower-count history for a social channel over a date range.

ahrefs_social_media_channels

List connected social channels with status and profile info.

ahrefs_social_media_create_post

Create a social post: publish now, schedule, or save as draft.

ahrefs_social_media_delete_post

Delete a social post by id.

ahrefs_social_media_post_metrics

Engagement metrics (likes, comments, shares, views) for a published post.

ahrefs_social_media_posts

List social posts filtered by status, channel, author, date range, or search.

ahrefs_social_media_update_post

Update an existing social post's content, channels, timing, or schedule.

ahrefs_rank_tracker_competitors_domains

Competitor domains with traffic, share-of-voice, and page counts for a Rank Tracker project.

ahrefs_rank_tracker_competitors_overview

Per-keyword competitor positions/traffic for a Rank Tracker project on a date.

ahrefs_rank_tracker_competitors_pages

Competitor pages with traffic, share-of-voice, and keyword counts for a Rank Tracker project.

ahrefs_rank_tracker_competitors_stats

Aggregated position-bucket + SERP-feature stats per competitor for a Rank Tracker project.

ahrefs_rank_tracker_serp_overview

SERP snapshot (positions, DR, traffic, backlinks) for one tracked keyword in a Rank Tracker project.

ahrefs_site_audit_page_content

Crawled content (raw HTML, rendered HTML, plain text, or markdown) for one URL in a Site Audit project.

ahrefs_public_crawler_ip_ranges

FREE list of IPv4 CIDR ranges used by the AhrefsBot crawler (for allow-listing).

ahrefs_public_crawler_ips

FREE list of individual IP addresses used by the AhrefsBot crawler.

Connect Ahrefs to your AI

Credentials off one Ahrefs screen, then an endpoint your client signs into. Nothing to deploy, and nothing to install.

Paste your API key into the connect form — one field, no OAuth popup, no token refresh. The key is scoped to a single Ahrefs workspace, so the connection only ever sees that workspace's projects and data.

API key••••••••••••3f7a
ConnectionVerified

Then just ask for the work

  • Which of our top pages lost the most organic traffic this quarter?

    • site_explorer_top_pages
    • site_explorer_metrics_history
    • site_explorer_pages_by_traffic
  • Run DR and traffic on these 60 guest post prospects and cut anything under DR 40

    • batch_analysis
    • site_explorer_domain_rating
    • site_explorer_refdomains
  • Build a keyword shortlist for a new pricing page, KD under 30, US volume

    • keywords_explorer_matching_terms
    • keywords_explorer_overview
    • keywords_explorer_volume_by_country
  • Which broken backlinks point at pages our latest site audit flagged as errors?

    • site_audit_issues
    • site_audit_page_explorer
    • site_explorer_broken_backlinks

Use Ahrefs from the assistant you already open

One hosted endpoint, registered once per client. The same tools and the same permissions, whichever window the request comes from.

Claude DesktopCustom connector

Add the PopMCP URL under Settings → Connectors and the tools appear in every chat.

Claude WebCustom connector

The same endpoint, registered in the browser. Nothing to install on the machine you are working from.

ChatGPTCustom connector

Register PopMCP as a custom connector, then let ChatGPT read and update the account.

CodexDesktop & CLI

Wire the endpoint into Codex or the Codex CLI when a task needs live business context, not a fixture.

OpenCodeCoding agent

Register the remote MCP server in OpenCode's config for terminal-first and scripted agent runs.

ZCodeDesktop app

Add PopMCP as an MCP server in Z.ai's desktop app and work the account from the same window.

Ahrefs MCP server questions

What teams ask before putting Ahrefs behind an AI client.

Do I need a particular Ahrefs plan for this?

Yes. API access requires an Ahrefs Enterprise plan, and the key you paste has to come from a workspace on that plan. No gateway can work around that — if the workspace has no API access, there is no key to connect with.

Where does the API key come from, and will I have to reconnect later?

You copy the key out of Ahrefs and paste it into the single API key field on the connect form. There is no OAuth popup and no refresh token, so the connection keeps working until that key changes or expires. Ask for subscription_info_limits_and_usage if you want to see the key's expiry date before it catches you out.

How do Ahrefs API units affect what my agent can run?

Ahrefs meters usage in API units against your key, and running the calls through an agent spends the same units a script would. subscription_info_limits_and_usage returns the current plan plus unit limits and usage for that key and workspace. Check it before a large batch_analysis or a full site_explorer_all_backlinks pull if you are close to a ceiling.

Can the agent change anything in my Ahrefs workspace?

Almost everything here is reading: 128 of the 145 operations are reads, and the 17 writes live in workspace Management — projects, keyword lists, tracked competitors and reports. Site Explorer, Keywords Explorer, SERP and Site Audit results are read-only by nature. Set the connection to read-only, or require approval on writes, and an agent can report all day without touching your setup.

Can it analyze domains I don't own?

Yes, and that is most of the value. Site Explorer, Keywords Explorer and SERP data work on any domain or URL, site_explorer_organic_competitors and serp_overview profile whoever outranks you, batch_analysis takes up to 100 domains or URLs in one call, and public_domain_rating_free returns a free DR. Only the project-based data — Rank Tracker, Site Audit, Web Analytics and Search Console — is limited to projects inside your own workspace.

Why do Web Analytics, Rank Tracker and Search Console questions need a project first?

Those endpoints are scoped to projects configured in your workspace, not to a bare domain string. management_projects returns the project ids, mode, keyword counts and Web Analytics data keys for Rank Tracker, Web Analytics and GSC projects, and site_audit_projects returns Site Audit projects with health score and crawl status. Point your agent at those two first, or it has nothing to look the project up by.

Do I have to run or host the Ahrefs MCP server myself?

No. PopMCP hosts it and gives you a Streamable HTTP MCP URL. There is nothing to deploy, no callback URL to register, and no infrastructure to keep running or patch.

Which AI clients can use this MCP server?

Any client that supports a remote Streamable HTTP MCP server — Claude Desktop, Claude Web, ChatGPT custom connectors, Codex and the Codex CLI, OpenCode and Z.ai's ZCode, as well as editors such as Cursor, Windsurf and Zed. Your client signs in to PopMCP with OAuth; the provider credential never leaves the server.

Why do only 30 of the 145 tools load by default?

Loading 145 tool definitions into every conversation burns context before the work starts. PopMCP loads a curated 30-tool set covering the everyday workflows and keeps the rest searchable, so your AI pulls a specialist tool only when a task needs it. You can switch a connection to the full catalog at any time.

What is the difference between a tool and a trigger?

A tool is something your AI calls — there are 145 here. A trigger is something PopMCP watches for you: 9 Ahrefs events that can start work on the PopMCP side. Triggers never enter your AI client's context, and none of them ask you to paste a callback URL into Ahrefs.

Connect Ahrefs to your AI in minutes

Launch a hosted MCP endpoint for Ahrefs, keep tool access under control, and start testing real workflow prompts right away.

Connect your first MCP