The Ahrefs MCP connector routes your AI agent's tool calls to Ahrefs's own MCP server through Scalekit. Each user signs in to Ahrefs once, and Scalekit stores and refreshes their tokens, so your agent never handles credentials. It comes with 134 tools.
- Tools
- 134
- What they doRead · write · destructive
- 134 · 0 · 0134 read0 write0 destructive
- Users sign in with
- OAuth
- OAuth app
- Scalekit's or your own
What you can do
- Analyze backlinks: retrieve backlink profiles, referring domains, anchors, and broken links for any URL or domain
- Research keywords: get keyword ideas, search volume, difficulty scores, SERP overviews, and ranking history
- Explore site data: fetch organic and paid traffic estimates, top pages, and outlinks for any domain
- Track rankings: monitor keyword positions across countries and devices over time
- Audit sites: run crawls to surface broken pages, redirect chains, and on-page SEO issues
- Analyze web analytics: retrieve traffic stats, top pages, UTM breakdowns, and traffic sources for Web Analytics projects
Setup
Install the SDK
Terminal window npm install @scalekit-sdk/node dotenvTerminal window pip install scalekit-sdk-python python-dotenvSet your credentials
Add your Scalekit credentials to your
.envfile. Find values in app.scalekit.com > Developers > API Credentials..env SCALEKIT_ENVIRONMENT_URL=<your-environment-url>SCALEKIT_CLIENT_ID=<your-client-id>SCALEKIT_CLIENT_SECRET=<your-client-secret>Create the Ahrefs MCP connection
In AgentKit > Connections, create an Ahrefs MCP connection. The name you give it is the
connection_nameyour code passes. See Configure connections.Scalekit credentials are available for Ahrefs MCP server, so you don't need to register an OAuth app.
Authorize a user and make your first call
quickstart.mts import { ScalekitClient } from '@scalekit-sdk/node'import 'dotenv/config'import { createInterface } from 'node:readline/promises'const scalekit = new ScalekitClient(process.env.SCALEKIT_ENVIRONMENT_URL,process.env.SCALEKIT_CLIENT_ID,process.env.SCALEKIT_CLIENT_SECRET,)const actions = scalekit.actionsconst connector = 'ahrefsmcp'const identifier = 'user_123'// Generate an authorization link for the userconst { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })console.log('Authorize Ahrefs MCP:', link)const rl = createInterface({ input: process.stdin, output: process.stdout })await rl.question('Press Enter after authorizing...')rl.close()// Make your first callconst result = await actions.executeTool({connector,identifier,toolName: 'ahrefsmcp_management_brand_radar_reports',toolInput: {},})console.log(result)Terminal window npx tsx quickstart.mtsquickstart.py import osfrom scalekit import ScalekitClientfrom dotenv import load_dotenvload_dotenv()scalekit_client = ScalekitClient(env_url=os.getenv("SCALEKIT_ENVIRONMENT_URL"),client_id=os.getenv("SCALEKIT_CLIENT_ID"),client_secret=os.getenv("SCALEKIT_CLIENT_SECRET"),)actions = scalekit_client.actionsconnection_name = "ahrefsmcp"identifier = "user_123"# Generate an authorization link for the userlink_response = actions.get_authorization_link(connection_name=connection_name,identifier=identifier,)print("Authorize Ahrefs MCP:", link_response.link)input("Press Enter after authorizing...")# Make your first callresult = actions.execute_tool(tool_input={},tool_name="ahrefsmcp_management_brand_radar_reports",connection_name=connection_name,identifier=identifier,)print(result)Terminal window python quickstart.pyEach user signs in once. See Authorize a user for the full flow and statuses.
Tools
Pass the exact name toexecute_toolahrefsmcp_batch_analysisPerforms a batch analysis of multiple URLs, domains, or subdomains to retrieve selected SEO, backlink, organic, and paid traffic metrics.Read-onlyBatch Analysis
Performs a batch analysis of multiple URLs, domains, or subdomains to retrieve selected SEO, backlink, organic, and paid traffic metrics.
Inputs
selectarrayrequired- Comma-separated list of fields to include in the response.
targetsarrayrequired- No description.
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
order_byarray- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
volume_modestring- How to calculate search volume: `monthly` or `average`.
ahrefsmcp_brand_radar_ai_responsesRetrieve questions asked to AI assistants and the AI-generated responses that mention your brand or competitors, including cited sources and search volume estimates.Read-onlyBrand Radar Ai Responses
Retrieve questions asked to AI assistants and the AI-generated responses that mention your brand or competitors, including cited sources and search volume estimates.
Inputs
data_sourcestringrequired- AI platform to pull data from (e.g. `google_ai_overview`).
selectstringrequired- Comma-separated list of fields to include in the response.
brandstring- Your brand domain to track (e.g. `ahrefs.com`).
competitorsstring- Comma-separated list of competitor domains.
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
datestring- Target date for the snapshot (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
marketstring- Market or country code for brand radar data.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_ai_responses_entitiesRetrieve questions asked to AI assistants and the AI-generated responses that mention your brand or competitors, with entity-based inputs for more precise brand matching.Read-onlyBrand Radar Ai Responses Entities
Retrieve questions asked to AI assistants and the AI-generated responses that mention your brand or competitors, with entity-based inputs for more precise brand matching.
Inputs
data_sourcearrayrequired- AI platform to pull data from (e.g. `google_ai_overview`).
selectarrayrequired- Comma-separated list of fields to include in the response.
brand_filterobject- Filter object to restrict results to a specific brand or competitor entity, using the same structure as the `brands` and `competitors` fields.
brandsarray- Array of brand domains to track.
competitorsarray- Comma-separated list of competitor domains.
countryarray- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
datestring- Target date for the snapshot (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
marketarray- Market or country code for brand radar data.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
tags_filterobject- No description.
volume_rangeobject- Filter results to items whose associated search volume falls within a numeric range. Provide optional `from` and/or `to` bounds.
whereobject- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_citations_history_entitiesProvides the historical number of citations for your and competitors' brand URLs in an LLM you specify.Read-onlyBrand Radar Citations History Entities
Provides the historical number of citations for your and competitors' brand URLs in an LLM you specify. Every entity provided in `brands` (and `competitors`, when applicable) must include at least one value in `url_groups`; entities consisting only of `names` are not supported here because citations are matched against URL groups. Prefer this tool over the non-entities variant, since you can more accurately describe brands/competitors with multiple names and/or websites.
Inputs
data_sourcearrayrequired- AI platform to pull data from (e.g. `google_ai_overview`).
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
brandsarray- Array of brand domains to track.
countryarray- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
marketarray- Market or country code for brand radar data.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
tags_filterobject- No description.
whereobject- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_citations_overview_entitiesProvides the number of citations for your and competitors' brands in an LLM you specify, with filters for locations, query text, URL, and more.Read-onlyBrand Radar Citations Overview Entities
Provides the number of citations for your and competitors' brands in an LLM you specify, with filters for locations, query text, URL, and more. Every entity provided in `brands` (and `competitors`, when applicable) must include at least one value in `url_groups`; entities consisting only of `names` are not supported here because citations are matched against URL groups. Prefer this tool over the non-entities variant, since you can more accurately describe brands/competitors with multiple names and/or websites.
Inputs
data_sourcearrayrequired- AI platform to pull data from (e.g. `google_ai_overview`).
selectarrayrequired- Comma-separated list of fields to include in the response.
brandsarray- Array of brand domains to track.
competitorsarray- Comma-separated list of competitor domains.
countryarray- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
marketarray- Market or country code for brand radar data.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
tags_filterobject- No description.
whereobject- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_cited_domainsRetrieve domains cited in AI-generated responses that mention your brand or competitors in a specified LLM, with response counts and estimated monthly search volume.Read-onlyBrand Radar Cited Domains
Retrieve domains cited in AI-generated responses that mention your brand or competitors in a specified LLM, with response counts and estimated monthly search volume.
Inputs
data_sourcestringrequired- AI platform to pull data from (e.g. `google_ai_overview`).
selectstringrequired- Comma-separated list of fields to include in the response.
brandstring- Your brand domain to track (e.g. `ahrefs.com`).
competitorsstring- Comma-separated list of competitor domains.
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
datestring- Target date for the snapshot (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
marketstring- Market or country code for brand radar data.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_cited_domains_entitiesRetrieve domains cited in AI-generated responses mentioning your brand or competitors in a specified LLM, using entity-based inputs for more precise brand matching.Read-onlyBrand Radar Cited Domains Entities
Retrieve domains cited in AI-generated responses mentioning your brand or competitors in a specified LLM, using entity-based inputs for more precise brand matching.
Inputs
data_sourcearrayrequired- AI platform to pull data from (e.g. `google_ai_overview`).
selectarrayrequired- Comma-separated list of fields to include in the response.
brand_filterobject- Filter object to restrict results to a specific brand or competitor entity, using the same structure as the `brands` and `competitors` fields.
brandsarray- Array of brand domains to track.
competitorsarray- Comma-separated list of competitor domains.
countryarray- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
datestring- Target date for the snapshot (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
marketarray- Market or country code for brand radar data.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
tags_filterobject- No description.
volume_rangeobject- Filter results to items whose associated search volume falls within a numeric range. Provide optional `from` and/or `to` bounds.
whereobject- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_cited_pagesRetrieve pages cited in AI-generated responses that mention your brand or competitors in a specified LLM, with response counts and estimated monthly search volume.Read-onlyBrand Radar Cited Pages
Retrieve pages cited in AI-generated responses that mention your brand or competitors in a specified LLM, with response counts and estimated monthly search volume.
Inputs
data_sourcestringrequired- AI platform to pull data from (e.g. `google_ai_overview`).
selectstringrequired- Comma-separated list of fields to include in the response.
brandstring- Your brand domain to track (e.g. `ahrefs.com`).
competitorsstring- Comma-separated list of competitor domains.
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
datestring- Target date for the snapshot (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
marketstring- Market or country code for brand radar data.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
tracked_urlsstring- No description.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_cited_pages_entitiesRetrieve pages cited in AI-generated responses mentioning your brand or competitors in a specified LLM, using entity-based inputs for more precise brand matching.Read-onlyBrand Radar Cited Pages Entities
Retrieve pages cited in AI-generated responses mentioning your brand or competitors in a specified LLM, using entity-based inputs for more precise brand matching.
Inputs
data_sourcearrayrequired- AI platform to pull data from (e.g. `google_ai_overview`).
selectarrayrequired- Comma-separated list of fields to include in the response.
brand_filterobject- Filter object to restrict results to a specific brand or competitor entity, using the same structure as the `brands` and `competitors` fields.
brandsarray- Array of brand domains to track.
competitorsarray- Comma-separated list of competitor domains.
countryarray- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
datestring- Target date for the snapshot (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
marketarray- Market or country code for brand radar data.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
tags_filterobject- No description.
tracked_urlsarray- No description.
volume_rangeobject- Filter results to items whose associated search volume falls within a numeric range. Provide optional `from` and/or `to` bounds.
whereobject- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_impressions_historyProvides the historical number of impressions for your and competitors's brands in an LLM you specify.Read-onlyBrand Radar Impressions History
Provides the historical number of impressions for your and competitors's brands in an LLM you specify. Prefer using the equivalent 'brand-radar-impressions-history-entities' tool since the inputs are more descriptive.
Inputs
brandstringrequired- Your brand domain to track (e.g. `ahrefs.com`).
data_sourcestringrequired- AI platform to pull data from (e.g. `google_ai_overview`).
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
marketstring- Market or country code for brand radar data.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_impressions_history_entitiesRetrieve the historical number of impressions for your and competitors’ brands in a specified LLM, using entity-based inputs for more precise brand matching.Read-onlyBrand Radar Impressions History Entities
Retrieve the historical number of impressions for your and competitors’ brands in a specified LLM, using entity-based inputs for more precise brand matching.
Inputs
data_sourcearrayrequired- AI platform to pull data from (e.g. `google_ai_overview`).
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
brandsarray- Array of brand domains to track.
countryarray- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
marketarray- Market or country code for brand radar data.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
tags_filterobject- No description.
whereobject- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_impressions_overviewRetrieve the number of impressions for your and competitors’ brands in a specified LLM, with filters for location, query text, URL, and more.Read-onlyBrand Radar Impressions Overview
Retrieve the number of impressions for your and competitors’ brands in a specified LLM, with filters for location, query text, URL, and more.
Inputs
data_sourcestringrequired- AI platform to pull data from (e.g. `google_ai_overview`).
selectstringrequired- Comma-separated list of fields to include in the response.
brandstring- Your brand domain to track (e.g. `ahrefs.com`).
competitorsstring- Comma-separated list of competitor domains.
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
marketstring- Market or country code for brand radar data.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_impressions_overview_entitiesRetrieve impression counts for your and competitors’ brands in a specified LLM, using entity-based inputs and filters for location, query text, and URL.Read-onlyBrand Radar Impressions Overview Entities
Retrieve impression counts for your and competitors’ brands in a specified LLM, using entity-based inputs and filters for location, query text, and URL.
Inputs
data_sourcearrayrequired- AI platform to pull data from (e.g. `google_ai_overview`).
selectarrayrequired- Comma-separated list of fields to include in the response.
brandsarray- Array of brand domains to track.
competitorsarray- Comma-separated list of competitor domains.
countryarray- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
marketarray- Market or country code for brand radar data.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
tags_filterobject- No description.
whereobject- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_mentions_historyProvides the historical number of mentions for your and competitors's brands in an LLM you specify.Read-onlyBrand Radar Mentions History
Provides the historical number of mentions for your and competitors's brands in an LLM you specify. Prefer using the equivalent 'brand-radar-mentions-history-entities' tool since the inputs are more descriptive.
Inputs
brandstringrequired- Your brand domain to track (e.g. `ahrefs.com`).
data_sourcestringrequired- AI platform to pull data from (e.g. `google_ai_overview`).
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
marketstring- Market or country code for brand radar data.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_mentions_history_entitiesRetrieve the historical number of mentions for your and competitors’ brands in a specified LLM, using entity-based inputs for more precise brand matching.Read-onlyBrand Radar Mentions History Entities
Retrieve the historical number of mentions for your and competitors’ brands in a specified LLM, using entity-based inputs for more precise brand matching.
Inputs
data_sourcearrayrequired- AI platform to pull data from (e.g. `google_ai_overview`).
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
brandsarray- Array of brand domains to track.
countryarray- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
marketarray- Market or country code for brand radar data.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
tags_filterobject- No description.
whereobject- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_mentions_overviewRetrieve mention counts for your and competitors’ brands in a specified LLM, with filters for location, query text, URL, and more.Read-onlyBrand Radar Mentions Overview
Retrieve mention counts for your and competitors’ brands in a specified LLM, with filters for location, query text, URL, and more.
Inputs
data_sourcestringrequired- AI platform to pull data from (e.g. `google_ai_overview`).
selectstringrequired- Comma-separated list of fields to include in the response.
brandstring- Your brand domain to track (e.g. `ahrefs.com`).
competitorsstring- Comma-separated list of competitor domains.
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
marketstring- Market or country code for brand radar data.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_mentions_overview_entitiesRetrieve mention counts for your and competitors’ brands in a specified LLM, using entity-based inputs and filters for location, query text, and URL.Read-onlyBrand Radar Mentions Overview Entities
Retrieve mention counts for your and competitors’ brands in a specified LLM, using entity-based inputs and filters for location, query text, and URL.
Inputs
data_sourcearrayrequired- AI platform to pull data from (e.g. `google_ai_overview`).
selectarrayrequired- Comma-separated list of fields to include in the response.
brandsarray- Array of brand domains to track.
competitorsarray- Comma-separated list of competitor domains.
countryarray- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
marketarray- Market or country code for brand radar data.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
tags_filterobject- No description.
whereobject- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_sov_historyProvides the historical share of voice for your and competitors's brands in an LLM you specify.Read-onlyBrand Radar Sov History
Provides the historical share of voice for your and competitors's brands in an LLM you specify. Prefer using the equivalent 'brand-radar-sov-history-entities' tool since the inputs are more descriptive.
Inputs
data_sourcestringrequired- AI platform to pull data from (e.g. `google_ai_overview`).
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
brandstring- Your brand domain to track (e.g. `ahrefs.com`).
competitorsstring- Comma-separated list of competitor domains.
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
marketstring- Market or country code for brand radar data.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_sov_history_entitiesRetrieve the historical share of voice for your and competitors’ brands in a specified LLM, using entity-based inputs for more precise brand matching.Read-onlyBrand Radar Sov History Entities
Retrieve the historical share of voice for your and competitors’ brands in a specified LLM, using entity-based inputs for more precise brand matching.
Inputs
data_sourcearrayrequired- AI platform to pull data from (e.g. `google_ai_overview`).
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
brandsarray- Array of brand domains to track.
competitorsarray- Comma-separated list of competitor domains.
countryarray- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
marketarray- Market or country code for brand radar data.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
tags_filterobject- No description.
whereobject- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_sov_overviewProvides the share of voice for your and competitors's brands in an LLM you specify, with filters for locations, query text, URL, and more.Read-onlyBrand Radar Sov Overview
Provides the share of voice for your and competitors's brands in an LLM you specify, with filters for locations, query text, URL, and more. Prefer using the equivalent 'brand-radar-sov-overview-entities' tool since the inputs are more descriptive.
Inputs
data_sourcestringrequired- AI platform to pull data from (e.g. `google_ai_overview`).
brandstring- Your brand domain to track (e.g. `ahrefs.com`).
competitorsstring- Comma-separated list of competitor domains.
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
marketstring- Market or country code for brand radar data.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_brand_radar_sov_overview_entitiesRetrieve share of voice for your and competitors’ brands in a specified LLM, using entity-based inputs and filters for location, query text, and URL.Read-onlyBrand Radar Sov Overview Entities
Retrieve share of voice for your and competitors’ brands in a specified LLM, using entity-based inputs and filters for location, query text, and URL.
Inputs
data_sourcearrayrequired- AI platform to pull data from (e.g. `google_ai_overview`).
brandsarray- Array of brand domains to track.
competitorsarray- Comma-separated list of competitor domains.
countryarray- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
marketarray- Market or country code for brand radar data.
outputstring- Response format. Use `json` (default) or `csv`.
promptsstring- Search prompt or topic to track brand mentions for.
report_idstring- ID of the brand radar report to query.
search_volume_typestring- Type of search volume to use when calculating brand radar metrics, such as `organic` or `ai_overview` search volume.
tags_filterobject- No description.
whereobject- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_docRetrieve full OpenAPI documentation for Ahrefs API v3 and the corresponding MCP tools.Read-onlyDoc
Retrieve full OpenAPI documentation for Ahrefs API v3 and the corresponding MCP tools. Use this tool to get the input schema for any other Ahrefs tool.
Inputs
toolstringrequired- No description.one of
site-explorer-domain-rating-historybrand-radar-cited-domains-entitiessite-explorer-organic-competitorsrank-tracker-overviewbrand-radar-mentions-historysocial-media-activity-historysite-explorer-crawled-pagesbrand-radar-impressions-overviewweb-analytics-source-channels-chartserp-overviewweb-analytics-entry-pagessite-explorer-refdomains-historybrand-radar-ai-responses-entitiessocial-media-postsgsc-metrics-by-countrykeywords-explorer-volume-historysubscription-info-limits-and-usagebrand-radar-sov-historyweb-analytics-languagesrank-tracker-competitors-pagesbrand-radar-cited-pagesgsc-performance-by-devicepublic-crawler-ipsweb-analytics-countriesweb-analytics-exit-pagessite-explorer-pages-by-internal-linksgsc-performance-by-positiongsc-page-historysite-explorer-outlinks-statssocial-media-authorsweb-analytics-citiesbrand-radar-mentions-overviewbrand-radar-sov-history-entitiesweb-analytics-source-channelssite-audit-issuessite-explorer-broken-backlinksrank-tracker-competitors-statsweb-analytics-utm-params-chartweb-analytics-referrers-chartweb-analytics-continents-chartweb-analytics-entry-pages-chartweb-analytics-statssite-explorer-backlinks-statsbrand-radar-cited-pages-entitiessocial-media-post-metricsweb-analytics-operating-systemsweb-analytics-top-pagesbrand-radar-ai-responsesweb-analytics-operating-systems-versions-chartweb-analytics-devices-chartweb-analytics-chartkeywords-explorer-overviewsite-explorer-url-rating-historymanagement-keyword-list-keywordsweb-analytics-sources-chartbrand-radar-impressions-history-entitiespublic-crawler-ip-rangessite-explorer-metricssite-explorer-referring-domainsmanagement-brand-radar-reportssocial-media-channel-metricsgsc-keyword-historysite-explorer-metrics-by-countrysite-explorer-all-backlinksweb-analytics-exit-pages-chartgsc-keywordsweb-analytics-sourcessite-explorer-total-search-volume-historysite-explorer-linked-anchors-externalmanagement-brand-radar-promptssite-explorer-linked-anchors-internalkeywords-explorer-related-termssite-explorer-organic-keywordsweb-analytics-languages-chartweb-analytics-browserskeywords-explorer-matching-termsmanagement-project-keywordsbrand-radar-sov-overviewbrand-radar-impressions-overview-entitiesmanagement-locationsgsc-ctr-by-positiongsc-anonymous-queriesgsc-performance-historysite-audit-page-contentbrand-radar-impressions-historysite-explorer-top-pageskeywords-explorer-search-suggestionssocial-media-channelsgsc-positions-historygsc-pages-historyweb-analytics-countries-chartweb-analytics-top-pages-chartsite-explorer-keywords-historysite-explorer-anchorssite-explorer-metrics-historyrank-tracker-competitors-overviewbrand-radar-mentions-overview-entitiesbrand-radar-mentions-history-entitiessite-explorer-pages-by-backlinksweb-analytics-utm-paramsweb-analytics-cities-chartweb-analytics-browsers-chartsite-explorer-domain-ratingsite-audit-page-explorerweb-analytics-browser-versionssite-explorer-pages-historykeywords-explorer-volume-by-countrymanagement-projectssite-explorer-pages-by-trafficrank-tracker-serp-overviewmanagement-project-competitorsbrand-radar-sov-overview-entitiesweb-analytics-operating-systems-chartweb-analytics-operating-systems-versionsweb-analytics-devicessite-explorer-paid-pagesweb-analytics-browser-versions-chartsite-audit-projectsbatch-analysisbrand-radar-cited-domainsweb-analytics-referrersgsc-pagessite-explorer-linked-domainsweb-analytics-continentsdoc
ahrefsmcp_gsc_anonymous_queriesReturns organic keywords that rank for the project but are not reported by Google Search Console (anonymized queries), with position, traffic, volume, and CPC data.Read-onlyGsc Anonymous Queries
Returns organic keywords that rank for the project but are not reported by Google Search Console (anonymized queries), with position, traffic, volume, and CPC data.
Inputs
countrystringrequired- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
project_idintegerrequired- Numeric ID of the Ahrefs project.
selectstringrequired- Comma-separated list of fields to include in the response.
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
timeoutinteger- Request timeout in seconds.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_gsc_ctr_by_positionReturns Google Search Console CTR (click-through rate) data by keyword position, showing each keyword's average position, CTR percentage, and click count.Read-onlyGsc Ctr By Position
Returns Google Search Console CTR (click-through rate) data by keyword position, showing each keyword's average position, CTR percentage, and click count.
Inputs
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
devicestring- Device type filter: `desktop`, `mobile`, or `tablet`.
outputstring- Response format. Use `json` (default) or `csv`.
portfolio_idinteger- Numeric ID of the Ahrefs portfolio.
project_idinteger- Numeric ID of the Ahrefs project.
ahrefsmcp_gsc_keyword_historyReturns Google Search Console performance history chart data (clicks, impressions, CTR, position) for specific keywords over time, grouped by daily, weekly, or monthly intervals.Read-onlyGsc Keyword History
Returns Google Search Console performance history chart data (clicks, impressions, CTR, position) for specific keywords over time, grouped by daily, weekly, or monthly intervals.
Inputs
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
devicestring- Device type filter: `desktop`, `mobile`, or `tablet`.
history_groupingstring- How to group historical data: `daily`, `weekly`, or `monthly`.
keywordsstring- Comma-separated list of keywords to analyze.
outputstring- Response format. Use `json` (default) or `csv`.
portfolio_idinteger- Numeric ID of the Ahrefs portfolio.
project_idinteger- Numeric ID of the Ahrefs project.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_gsc_keywordsReturns Google Search Console keywords table data with metrics (clicks, impressions, CTR, position) and associated URLs for a project.Read-onlyGsc Keywords
Returns Google Search Console keywords table data with metrics (clicks, impressions, CTR, position) and associated URLs for a project.
Inputs
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
devicestring- Device type filter: `desktop`, `mobile`, or `tablet`.
keyword_list_idinteger- ID of the saved keyword list to use.
keyword_listsstring- No description.
limitinteger- Maximum number of results to return.
outputstring- Response format. Use `json` (default) or `csv`.
portfolio_idinteger- Numeric ID of the Ahrefs portfolio.
project_idinteger- Numeric ID of the Ahrefs project.
search_typestring- GSC search type: `web`, `image`, `video`, or `news`.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_gsc_metrics_by_countryReturns Google Search Console click metrics grouped by country for a project.Read-onlyGsc Metrics By Country
Returns Google Search Console click metrics grouped by country for a project.
Inputs
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
date_tostring- End date for the data range (YYYY-MM-DD).
devicestring- Device type filter: `desktop`, `mobile`, or `tablet`.
history_groupingstring- How to group historical data: `daily`, `weekly`, or `monthly`.
outputstring- Response format. Use `json` (default) or `csv`.
portfolio_idinteger- Numeric ID of the Ahrefs portfolio.
project_idinteger- Numeric ID of the Ahrefs project.
search_typestring- GSC search type: `web`, `image`, `video`, or `news`.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_gsc_page_historyReturns Google Search Console performance history chart data (clicks, impressions, CTR, position) for specific pages over time, grouped by daily, weekly, or monthly intervals.Read-onlyGsc Page History
Returns Google Search Console performance history chart data (clicks, impressions, CTR, position) for specific pages over time, grouped by daily, weekly, or monthly intervals.
Inputs
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
devicestring- Device type filter: `desktop`, `mobile`, or `tablet`.
history_groupingstring- How to group historical data: `daily`, `weekly`, or `monthly`.
outputstring- Response format. Use `json` (default) or `csv`.
pagesstring- No description.
portfolio_idinteger- Numeric ID of the Ahrefs portfolio.
project_idinteger- Numeric ID of the Ahrefs project.
ahrefsmcp_gsc_pagesReturns Google Search Console pages table data with metrics (clicks, impressions, CTR, position) and associated keywords for a project.Read-onlyGsc Pages
Returns Google Search Console pages table data with metrics (clicks, impressions, CTR, position) and associated keywords for a project.
Inputs
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
devicestring- Device type filter: `desktop`, `mobile`, or `tablet`.
limitinteger- Maximum number of results to return.
outputstring- Response format. Use `json` (default) or `csv`.
portfolio_idinteger- Numeric ID of the Ahrefs portfolio.
project_idinteger- Numeric ID of the Ahrefs project.
search_typestring- GSC search type: `web`, `image`, `video`, or `news`.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_gsc_pages_historyReturns Google Search Console pages chart data showing total indexed pages over time for a project.Read-onlyGsc Pages History
Returns Google Search Console pages chart data showing total indexed pages over time for a project.
Inputs
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
devicestring- Device type filter: `desktop`, `mobile`, or `tablet`.
history_groupingstring- How to group historical data: `daily`, `weekly`, or `monthly`.
outputstring- Response format. Use `json` (default) or `csv`.
portfolio_idinteger- Numeric ID of the Ahrefs portfolio.
project_idinteger- Numeric ID of the Ahrefs project.
search_typestring- GSC search type: `web`, `image`, `video`, or `news`.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_gsc_performance_by_deviceReturns Google Search Console performance metrics (clicks, impressions, CTR, position) broken down by device type (desktop, mobile, tablet) for a project.Read-onlyGsc Performance By Device
Returns Google Search Console performance metrics (clicks, impressions, CTR, position) broken down by device type (desktop, mobile, tablet) for a project.
Inputs
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
portfolio_idinteger- Numeric ID of the Ahrefs portfolio.
project_idinteger- Numeric ID of the Ahrefs project.
search_typestring- GSC search type: `web`, `image`, `video`, or `news`.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_gsc_performance_by_positionReturns Google Search Console performance metrics (clicks, impressions, keyword count) grouped by position ranges (1-3, 4-10, 11-20, 21-50, 51+) for a project.Read-onlyGsc Performance By Position
Returns Google Search Console performance metrics (clicks, impressions, keyword count) grouped by position ranges (1-3, 4-10, 11-20, 21-50, 51+) for a project.
Inputs
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
devicestring- Device type filter: `desktop`, `mobile`, or `tablet`.
outputstring- Response format. Use `json` (default) or `csv`.
portfolio_idinteger- Numeric ID of the Ahrefs portfolio.
project_idinteger- Numeric ID of the Ahrefs project.
search_typestring- GSC search type: `web`, `image`, `video`, or `news`.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_gsc_performance_historyReturns Google Search Console performance chart data (clicks, impressions, CTR, position) for a project over time, grouped by daily, weekly, or monthly intervals.Read-onlyGsc Performance History
Returns Google Search Console performance chart data (clicks, impressions, CTR, position) for a project over time, grouped by daily, weekly, or monthly intervals.
Inputs
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
devicestring- Device type filter: `desktop`, `mobile`, or `tablet`.
history_groupingstring- How to group historical data: `daily`, `weekly`, or `monthly`.
outputstring- Response format. Use `json` (default) or `csv`.
portfolio_idinteger- Numeric ID of the Ahrefs portfolio.
project_idinteger- Numeric ID of the Ahrefs project.
search_typestring- GSC search type: `web`, `image`, `video`, or `news`.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_gsc_positions_historyReturns Google Search Console keyword count data grouped by position ranges (1-3, 4-10, 11-20, 21-50, 51+) over time for a project.Read-onlyGsc Positions History
Returns Google Search Console keyword count data grouped by position ranges (1-3, 4-10, 11-20, 21-50, 51+) over time for a project.
Inputs
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
devicestring- Device type filter: `desktop`, `mobile`, or `tablet`.
history_groupingstring- How to group historical data: `daily`, `weekly`, or `monthly`.
outputstring- Response format. Use `json` (default) or `csv`.
portfolio_idinteger- Numeric ID of the Ahrefs portfolio.
project_idinteger- Numeric ID of the Ahrefs project.
search_typestring- GSC search type: `web`, `image`, `video`, or `news`.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_keywords_explorer_matching_termsRetrieve keyword ideas and SEO metrics by matching input terms or phrases in a specified country, with support for filtering, sorting, and metric selection.Read-onlyKeywords Explorer Matching Terms
Retrieve keyword ideas and SEO metrics by matching input terms or phrases in a specified country, with support for filtering, sorting, and metric selection.
Inputs
countrystringrequired- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
selectstringrequired- Comma-separated list of fields to include in the response.
keyword_list_idinteger- ID of the saved keyword list to use.
keywordsstring- Comma-separated list of keywords to analyze.
limitinteger- Maximum number of results to return.
match_modestring- No description.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
termsstring- No description.
timeoutinteger- Request timeout in seconds.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_keywords_explorer_overviewRetrieve an overview of keyword metrics—including search volume, CPC, ranking difficulty, traffic potential, and intent—for specified keywords, domains, or URLs.Read-onlyKeywords Explorer Overview
Retrieve an overview of keyword metrics—including search volume, CPC, ranking difficulty, traffic potential, and intent—for specified keywords, domains, or URLs.
Inputs
countrystringrequired- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
selectstringrequired- Comma-separated list of fields to include in the response.
keyword_list_idinteger- ID of the saved keyword list to use.
keywordsstring- Comma-separated list of keywords to analyze.
limitinteger- Maximum number of results to return.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
targetstring- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
target_positionstring- No description.
timeoutinteger- Request timeout in seconds.
volume_monthly_date_fromstring- No description.
volume_monthly_date_tostring- No description.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_keywords_explorer_search_suggestionsRetrieve keyword search suggestions and metrics such as search volume, difficulty, and CPC for specified queries, with filtering and sorting options.Read-onlyKeywords Explorer Search Suggestions
Retrieve keyword search suggestions and metrics such as search volume, difficulty, and CPC for specified queries, with filtering and sorting options.
Inputs
countrystringrequired- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
selectstringrequired- Comma-separated list of fields to include in the response.
keyword_list_idinteger- ID of the saved keyword list to use.
keywordsstring- Comma-separated list of keywords to analyze.
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
timeoutinteger- Request timeout in seconds.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_keywords_explorer_volume_by_countryRetrieves search volume metrics for a specified keyword broken down by country.Read-onlyKeywords Explorer Volume By Country
Retrieves search volume metrics for a specified keyword broken down by country. Requests will not consume API units if you use only "ahrefs" or "wordcount" in the `keywords` or `keyword` query parameter.
Inputs
keywordstringrequired- Keyword to analyze.
limitinteger- Maximum number of results to return.
outputstring- Response format. Use `json` (default) or `csv`.
ahrefsmcp_keywords_explorer_volume_historyRetrieves historical search volume data for a specified keyword within a given country and date range.Read-onlyKeywords Explorer Volume History
Retrieves historical search volume data for a specified keyword within a given country and date range. Requests will not consume API units if you use only "ahrefs" or "wordcount" in the `keywords` or `keyword` query parameter.
Inputs
countrystringrequired- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
keywordstringrequired- Keyword to analyze.
date_fromstring- Start date for the data range (YYYY-MM-DD).
date_tostring- End date for the data range (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
ahrefsmcp_management_brand_radar_promptsRetrieves custom prompts for a specific brand radar report.Read-onlyManagement Brand Radar Prompts
Retrieves custom prompts for a specific brand radar report. Requests to this endpoint are free and do not consume any API units.
Inputs
report_idstringrequired- ID of the brand radar report to query.
outputstring- Response format. Use `json` (default) or `csv`.
ahrefsmcp_management_brand_radar_reportsRetrieves the list of custom brand radar reports.Read-onlyManagement Brand Radar Reports
Retrieves the list of custom brand radar reports. Requests to this endpoint are free and do not consume any API units.
Inputs
outputstring- Response format. Use `json` (default) or `csv`.
ahrefsmcp_management_keyword_list_keywordsRetrieves keywords from a keyword list.Read-onlyManagement Keyword List Keywords
Retrieves keywords from a keyword list. Requests to this endpoint are free and do not consume any API units.
Inputs
keyword_list_idintegerrequired- ID of the saved keyword list to use.
outputstring- Response format. Use `json` (default) or `csv`.
ahrefsmcp_management_locationsRetrieves a list of management locations filtered by country code and optionally by US state.Read-onlyManagement Locations
Retrieves a list of management locations filtered by country code and optionally by US state.
Inputs
country_codestringrequired- Two-letter ISO country code.
outputstring- Response format. Use `json` (default) or `csv`.
us_statestring- No description.
ahrefsmcp_management_project_competitorsRetrieves the list of competitors associated with a specific Rank Tracker project in Ahrefs, using the project's unique identifier.Read-onlyManagement Project Competitors
Retrieves the list of competitors associated with a specific Rank Tracker project in Ahrefs, using the project's unique identifier.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
outputstring- Response format. Use `json` (default) or `csv`.
ahrefsmcp_management_project_keywordsReturns all tracked keywords for a specific Rank Tracker project, including associated tracking metadata.Read-onlyManagement Project Keywords
Returns all tracked keywords for a specific Rank Tracker project, including associated tracking metadata.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
outputstring- Response format. Use `json` (default) or `csv`.
ahrefsmcp_management_projectsRetrieves information about existing projects, including ownership, access type, presence of Rank Tracker keywords, and project ID.Read-onlyManagement Projects
Retrieves information about existing projects, including ownership, access type, presence of Rank Tracker keywords, and project ID.
Inputs
accessstring- No description.
has_keywordsboolean- No description.
outputstring- Response format. Use `json` (default) or `csv`.
owned_bystring- No description.
project_idinteger- Numeric ID of the Ahrefs project.
ahrefsmcp_public_crawler_ip_rangesReturns the IP ranges used by the Ahrefs public web crawler, typically for allowlisting or firewall configuration.Read-onlyPublic Crawler Ip Ranges
Returns the IP ranges used by the Ahrefs public web crawler, typically for allowlisting or firewall configuration.
Inputs
outputstring- Response format. Use `json` (default) or `csv`.
ahrefsmcp_public_crawler_ipsReturns the list of individual IP addresses currently used by the Ahrefs public web crawler.Read-onlyPublic Crawler Ips
Returns the list of individual IP addresses currently used by the Ahrefs public web crawler.
Inputs
outputstring- Response format. Use `json` (default) or `csv`.
ahrefsmcp_public_domain_rating_freeRetrieves the domain rating for a specified domain or URL as of today.Read-onlyPublic Domain Rating Free
Retrieves the domain rating for a specified domain or URL as of today.
Inputs
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
outputstring- Response format. Use `json` (default) or `csv`.
ahrefsmcp_public_domain_rating_top_domainsReturns the top 1M domains ranked by Ahrefs Domain Rating, together with each domain's current Domain Rating.Read-onlyPublic Domain Rating Top Domains
Returns the top 1M domains ranked by Ahrefs Domain Rating, together with each domain's current Domain Rating.
Inputs
frominteger- Starting position (1-based rank) in the top domains list to return results from.
outputstring- Response format. Use `json` (default) or `csv`.
tointeger- Ending position (rank) in the top domains list to return results to.
ahrefsmcp_rank_tracker_competitors_domainsProvides an overview of competitor domains and their share of voice for a specified project and date in Ahrefs Rank Tracker, allowing comparison between current and previous data.Read-onlyRank Tracker Competitors Domains
Provides an overview of competitor domains and their share of voice for a specified project and date in Ahrefs Rank Tracker, allowing comparison between current and previous data.
Inputs
datestringrequired- Target date for the snapshot (YYYY-MM-DD).
devicestringrequired- Device type filter: `desktop`, `mobile`, or `tablet`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
selectstringrequired- Comma-separated list of fields to include in the response.
date_comparedstring- Comparison date for period-over-period analysis (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
target_and_tracked_competitors_onlyboolean- If true, restricts results to the project's target domain and its tracked competitors only, excluding other discovered competitor domains.
timeoutinteger- Request timeout in seconds.
volume_modestring- How to calculate search volume: `monthly` or `average`.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_rank_tracker_competitors_overviewProvides an overview of competitor rankings and keyword metrics for a specified project and date in Ahrefs Rank Tracker, allowing comparison between current and previous data.Read-onlyRank Tracker Competitors Overview
Provides an overview of competitor rankings and keyword metrics for a specified project and date in Ahrefs Rank Tracker, allowing comparison between current and previous data.
Inputs
datestringrequired- Target date for the snapshot (YYYY-MM-DD).
devicestringrequired- Device type filter: `desktop`, `mobile`, or `tablet`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
selectstringrequired- Comma-separated list of fields to include in the response.
date_comparedstring- Comparison date for period-over-period analysis (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
timeoutinteger- Request timeout in seconds.
volume_modestring- How to calculate search volume: `monthly` or `average`.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_rank_tracker_competitors_pagesProvides an overview of competitor pages and keyword metrics for a specified project and date in Ahrefs Rank Tracker, allowing comparison between current and previous data.Read-onlyRank Tracker Competitors Pages
Provides an overview of competitor pages and keyword metrics for a specified project and date in Ahrefs Rank Tracker, allowing comparison between current and previous data.
Inputs
datestringrequired- Target date for the snapshot (YYYY-MM-DD).
devicestringrequired- Device type filter: `desktop`, `mobile`, or `tablet`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
selectstringrequired- Comma-separated list of fields to include in the response.
date_comparedstring- Comparison date for period-over-period analysis (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
target_and_tracked_competitors_onlyboolean- No description.
timeoutinteger- Request timeout in seconds.
volume_modestring- How to calculate search volume: `monthly` or `average`.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_rank_tracker_competitors_statsProvides an overview of competitor metrics for a specified project and date in Ahrefs Rank Tracker.Read-onlyRank Tracker Competitors Stats
Provides an overview of competitor metrics for a specified project and date in Ahrefs Rank Tracker. Metrics include: share of voice, share of traffic value, average position, traffic, traffic value, and positions, and counts of SERP features.
Inputs
datestringrequired- Target date for the snapshot (YYYY-MM-DD).
devicestringrequired- Device type filter: `desktop`, `mobile`, or `tablet`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
selectstringrequired- Comma-separated list of fields to include in the response.
outputstring- Response format. Use `json` (default) or `csv`.
volume_modestring- How to calculate search volume: `monthly` or `average`.
ahrefsmcp_rank_tracker_overviewProvides an overview of tracked keyword rankings and related search metrics for a specified project and date, with support for historical comparison, filtering, column selection, and device type.Read-onlyRank Tracker Overview
Provides an overview of tracked keyword rankings and related search metrics for a specified project and date, with support for historical comparison, filtering, column selection, and device type.
Inputs
datestringrequired- Target date for the snapshot (YYYY-MM-DD).
devicestringrequired- Device type filter: `desktop`, `mobile`, or `tablet`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
selectstringrequired- Comma-separated list of fields to include in the response.
date_comparedstring- Comparison date for period-over-period analysis (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
timeoutinteger- Request timeout in seconds.
volume_modestring- How to calculate search volume: `monthly` or `average`.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_rank_tracker_serp_overviewReturns SERP overview for a specified keyword in a Rank Tracker project, showing detailed information about each position including title, URL, type, backlink metrics, and traffic data.Read-onlyRank Tracker Serp Overview
Returns SERP overview for a specified keyword in a Rank Tracker project, showing detailed information about each position including title, URL, type, backlink metrics, and traffic data.
Inputs
countrystringrequired- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
devicestringrequired- Device type filter: `desktop`, `mobile`, or `tablet`.
keywordstringrequired- Keyword to analyze.
project_idintegerrequired- Numeric ID of the Ahrefs project.
datestring- Target date for the snapshot (YYYY-MM-DD).
language_codestring- BCP-47 language code (e.g. `en`, `fr`).
location_idinteger- Numeric ID of the target location.
outputstring- Response format. Use `json` (default) or `csv`.
top_positionsinteger- No description.
ahrefsmcp_render_data_tableRender an interactive data table widget with sorting, search, and pagination.Read-onlyRender Data Table
Render an interactive data table widget with sorting, search, and pagination. Accepts column definitions and row data; column types are inferred automatically.
Inputs
columnsarrayrequired- No description.
rowsarrayrequired- No description.
titlestringrequired- No description.
pageSizeinteger- No description.
sourceobject- No description.
ahrefsmcp_render_scorecardRender a scorecard widget showing key metrics as a card grid.Read-onlyRender Scorecard
Render a scorecard widget showing key metrics as a card grid. Accepts metric cards with labels, numeric values, optional units, change indicators, and groupings.
Inputs
cardsarrayrequired- No description.
titlestringrequired- No description.
sourceobject- No description.
ahrefsmcp_render_time_series_chartRender an interactive time series line chart for one or more named data series.Read-onlyRender Time Series Chart
Render an interactive time series line chart for one or more named data series. Supports dual Y-axis, hover tooltips, crosshair, and a toggleable legend.
Inputs
seriesarrayrequired- No description.
titlestringrequired- No description.
sourceobject- No description.
ahrefsmcp_serp_overviewRetrieve an overview of the top search results for a specified keyword and country, including position, backlinks, traffic, domain rating, and related keywords.Read-onlySerp Overview
Retrieve an overview of the top search results for a specified keyword and country, including position, backlinks, traffic, domain rating, and related keywords.
Inputs
countrystringrequired- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
keywordstringrequired- Keyword to analyze.
selectstringrequired- Comma-separated list of fields to include in the response.
datestring- Target date for the snapshot (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
top_positionsinteger- No description.
typestring- Filter SERP results to a specific result type (e.g. `organic`, `paid`, `featured_snippet`).
ahrefsmcp_site_audit_issuesReturns all issues from your Site Audit crawl.Read-onlySite Audit Issues
Returns all issues from your Site Audit crawl. By default, it provides data from the latest available crawl, but you can also specify a crawl date and time to retrieve historical metrics.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
datestring- Target date for the snapshot (YYYY-MM-DD).
date_comparedstring- Comparison date for period-over-period analysis (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
ahrefsmcp_site_audit_page_contentReturns the HTML and extracted text content of a page from your Site Audit crawl.Read-onlySite Audit Page Content
Returns the HTML and extracted text content of a page from your Site Audit crawl. By default, it provides the latest available snapshot, but you can also specify a crawl date and time to retrieve historical snapshots.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
selectstringrequired- Comma-separated list of fields to include in the response.
target_urlstringrequired- Full URL to analyze (e.g. `https://ahrefs.com/blog/`).
datestring- Target date for the snapshot (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
ahrefsmcp_site_audit_page_explorerReturns detailed information about pages discovered in a Site Audit project, including URLs, crawl metadata, and selected on-page metrics.Read-onlySite Audit Page Explorer
Returns detailed information about pages discovered in a Site Audit project, including URLs, crawl metadata, and selected on-page metrics.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
datestring- Target date for the snapshot (YYYY-MM-DD).
date_comparedstring- Comparison date for period-over-period analysis (YYYY-MM-DD).
filter_modestring- No description.
issue_idstring- No description.
limitinteger- Maximum number of results to return.
offsetinteger- Number of results to skip before returning results, for pagination alongside `limit`.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
selectstring- Comma-separated list of fields to include in the response.
timeoutinteger- Request timeout in seconds.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_site_audit_projectsReturns Site Audit project summaries (all projects or a specific project), including health scores, issue counts, and crawled page counts for the latest crawl or a specified historical point in time.Read-onlySite Audit Projects
Returns Site Audit project summaries (all projects or a specific project), including health scores, issue counts, and crawled page counts for the latest crawl or a specified historical point in time.
Inputs
datestring- Target date for the snapshot (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
project_idinteger- Numeric ID of the Ahrefs project.
project_namestring- No description.
project_urlstring- No description.
ahrefsmcp_site_explorer_ai_responses_countReturns how often AI search platforms cite the target, with the number of citation links and distinct cited pages per platform as of a given date.Read-onlySite Explorer Ai Responses Count
Returns how often AI search platforms cite the target, with the number of citation links and distinct cited pages per platform as of a given date. When analyzing a domain name, use `mode=subdomains` — `mode=domain` can exclude www and other subdomains. Requests using `ahrefs.com`, `wordcount.com`, or any URL under those domains as the `target` do not consume API units.
Inputs
selectstringrequired- Comma-separated list of fields to include in the response.
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
datestring- Target date for the snapshot (YYYY-MM-DD).
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
ahrefsmcp_site_explorer_all_backlinksRetrieves detailed information about all backlinks pointing to a specified URL or domain, with extensive filtering, sorting, selection, and aggregation options.Read-onlySite Explorer All Backlinks
Retrieves detailed information about all backlinks pointing to a specified URL or domain, with extensive filtering, sorting, selection, and aggregation options.
Inputs
selectstringrequired- Comma-separated list of fields to include in the response.
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
aggregationstring- No description.
historystring- No description.
limitinteger- Maximum number of results to return.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
timeoutinteger- Request timeout in seconds.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_site_explorer_anchorsRetrieves anchor text and associated backlink metrics for a specified domain or URL, with filtering and selection options.Read-onlySite Explorer Anchors
Retrieves anchor text and associated backlink metrics for a specified domain or URL, with filtering and selection options.
Inputs
selectstringrequired- Comma-separated list of fields to include in the response.
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
historystring- No description.
limitinteger- Maximum number of results to return.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
timeoutinteger- Request timeout in seconds.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_site_explorer_backlinks_statsProvides backlink statistics for a specified URL or domain as of a given date, with options to control protocol and scope.Read-onlySite Explorer Backlinks Stats
Provides backlink statistics for a specified URL or domain as of a given date, with options to control protocol and scope.
Inputs
datestringrequired- Target date for the snapshot (YYYY-MM-DD).
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
ahrefsmcp_site_explorer_broken_backlinksRetrieves a list of broken backlinks (i.e., links pointing to non-functioning pages) for a specified domain or URL, with customizable filtering, field selection, and aggregation options.Read-onlySite Explorer Broken Backlinks
Retrieves a list of broken backlinks (i.e., links pointing to non-functioning pages) for a specified domain or URL, with customizable filtering, field selection, and aggregation options.
Inputs
selectstringrequired- Comma-separated list of fields to include in the response.
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
aggregationstring- No description.
limitinteger- Maximum number of results to return.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
timeoutinteger- Request timeout in seconds.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_site_explorer_crawled_pagesReturns a list of pages crawled by Ahrefs for a specified domain or URL, including the page URLs.Read-onlySite Explorer Crawled Pages
Returns a list of pages crawled by Ahrefs for a specified domain or URL, including the page URLs.
Inputs
selectstringrequired- Comma-separated list of fields to include in the response.
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
limitinteger- Maximum number of results to return.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_site_explorer_domain_ratingRetrieve the domain rating and related metrics for a specified domain or URL as of a specific date.Read-onlySite Explorer Domain Rating
Retrieve the domain rating and related metrics for a specified domain or URL as of a specific date.
Inputs
datestringrequired- Target date for the snapshot (YYYY-MM-DD).
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
outputstring- Response format. Use `json` (default) or `csv`.
ahrefsmcp_site_explorer_domain_rating_historyRetrieve historical domain rating data for a specified domain or URL over a defined date range and grouping interval.Read-onlySite Explorer Domain Rating History
Retrieve historical domain rating data for a specified domain or URL over a defined date range and grouping interval.
Inputs
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
date_tostring- End date for the data range (YYYY-MM-DD).
history_groupingstring- How to group historical data: `daily`, `weekly`, or `monthly`.
outputstring- Response format. Use `json` (default) or `csv`.
ahrefsmcp_site_explorer_keywords_historyRetrieves historical data on the number of organic keywords a specified website or URL has ranked for, segmented by various search position ranges and grouped by a chosen time interval.Read-onlySite Explorer Keywords History
Retrieves historical data on the number of organic keywords a specified website or URL has ranked for, segmented by various search position ranges and grouped by a chosen time interval.
Inputs
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
history_groupingstring- How to group historical data: `daily`, `weekly`, or `monthly`.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
selectstring- Comma-separated list of fields to include in the response.
ahrefsmcp_site_explorer_linked_anchors_externalRetrieves data about external anchor text (the clickable words in outbound links) used on a specified domain, subdomain, or URL, including metrics like dofollow link counts, distinct linked domains, and other attributes about the links.Read-onlySite Explorer Linked Anchors External
Retrieves data about external anchor text (the clickable words in outbound links) used on a specified domain, subdomain, or URL, including metrics like dofollow link counts, distinct linked domains, and other attributes about the links.
Inputs
selectstringrequired- Comma-separated list of fields to include in the response.
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
limitinteger- Maximum number of results to return.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
timeoutinteger- Request timeout in seconds.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_site_explorer_linked_anchors_internalRetrieves internal anchor text data for a given website or URL, detailing how anchor texts are used in links between pages on the same site.Read-onlySite Explorer Linked Anchors Internal
Retrieves internal anchor text data for a given website or URL, detailing how anchor texts are used in links between pages on the same site.
Inputs
selectstringrequired- Comma-separated list of fields to include in the response.
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
limitinteger- Maximum number of results to return.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
timeoutinteger- Request timeout in seconds.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_site_explorer_linked_domainsRetrieves information about external domains that are linked from a specified target domain or URL, allowing for filtering, field selection, and various scopes of analysis.Read-onlySite Explorer Linked Domains
Retrieves information about external domains that are linked from a specified target domain or URL, allowing for filtering, field selection, and various scopes of analysis.
Inputs
selectstringrequired- Comma-separated list of fields to include in the response.
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
limitinteger- Maximum number of results to return.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
timeoutinteger- Request timeout in seconds.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_site_explorer_metricsProvides SEO performance metrics for a specified domain, URL, or site section as of a given date, with options to customize search scope, protocol, country, and search volume mode.Read-onlySite Explorer Metrics
Provides SEO performance metrics for a specified domain, URL, or site section as of a given date, with options to customize search scope, protocol, country, and search volume mode.
Inputs
datestringrequired- Target date for the snapshot (YYYY-MM-DD).
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
traffic_modestring- How to calculate estimated organic traffic: e.g. `monthly` or `average`.
volume_modestring- How to calculate search volume: `monthly` or `average`.
ahrefsmcp_site_explorer_metrics_by_countryProvides organic and paid search performance metrics for a specified website, broken down by country, for a specific date.Read-onlySite Explorer Metrics By Country
Provides organic and paid search performance metrics for a specified website, broken down by country, for a specific date.
Inputs
datestringrequired- Target date for the snapshot (YYYY-MM-DD).
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
selectstring- Comma-separated list of fields to include in the response.
traffic_modestring- How to calculate estimated organic traffic: e.g. `monthly` or `average`.
volume_modestring- How to calculate search volume: `monthly` or `average`.
ahrefsmcp_site_explorer_metrics_historyRetrieves historical data on key organic and paid search traffic and cost metrics for a specified domain, URL, or path over a selectable date range and grouping interval.Read-onlySite Explorer Metrics History
Retrieves historical data on key organic and paid search traffic and cost metrics for a specified domain, URL, or path over a selectable date range and grouping interval.
Inputs
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
history_groupingstring- How to group historical data: `daily`, `weekly`, or `monthly`.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
selectstring- Comma-separated list of fields to include in the response.
traffic_modestring- How to calculate estimated organic traffic: e.g. `monthly` or `average`.
volume_modestring- How to calculate search volume: `monthly` or `average`.
ahrefsmcp_site_explorer_organic_competitorsRetrieves a list of organic search competitors for a specified website or URL, providing comparative SEO metrics such as common keywords, traffic estimations, and domain strength for a chosen country and date.Read-onlySite Explorer Organic Competitors
Retrieves a list of organic search competitors for a specified website or URL, providing comparative SEO metrics such as common keywords, traffic estimations, and domain strength for a chosen country and date.
Inputs
countrystringrequired- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
datestringrequired- Target date for the snapshot (YYYY-MM-DD).
selectstringrequired- Comma-separated list of fields to include in the response.
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
date_comparedstring- Comparison date for period-over-period analysis (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
timeoutinteger- Request timeout in seconds.
traffic_modestring- How to calculate estimated organic traffic: e.g. `monthly` or `average`.
volume_modestring- How to calculate search volume: `monthly` or `average`.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_site_explorer_organic_keywordsRetrieves detailed organic keyword data for a given domain, URL, or path, including rankings, search intent, SERP features, traffic and CPC metrics, with the ability to filter, sort, and compare metrics across dates and regions.Read-onlySite Explorer Organic Keywords
Retrieves detailed organic keyword data for a given domain, URL, or path, including rankings, search intent, SERP features, traffic and CPC metrics, with the ability to filter, sort, and compare metrics across dates and regions.
Inputs
datestringrequired- Target date for the snapshot (YYYY-MM-DD).
selectstringrequired- Comma-separated list of fields to include in the response.
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_comparedstring- Comparison date for period-over-period analysis (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
timeoutinteger- Request timeout in seconds.
traffic_modestring- How to calculate estimated organic traffic: e.g. `monthly` or `average`.
volume_modestring- How to calculate search volume: `monthly` or `average`.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_site_explorer_outlinks_statsRetrieves statistical data about the outbound links (outlinks) from a specified URL, domain, or site section.Read-onlySite Explorer Outlinks Stats
Retrieves statistical data about the outbound links (outlinks) from a specified URL, domain, or site section.
Inputs
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
ahrefsmcp_site_explorer_pages_by_backlinksReturns a list of a site's or URL's best-performing pages, ranked by the number of referring external links, with flexible filtering and sorting options.Read-onlySite Explorer Pages By Backlinks
Returns a list of a site's or URL's best-performing pages, ranked by the number of referring external links, with flexible filtering and sorting options.
Inputs
selectstringrequired- Comma-separated list of fields to include in the response.
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
historystring- No description.
limitinteger- Maximum number of results to return.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
timeoutinteger- Request timeout in seconds.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_site_explorer_pages_by_internal_linksRetrieves a site's or page's internal link metrics, allowing analysis of how pages within the given domain or URL are interconnected and which pages receive the most internal links.Read-onlySite Explorer Pages By Internal Links
Retrieves a site's or page's internal link metrics, allowing analysis of how pages within the given domain or URL are interconnected and which pages receive the most internal links.
Inputs
selectstringrequired- Comma-separated list of fields to include in the response.
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
limitinteger- Maximum number of results to return.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
timeoutinteger- Request timeout in seconds.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_site_explorer_pages_by_trafficReturns the distribution of pages by estimated organic traffic buckets for a specified domain or URL, across all locations or for a specified country.Read-onlySite Explorer Pages By Traffic
Returns the distribution of pages by estimated organic traffic buckets for a specified domain or URL, across all locations or for a specified country.
Inputs
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
traffic_modestring- How to calculate estimated organic traffic: e.g. `monthly` or `average`.
volume_modestring- How to calculate search volume: `monthly` or `average`.
ahrefsmcp_site_explorer_pages_historyRetrieves historical data about pages from a specified domain, URL, or section of a site, grouped by a chosen time interval.Read-onlySite Explorer Pages History
Retrieves historical data about pages from a specified domain, URL, or section of a site, grouped by a chosen time interval.
Inputs
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
history_groupingstring- How to group historical data: `daily`, `weekly`, or `monthly`.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
outputstring- Response format. Use `json` (default) or `csv`.
page_positionsstring- No description.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
ahrefsmcp_site_explorer_paid_pagesReturns detailed metrics about pages on a specified site or URL that are ranking in paid search results, including traffic, keyword data, ad presence, and changes over time, with powerful filtering and comparison capabilities.Read-onlySite Explorer Paid Pages
Returns detailed metrics about pages on a specified site or URL that are ranking in paid search results, including traffic, keyword data, ad presence, and changes over time, with powerful filtering and comparison capabilities.
Inputs
datestringrequired- Target date for the snapshot (YYYY-MM-DD).
selectstringrequired- Comma-separated list of fields to include in the response.
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_comparedstring- Comparison date for period-over-period analysis (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
timeoutinteger- Request timeout in seconds.
volume_modestring- How to calculate search volume: `monthly` or `average`.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_site_explorer_refdomains_historyProvides historical data on referring domains linking to a specified target (domain or URL) over a defined date range, with customizable grouping and analysis scope.Read-onlySite Explorer Refdomains History
Provides historical data on referring domains linking to a specified target (domain or URL) over a defined date range, with customizable grouping and analysis scope.
Inputs
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
date_tostring- End date for the data range (YYYY-MM-DD).
history_groupingstring- How to group historical data: `daily`, `weekly`, or `monthly`.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
ahrefsmcp_site_explorer_referring_domainsRetrieves detailed information about referring domains that link to a specified target domain or URL, with flexible filtering, selection, and sorting of backlink-related metrics.Read-onlySite Explorer Referring Domains
Retrieves detailed information about referring domains that link to a specified target domain or URL, with flexible filtering, selection, and sorting of backlink-related metrics.
Inputs
selectstringrequired- Comma-separated list of fields to include in the response.
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
historystring- No description.
limitinteger- Maximum number of results to return.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
timeoutinteger- Request timeout in seconds.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_site_explorer_top_pagesReturns a list of the top-performing pages for a specified website or URL, including detailed SEO metrics (such as organic rankings, traffic, top keyword, and changes over time), with support for comparison between two dates and flexible filtering.Read-onlySite Explorer Top Pages
Returns a list of the top-performing pages for a specified website or URL, including detailed SEO metrics (such as organic rankings, traffic, top keyword, and changes over time), with support for comparison between two dates and flexible filtering.
Inputs
datestringrequired- Target date for the snapshot (YYYY-MM-DD).
selectstringrequired- Comma-separated list of fields to include in the response.
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_comparedstring- Comparison date for period-over-period analysis (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
timeoutinteger- Request timeout in seconds.
traffic_modestring- How to calculate estimated organic traffic: e.g. `monthly` or `average`.
volume_modestring- How to calculate search volume: `monthly` or `average`.
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_site_explorer_total_search_volume_historyReturns historical totals of search volume for keywords that the specified domain or URL ranks for in the top 10 or top 100 results, across all countries or for a specified country.Read-onlySite Explorer Total Search Volume History
Returns historical totals of search volume for keywords that the specified domain or URL ranks for in the top 10 or top 100 results, across all countries or for a specified country.
Inputs
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
countrystring- Two-letter ISO country code to filter data (e.g. `us`, `gb`, `de`).
date_tostring- End date for the data range (YYYY-MM-DD).
history_groupingstring- How to group historical data: `daily`, `weekly`, or `monthly`.
modestring- Scope of analysis: `exact`, `prefix`, `domain`, or `subdomains`.
outputstring- Response format. Use `json` (default) or `csv`.
protocolstring- URL protocol to include: `http`, `https`, or `both`.
top_positionsstring- No description.
volume_modestring- How to calculate search volume: `monthly` or `average`.
ahrefsmcp_site_explorer_url_rating_historyRetrieve historical URL rating data for a specified domain or URL over a defined date range, grouped by a chosen time interval.Read-onlySite Explorer Url Rating History
Retrieve historical URL rating data for a specified domain or URL over a defined date range, grouped by a chosen time interval.
Inputs
date_fromstringrequired- Start date for the data range (YYYY-MM-DD).
targetstringrequired- Domain, URL, or path to analyze (e.g. `ahrefs.com`).
date_tostring- End date for the data range (YYYY-MM-DD).
history_groupingstring- How to group historical data: `daily`, `weekly`, or `monthly`.
outputstring- Response format. Use `json` (default) or `csv`.
ahrefsmcp_subscription_info_limits_and_usageRetrieves subscription information including limits and usage statistics for API units, workspace quotas, and API key details.Read-onlySubscription Info Limits And Usage
Retrieves subscription information including limits and usage statistics for API units, workspace quotas, and API key details. This endpoint is free and does not consume any API units.
Inputs
outputstring- Response format. Use `json` (default) or `csv`.
ahrefsmcp_web_analytics_browser_versionsReturns browser version statistics for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by browser version.Read-onlyWeb Analytics Browser Versions
Returns browser version statistics for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by browser version.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_browser_versions_chartReturns time-series chart data grouped by browser version for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time.Read-onlyWeb Analytics Browser Versions Chart
Returns time-series chart data grouped by browser version for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time.
Inputs
granularitystringrequired- Time granularity for aggregation: `daily`, `weekly`, or `monthly`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
browser_version_to_chartstring- No description.
fromstring- Start date for the data range (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_browsersReturns browser statistics for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by browser.Read-onlyWeb Analytics Browsers
Returns browser statistics for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by browser.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_browsers_chartReturns time-series chart data grouped by browser for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time.Read-onlyWeb Analytics Browsers Chart
Returns time-series chart data grouped by browser for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time.
Inputs
granularitystringrequired- Time granularity for aggregation: `daily`, `weekly`, or `monthly`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
browser_to_chartstring- No description.
fromstring- Start date for the data range (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_chartReturns time-series chart data for aggregate statistics of a Web Analytics project, with metrics like pageviews, visitors, visits, bounce rate, and session duration at the specified granularity.Read-onlyWeb Analytics Chart
Returns time-series chart data for aggregate statistics of a Web Analytics project, with metrics like pageviews, visitors, visits, bounce rate, and session duration at the specified granularity.
Inputs
granularitystringrequired- Time granularity for aggregation: `daily`, `weekly`, or `monthly`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_citiesReturns visitor data grouped by city for a Web Analytics project, showing visitor counts for each location.Read-onlyWeb Analytics Cities
Returns visitor data grouped by city for a Web Analytics project, showing visitor counts for each location.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_cities_chartReturns time-series chart data grouped by city for a Web Analytics project, showing visitor counts over time for each location.Read-onlyWeb Analytics Cities Chart
Returns time-series chart data grouped by city for a Web Analytics project, showing visitor counts over time for each location.
Inputs
granularitystringrequired- Time granularity for aggregation: `daily`, `weekly`, or `monthly`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
cities_to_chartstring- No description.
fromstring- Start date for the data range (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_continentsReturns visitor data grouped by continent for a Web Analytics project, showing visitor counts for each region.Read-onlyWeb Analytics Continents
Returns visitor data grouped by continent for a Web Analytics project, showing visitor counts for each region.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_continents_chartReturns time-series chart data grouped by continent for a Web Analytics project, showing visitor counts over time for each region.Read-onlyWeb Analytics Continents Chart
Returns time-series chart data grouped by continent for a Web Analytics project, showing visitor counts over time for each region.
Inputs
granularitystringrequired- Time granularity for aggregation: `daily`, `weekly`, or `monthly`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
continents_to_chartstring- No description.
fromstring- Start date for the data range (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_countriesReturns visitor data grouped by country for a Web Analytics project, showing visitor counts for each location.Read-onlyWeb Analytics Countries
Returns visitor data grouped by country for a Web Analytics project, showing visitor counts for each location.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_countries_chartReturns time-series chart data grouped by country for a Web Analytics project, showing visitor counts over time for each location.Read-onlyWeb Analytics Countries Chart
Returns time-series chart data grouped by country for a Web Analytics project, showing visitor counts over time for each location.
Inputs
granularitystringrequired- Time granularity for aggregation: `daily`, `weekly`, or `monthly`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
countries_to_chartstring- No description.
fromstring- Start date for the data range (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_devicesReturns device type statistics for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by device type.Read-onlyWeb Analytics Devices
Returns device type statistics for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by device type.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_devices_chartReturns time-series chart data grouped by device type for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time.Read-onlyWeb Analytics Devices Chart
Returns time-series chart data grouped by device type for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time.
Inputs
granularitystringrequired- Time granularity for aggregation: `daily`, `weekly`, or `monthly`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
devices_to_chartstring- No description.
fromstring- Start date for the data range (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_entry_pagesReturns entry page statistics for a Web Analytics project, showing which pages visitors land on first, including visitor counts and entry rates.Read-onlyWeb Analytics Entry Pages
Returns entry page statistics for a Web Analytics project, showing which pages visitors land on first, including visitor counts and entry rates.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_entry_pages_chartReturns time-series chart data for entry pages of a Web Analytics project, showing visitor counts and entry rates over time.Read-onlyWeb Analytics Entry Pages Chart
Returns time-series chart data for entry pages of a Web Analytics project, showing visitor counts and entry rates over time.
Inputs
granularitystringrequired- Time granularity for aggregation: `daily`, `weekly`, or `monthly`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
entry_pages_to_chartstring- No description.
fromstring- Start date for the data range (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_exit_pagesReturns exit page statistics for a Web Analytics project, showing which pages visitors leave from, including visitor counts and exit rates.Read-onlyWeb Analytics Exit Pages
Returns exit page statistics for a Web Analytics project, showing which pages visitors leave from, including visitor counts and exit rates.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_exit_pages_chartReturns time-series chart data for exit pages of a Web Analytics project, showing visitor counts and exit rates over time.Read-onlyWeb Analytics Exit Pages Chart
Returns time-series chart data for exit pages of a Web Analytics project, showing visitor counts and exit rates over time.
Inputs
granularitystringrequired- Time granularity for aggregation: `daily`, `weekly`, or `monthly`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
exit_pages_to_chartstring- No description.
fromstring- Start date for the data range (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_languagesReturns visitor data grouped by browser language for a Web Analytics project, showing visitor counts for each language.Read-onlyWeb Analytics Languages
Returns visitor data grouped by browser language for a Web Analytics project, showing visitor counts for each language.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_languages_chartReturns time-series chart data grouped by browser language for a Web Analytics project, showing visitor counts over time for each language.Read-onlyWeb Analytics Languages Chart
Returns time-series chart data grouped by browser language for a Web Analytics project, showing visitor counts over time for each language.
Inputs
granularitystringrequired- Time granularity for aggregation: `daily`, `weekly`, or `monthly`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
browser_language_to_chartstring- No description.
fromstring- Start date for the data range (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_operating_systemsReturns operating system statistics for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by OS.Read-onlyWeb Analytics Operating Systems
Returns operating system statistics for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by OS.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_operating_systems_chartReturns time-series chart data grouped by operating system for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time.Read-onlyWeb Analytics Operating Systems Chart
Returns time-series chart data grouped by operating system for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time.
Inputs
granularitystringrequired- Time granularity for aggregation: `daily`, `weekly`, or `monthly`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
os_to_chartstring- No description.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_operating_systems_versionsReturns OS version statistics for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by OS version.Read-onlyWeb Analytics Operating Systems Versions
Returns OS version statistics for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by OS version.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_operating_systems_versions_chartReturns time-series chart data grouped by OS version for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time.Read-onlyWeb Analytics Operating Systems Versions Chart
Returns time-series chart data grouped by OS version for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time.
Inputs
granularitystringrequired- Time granularity for aggregation: `daily`, `weekly`, or `monthly`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
os_versions_to_chartstring- No description.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_referrersReturns referrer statistics for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by referrer URL.Read-onlyWeb Analytics Referrers
Returns referrer statistics for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by referrer URL.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_referrers_chartReturns time-series chart data grouped by referrer for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time.Read-onlyWeb Analytics Referrers Chart
Returns time-series chart data grouped by referrer for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time.
Inputs
granularitystringrequired- Time granularity for aggregation: `daily`, `weekly`, or `monthly`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
source_referers_to_chartstring- No description.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_source_channelsReturns traffic grouped by source channel (e.g., organic, paid, social, direct) for a Web Analytics project, including visitor counts, bounce rates, and session durations.Read-onlyWeb Analytics Source Channels
Returns traffic grouped by source channel (e.g., organic, paid, social, direct) for a Web Analytics project, including visitor counts, bounce rates, and session durations.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_source_channels_chartReturns time-series chart data grouped by source channel (e.g., organic, paid, social, direct) for a Web Analytics project, showing metrics over time.Read-onlyWeb Analytics Source Channels Chart
Returns time-series chart data grouped by source channel (e.g., organic, paid, social, direct) for a Web Analytics project, showing metrics over time.
Inputs
granularitystringrequired- Time granularity for aggregation: `daily`, `weekly`, or `monthly`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
source_channels_to_chartstring- No description.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_sourcesReturns traffic source breakdown for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by referral source.Read-onlyWeb Analytics Sources
Returns traffic source breakdown for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by referral source.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_sources_chartReturns time-series chart data for traffic sources of a Web Analytics project, showing how visitor counts, bounce rates, and session durations change over time for each referral source.Read-onlyWeb Analytics Sources Chart
Returns time-series chart data for traffic sources of a Web Analytics project, showing how visitor counts, bounce rates, and session durations change over time for each referral source.
Inputs
granularitystringrequired- Time granularity for aggregation: `daily`, `weekly`, or `monthly`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
sources_to_chartstring- No description.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_statsReturns aggregate statistics for a Web Analytics project, including total visitors, bounce rate, and average session duration without any dimension grouping.Read-onlyWeb Analytics Stats
Returns aggregate statistics for a Web Analytics project, including total visitors, bounce rate, and average session duration without any dimension grouping.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_top_pagesReturns the most visited pages for a Web Analytics project, including pageview counts, visitor counts, bounce rates, and average page visit durations.Read-onlyWeb Analytics Top Pages
Returns the most visited pages for a Web Analytics project, including pageview counts, visitor counts, bounce rates, and average page visit durations.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_top_pages_chartReturns time-series chart data for the most visited pages of a Web Analytics project, showing how pageviews, visitors, and other metrics change over time.Read-onlyWeb Analytics Top Pages Chart
Returns time-series chart data for the most visited pages of a Web Analytics project, showing how pageviews, visitors, and other metrics change over time.
Inputs
granularitystringrequired- Time granularity for aggregation: `daily`, `weekly`, or `monthly`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
fromstring- Start date for the data range (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
pages_to_chartstring- No description.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_utm_paramsReturns statistics for a specified UTM paramater for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by utm_source.Read-onlyWeb Analytics Utm Params
Returns statistics for a specified UTM paramater for a Web Analytics project, showing visitor counts, bounce rates, and session durations grouped by utm_source.
Inputs
project_idintegerrequired- Numeric ID of the Ahrefs project.
utm_paramstringrequired- UTM parameter name to group web analytics by (e.g. `utm_campaign`).
fromstring- Start date for the data range (YYYY-MM-DD).
limitinteger- Maximum number of results to return.
order_bystring- Sort order as an array of `field:asc` or `field:desc` strings.
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
wherestring- Filter expression in Ahrefs API filter syntax.
ahrefsmcp_web_analytics_utm_params_chartReturns time-series chart data grouped by a specified UTM param for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time.Read-onlyWeb Analytics Utm Params Chart
Returns time-series chart data grouped by a specified UTM param for a Web Analytics project, showing visitor counts, bounce rates, and session durations over time.
Inputs
granularitystringrequired- Time granularity for aggregation: `daily`, `weekly`, or `monthly`.
project_idintegerrequired- Numeric ID of the Ahrefs project.
utm_paramstringrequired- UTM parameter name to group web analytics by (e.g. `utm_campaign`).
fromstring- Start date for the data range (YYYY-MM-DD).
outputstring- Response format. Use `json` (default) or `csv`.
tostring- End date for the data range (YYYY-MM-DD).
utm_params_to_chartstring- No description.
wherestring- Filter expression in Ahrefs API filter syntax.
No tools match.