连接器指南阅读约 4 分钟18 个 MCP 工具7 种语言

如何通过 MCP 将 Ahrefs 连接到 Meta Muse

为你的 AI 提供 Ahrefs SEO 数据:Domain Rating、反向链接、引荐域名、自然关键词、热门页面、竞争对手、关键词搜索量、难度和关键词建议、SERP 概览和批量对比,并显示每次请求消耗的 API 单位。

HC作者:HelpCode 团队更新于 4 分钟阅读 在 GitHub 开源

无需信用卡 · 7 天试用 · 提供自托管方案

Ahrefs

Ahrefs

Give your AI Ahrefs SEO data: Domain Rating, backlinks, referring domains, organic keywords, top pages, competitors, keyword volume, difficulty and ideas, SERP overview and batch comparisons, with the API unit cost of each request.

个工具

18

区域

INTL

类别

数据分析

身份验证

Bearer Token

所需环境变量

AHREFS_API_KEY
在 Cloud 上一键安装

7 天免费试用 · 无需信用卡

  • 7 天免费试用
    无需信用卡
  • 符合 GDPR,SOC 2 就绪
    数据驻留欧盟,审计日志
  • 在 GitHub 开源
    开源 · AGPL-3.0
  • 支持 ChatGPT、Claude、Gemini
    任何兼容 MCP 的客户端

跳过安装。2 分钟内即可运行。

在 cloud.anythingmcp.com 开始免费试用,一键添加 Ahrefs,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。

开始免费试用

摘要

为你的 AI 提供 Ahrefs SEO 数据:Domain Rating、反向链接、引荐域名、自然关键词、热门页面、竞争对手、关键词搜索量、难度和关键词建议、SERP 概览和批量对比,并显示每次请求消耗的 API 单位。

试试这样问

Ahrefs 的示例提示

点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。

Ahrefs · 通过 MCP 实时
分享
Opus 4.7

Claude 是 AI,可能会出错。请核对回答。

💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → Ahrefs、粘贴凭证、生成 MCP API key,即可完成。无 Docker、无 git clone、无本地服务器。

Ahrefs + Meta Muse

为你的 AI 提供 Ahrefs SEO 数据:Domain Rating、反向链接、引荐域名、自然关键词、热门页面、竞争对手、关键词搜索量、难度和关键词建议、SERP 概览和批量对比,并显示每次请求消耗的 API 单位。

前提条件

完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:

AHREFS_API_KEY

