Connect Ahrefs to AI agents

Connect Ahrefs to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

get_organic_keywords

Get Organic Keywords

Retrieve organic keywords that a target domain or URL ranks for in Google search results. Returns keyword data including search volume, position, traffic, and more. Useful for analyzing a site's organic search presence and identifying top-performing keywords.

manage_rank_tracker

Manage Rank Tracker

Manage Rank Tracker projects and tracked keywords. Supports listing, creating, and deleting projects, as well as listing, adding, and removing keywords from projects. Management endpoints are free (no API unit cost).

get_brand_radar

Get Brand Radar

Monitor how a brand appears in AI-generated responses across different AI platforms. Retrieves brand overview stats, share of voice history, and actual AI prompts with citations. Use to track and analyze your brand's visibility and mentions in AI assistant responses.

get_organic_competitors

Get Organic Competitors

Retrieve organic search competitors for a target domain. Returns websites that rank for similar keywords, along with shared keyword counts and traffic metrics. Use to identify competing domains in organic search and assess competitive landscape.

research_keywords

Research Keywords

Retrieve keyword metrics from Keywords Explorer for one or more keywords. Returns search volume, keyword difficulty, CPC, clicks data, and SERP features. Use to evaluate keyword potential, assess ranking difficulty, and compare multiple keywords at once.

get_referring_domains

Get Referring Domains

Retrieve the list of referring domains that contain backlinks to a target domain or URL. Each referring domain entry includes metrics like domain rating. Useful for understanding the diversity and quality of a site's backlink sources.

get_keyword_ideas

Get Keyword Ideas

Discover keyword ideas based on a seed keyword. Returns matching terms (phrases containing the keyword) or related terms (semantically related keywords). Also supports fetching search volume history and volume by country for deeper analysis. Use to expand keyword lists and find new ranking opportunities.

get_metrics_by_country

Get Metrics By Country

Retrieve country-specific organic search metrics for a target domain or URL. Shows how organic traffic, keywords, and other metrics are distributed across different countries. Use to understand geographic distribution of a site's organic search presence.

get_serp_overview

Get SERP Overview

Retrieve the current search engine results page (SERP) data for a given keyword. Returns up to the top 100 organic results with their URLs and associated SEO metrics. Use for competitive analysis of specific search queries to see which pages currently rank and their authority metrics.

get_linked_domains

Get Linked Domains

Retrieve domains that a target website links out to. Returns the external domains receiving outbound links from the target, along with link counts and metrics. Use to analyze a site's outbound linking patterns and identify its most-linked external resources.

get_top_pages

Get Top Pages

Retrieve top pages for a domain ranked by organic traffic. Also supports fetching pages by traffic volume and best pages by external/internal link count. Use to identify a site's highest-traffic content and most linked-to pages.

get_domain_history

Get Domain History

Retrieve historical SEO metrics for a domain or URL over time. Supports multiple history types: referring domains, URL rating, organic metrics, keyword counts, pages, and total search volume. Use to track trends and analyze how a site's SEO profile has changed over time.

batch_analyze

Batch Analyze

Analyze SEO metrics for multiple domains or URLs in a single request. Returns metrics such as Domain Rating, backlinks, referring domains, organic traffic, and keywords for up to 100 targets at once. Use for bulk competitor analysis, portfolio monitoring, or comparing multiple domains efficiently.

get_backlinks

Get Backlinks

Retrieve backlinks pointing to a target domain or URL. Returns a list of backlinks with source URLs, anchor text, and link attributes. Supports filtering for broken backlinks and allows sorting, filtering, and pagination for detailed link profile analysis.

get_site_audit

Get Site Audit

Retrieve Site Audit data including project list, health scores, detected issues, and crawled page details. Use to access technical SEO audit results and identify on-site issues that need attention.

analyze_domain

Analyze Domain

Retrieve a comprehensive overview of a domain or URL including Domain Rating, backlink statistics, outlink statistics, and organic traffic metrics. Combines multiple Site Explorer data points into a single overview. Use this to quickly assess a website's SEO authority, link profile strength, and organic search presence.

get_rank_tracker_data

Get Rank Tracker Data

Retrieve rank tracking data for a Rank Tracker project. Supports fetching the project overview (visibility, average position), competitor comparisons, and SERP-level keyword data. Use to monitor keyword rankings over time and track SEO progress.

get_anchors

Get Anchor Text

Retrieve anchor text distribution for backlinks pointing to a target domain or URL. Returns a list of anchor texts used in backlinks along with the number of referring domains and backlinks for each anchor. Useful for understanding how other sites describe your content in their links.

More integrations teams use with Ahrefs

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Subscribe to webhooks for list and library change notifications. Retrieve site properties and search for sites across Microsoft 365.

Hubspot

Create, read, update, and delete CRM objects including contacts, companies, deals, tickets, and custom objects. Manage associations between CRM records. Track engagements such as calls, emails, meetings, notes, and tasks. Send transactional and marketing emails, manage campaigns, and handle subscription preferences. Build and manage marketing workflows, sequences, and automation actions. Manage CMS content including blog posts, landing pages, and HubDB tables. Handle commerce data including products, orders, invoices, quotes, and payments. Create and manage contact lists for segmentation. Configure deal, ticket, and order pipelines with custom stages. Search and filter CRM records. Bulk import and export CRM data. Manage users, teams, and account settings. Subscribe to webhooks for real-time notifications on object creation, deletion, property changes, merges, and association changes.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Subscribe to real-time change events via Change Data Capture and Platform Events. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Apolloio

Search and prospect B2B contacts and companies from a database of over 275 million people and 70 million organizations. Enrich people and company data with emails, phone numbers, and firmographic details. Create and manage contacts, accounts, deals, and tasks. Add contacts to email sequences and manage sequence statuses. Log and search call records. Perform bulk operations for contact creation, account creation, task creation, and data enrichment.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Technical notes for Ahrefs

Access Ahrefs SEO data including backlink analysis, keyword research, organic traffic estimates, and SERP analysis. Analyze any domain or URL to retrieve Domain Rating, referring domains, organic traffic, top pages, and anchor text distribution. Research keywords with difficulty scores, search volumes, click metrics, and related suggestions. Retrieve current SERP data for competitive analysis. Monitor keyword ranking positions over time and manage Rank Tracker projects. Access Site Audit data including crawl results, detected issues, and health scores. Monitor brand appearances in AI-generated responses across AI platforms via Brand Radar. Manage Keywords Explorer lists and Rank Tracker projects programmatically.

Connect Ahrefs to production AI agents

See how Metorial gives Ahrefs access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting Ahrefs to AI agents with Metorial.

  1. Can Metorial connect Ahrefs to AI agents?
    Yes. Metorial connects AI agents to Ahrefs through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.