步骤 1 — 获取凭证

  1. 符合条件的 Ahrefs 付费套餐包含 API 访问权限,每个套餐每月有一定的 API 单位额度(见 https://ahrefs.com/pricing);其他套餐只能运行免费的测试查询。只有工作区所有者和管理员可以创建密钥。
  2. 打开 Account settings → API keys(https://app.ahrefs.com/account/api-keys),创建一个密钥,并建议为它设置每月单位上限。
  3. 将其粘贴到 AHREFS_API_KEY 并安装连接器。密钥加密存储,并作为 Bearer 令牌只发送到 api.ahrefs.com。
  4. 先使用 ahrefs_get_limits_and_usage:它免费,会显示你的套餐、本月已用和可用的 API 单位,以及重置日期。

从你自己的 Ahrefs API 单位中扣费:每次请求都会消耗你 Ahrefs 工作区的 API 单位。每次请求至少 50 个单位;超出部分按所请求每一列的单位成本(默认 1 个单位,流量、搜索量、难度和引荐域名等指标为 5 或 10 个)乘以返回的行数计算。使用默认列时,反向链接每行 8 个单位,引荐域名 6 个,锚文本 10 个,自然关键词 34 个,热门页面 24 个,关键词指标每个关键词 33 个,SERP 概览每个排名位置 25 个。请求默认从 10 行开始,AI 只请求回答所需的列。Ahrefs 从缓存返回的请求免费。

免费测试查询:针对 ahrefs.com、yep.com 或 firehose.com 的 Site Explorer 请求,以及只针对关键词 ahrefs、yep 或 firehose 的 Keywords Explorer 或 SERP Overview 请求不收费(最多 100 行)。在花费单位之前,可以先用它们试用工具。

功能:Site Explorer(Domain Rating 和 Ahrefs Rank、反向链接总数、自然和付费搜索指标、流量和 Domain Rating 历史、反向链接、引荐域名、锚文本、自然关键词、热门页面和自然搜索竞争对手),Keywords Explorer(搜索量、Keyword Difficulty、CPC、流量潜力和父主题、匹配词和问题、相关词、月度搜索量历史),Ahrefs 为某个关键词记录的 SERP Overview,以及一次调用最多分析 100 个域名或 URL 的 Batch Analysis。所有工具都是只读的;Batch Analysis 使用 POST,但不会更改任何内容。

参数:大多数 Site Explorer 工具需要 date(查询当前数据时用今天的日期)。country 是小写的两字母国家代码。mode 设定目标的范围:subdomains(默认)、domain、prefix 或 exact。CPC 和流量价值以美分计。

常见错误:401:API 密钥错误、已过期或已被删除;请在 Account settings → API keys 下新建一个。403:套餐没有 API 访问权限,密钥或工作区已用完单位上限,或请求超出套餐范围(例如单次请求的行数超过套餐允许的数量)。400:某个参数无效,错误原因会指明是哪个参数。429:每分钟超过 60 次请求;请稍后重试。

该连接器不涵盖 Rank Tracker、Site Audit、Brand Radar、Web Analytics、GSC Insights、Social Media、Content Helper 或管理类端点(项目、关键词列表)。

步骤 2 — 安装 adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

步骤 3 — 在 Muse 中添加连接器

你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(https://cloud.anythingmcp.com/mcp/…)。本指南中出现 YOUR_SERVER_ID 的地方都用它替换。

Muse 以自定义连接器的形式添加远程 MCP 服务器,并通过 OAuth 登录。

  1. 在 Muse 中打开 Settings → Connectors,选择 Add custom connector。
  2. 粘贴 MCP 服务器 URL https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。
  3. Muse 会打开 AnythingMCP 的登录页面:登录并批准访问。
  4. 在聊天中,向 Muse 提出需要用到 Ahrefs 的工具的请求。

你也可以在聊天中完成设置,适用于网页版、iOS 和 Android 应用以及 WhatsApp。给 Muse 发送这条消息:

Create a Custom Connector for a new remote MCP server, then connect to it:
Name: AnythingMCP
Transport: remote streamable HTTP
URL: https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID
Auth: OAuth

自托管?请用你实例的公网 HTTPS 地址替换 https://cloud.anythingmcp.com。Muse 从 Meta 的云端连接,因此 localhost 无法使用。

可用工具

ToolWhat it does
ahrefs_get_limits_and_usageShow the Ahrefs plan, the API units used and allowed this month for the key and the workspace, the reset date and the key's expiry
ahrefs_domain_ratingDomain Rating (0 to 100, strength of the backlink profile) and Ahrefs Rank of a domain on a date
ahrefs_backlinks_statsBacklink totals of a domain or URL on a date: live and all-time backlinks and referring domains
ahrefs_site_metricsOrganic and paid search metrics of a domain or URL on a date: organic keywords (all and top 3), organic traffic and its value, paid…
ahrefs_metrics_historyHistory of a domain's organic (and optionally paid) traffic and traffic value, grouped by month, week or day
ahrefs_domain_rating_historyHistory of a domain's Domain Rating, grouped by month, week or day
ahrefs_backlinksBacklinks of a domain or URL: linking page, target, anchor, Domain Rating of the source, dofollow, first and last seen
ahrefs_referring_domainsDomains linking to a domain or URL: Domain Rating, links to the target, dofollow links, first and last seen
ahrefs_anchorsAnchor texts of the links to a domain or URL with referring domains and link counts
ahrefs_organic_keywordsKeywords a domain or URL ranks for in Google on a date: best position and ranking URL, volume, traffic, difficulty, CPC
ahrefs_top_pagesPages of a domain that bring the most organic traffic on a date, with traffic value, keyword count and top keyword
ahrefs_organic_competitorsDomains competing with a target in organic search in one country: common keywords, their keywords, share and traffic
ahrefs_keywords_overviewMetrics of one or more keywords in a country: search volume, Keyword Difficulty, CPC, traffic potential and parent topic
ahrefs_matching_termsKeyword ideas that contain the words of the seed keywords (or questions with terms=questions), with volume, difficulty, CPC and traffic…
ahrefs_related_termsRelated keywords: terms the top-ranking pages also rank for or also mention, with volume, difficulty, CPC and traffic potential
ahrefs_volume_historyMonthly search volume history of one keyword in a country
ahrefs_serp_overviewThe Google results page Ahrefs recorded for a keyword in a country: position, URL, title, type, Domain Rating, URL Rating, backlinks…
ahrefs_batch_analysisCompare up to 100 domains or URLs in one call: Domain Rating, backlinks, referring domains, organic keywords and traffic for each

示例提示

  • “example.com 今天的 Domain Rating、当前有效的引荐域名数和自然流量分别是多少?”
  • “列出 competitor.com 中 Domain Rating 最高的 20 个 dofollow 引荐域名,以及它的外链最常用的锚文本。”
  • “找出 example.com 在德国的自然搜索竞争对手,以及为它们带来最多流量的页面。”
  • “给我美国市场中 ‘running shoes’ 的关键词建议,要求搜索量高于 1,000、难度低于 30,并附上流量潜力。”
  • “本月我们已经用了多少 Ahrefs API 单位?额度什么时候重置?”

FAQ

Muse 在哪些地区可用? Meta 目前在美国和加拿大提供 Muse,可在网页版、iOS 和 Android 应用以及 WhatsApp 中使用。

Meta 会审核这个连接器吗? 不会。Meta 不审核自定义连接器。Muse 只能看到你在 AnythingMCP 中为此 MCP 服务器启用的工具,你也可以随时在 Settings → Connectors 中断开它。

下一步

这份指南对你有帮助吗?

你的 Ahrefs 智能体只差一次点击。

安装连接器,粘贴密钥,向 Meta Muse 提问。免费试用 7 天,无需信用卡。

相关指南

连接器

Ahrefs 接入 MCP:为任意 AI 代理提供反向链接和关键词数据

为你的 AI 提供 Ahrefs SEO 数据:Domain Rating、反向链接、引荐域名、自然关键词、热门页面、竞争对手、关键词搜索量、难度和关键词建议、SERP 概览和批量对比,并显示每次请求消耗的 API 单位。

连接器

如何通过 MCP 将 Ahrefs 连接到 ChatGPT

为你的 AI 提供 Ahrefs SEO 数据:Domain Rating、反向链接、引荐域名、自然关键词、热门页面、竞争对手、关键词搜索量、难度和关键词建议、SERP 概览和批量对比,并显示每次请求消耗的 API 单位。

连接器

如何通过 MCP 将 Ahrefs 连接到 Claude

为你的 AI 提供 Ahrefs SEO 数据:Domain Rating、反向链接、引荐域名、自然关键词、热门页面、竞争对手、关键词搜索量、难度和关键词建议、SERP 概览和批量对比,并显示每次请求消耗的 API 单位。

连接器

如何通过 MCP 将 Ahrefs 连接到 Cursor

为你的 AI 提供 Ahrefs SEO 数据:Domain Rating、反向链接、引荐域名、自然关键词、热门页面、竞争对手、关键词搜索量、难度和关键词建议、SERP 概览和批量对比,并显示每次请求消耗的 API 单位。

连接器

如何通过 MCP 将 Ahrefs 连接到 Gemini

为你的 AI 提供 Ahrefs SEO 数据:Domain Rating、反向链接、引荐域名、自然关键词、热门页面、竞争对手、关键词搜索量、难度和关键词建议、SERP 概览和批量对比,并显示每次请求消耗的 API 单位。

连接器

如何通过 MCP 将 Avito 连接到 Meta Muse

让你的 AI 使用你的 Avito 企业账户:列出广告并修改价格,读取浏览、联系和来电统计,检查自动上传 (autoload) 的上传记录及其错误、Feed 格式和钱包,并读取 Avito Messenger 聊天。发送消息和修改自动上传设置为可选功能,默认关闭。