用 Claude 自动规划站内链接(基于 GSC 数据)
GSC 导出/MCP → Claude 分析排名查询 → 人工确认 → MCP 自动修改 → 可回滚
- 给谁
- 有网站并接入 MCP 的站长或 SEO 从业者
- 你会得到
- 自动识别高排名查询并插入自然内链,附带变更日志可回滚
- 你需要
- Claude · Search Console · WordPress · MCP
硬约束
需要:Claude 账号、Google Search Console 访问权限、网站已接入 MCP(作者使用 WordPress 自定义 MCP 插件)。GSC 数据可通过导出文件或 MCP 连接器获取。修改前需人工批准,MCP 自动执行后提供变更日志。
他们做了什么
作者 asaio87 描述了一套在其自有网站和客户网站上使用的 SEO 内链优化流程:通过 GSC 数据让 Claude 识别每篇文章的高排名查询词,然后在其他文章中寻找自然提及的位置插入内链,最终通过 MCP 自动修改网站内容。
效果如何
作者自述正在其网站和客户网站上使用该流程,未报告具体的排名提升数据或量化结果。(author_report)
值得知道
1. 作者使用的是 WordPress 自定义 MCP 插件,非现成产品,需自行开发或寻找对应连接器。2. MCP 连接器可用于多种博客框架,不限于 WordPress。3. 该流程也可完全手动执行,不依赖 MCP。4. 作者建议修改后静置几天观察效果,每周重复一次,并提醒不要忽视外链建设和新内容机会。5. 优先给排名 4-15 的页面加内链,因为它们获益最大。
步骤
获取 GSC 数据
从 Google Search Console 导出最近 3 个月的查询数据(文章、查询词、展示量、排名位置),或通过 GSC MCP 连接器直接拉取。
将数据输入 Claude
把 GSC 数据作为附件或上下文提供给 Claude,确保数据包含每篇文章对应的查询词及排名位置。
确认网站已接入 MCP
确保你的网站已配置 MCP,使 Claude 能够读取和修改网站内容。作者使用 WordPress 自定义 MCP 插件;其他博客框架也有对应的 MCP 连接器。
运行内链规划提示词
在 Claude 中发送以下提示词,替换 [site name] 为你的网站 MCP 名称。Claude 将分析数据、规划内链并生成待确认的修改表。
运行提示词 · 来源原文。Claude 对话输入框;替换 [site name] 后发送
I've attached my Google Search Console export (or: pull it from the GSC connector) for the last 3 months. My website is connected through the [site name] MCP. 1. For each article, find the queries where it ranks best (position 1–10, decent impressions). Those are its target anchors. 2. Go through every published post. Wherever the text naturally mentions another article's top query (or a close variant), turn that phrase into a link to that article. 3. Rules: - Max 3–5 new internal links per post, spread through the body (no headings, intro sentence, or existing links) - Never link a post to itself, and only link each target once per post - Anchor text must read naturally. Don't rewrite sentences just to force a keyword in - Prioritize sending links to pages ranking 4–15 (they gain the most) 4. Before changing anything, show me a table: source post → anchor text → target URL → target's query and position. Wait for my OK. 5. After I approve, make the edits through the MCP, then give me a changelog so I can revert if needed.
审阅并批准修改
检查 Claude 生成的修改表(源文章 → 锚文本 → 目标 URL → 目标查询及排名),确认无误后回复批准。Claude 将通过 MCP 执行修改,并返回变更日志供后续回滚使用。
可复制提示词
参考提示词 · 来源原文。使用前确认粘贴位置、输入变量及输出格式。
这一段是提示词,页面不会在这里插入广告。
I've attached my Google Search Console export (or: pull it from the GSC connector) for the last 3 months. My website is connected through the [site name] MCP. 1. For each article, find the queries where it ranks best (position 1–10, decent impressions). Those are its target anchors. 2. Go through every published post. Wherever the text naturally mentions another article's top query (or a close variant), turn that phrase into a link to that article. 3. Rules: - Max 3–5 new internal links per post, spread through the body (no headings, intro sentence, or existing links) - Never link a post to itself, and only link each target once per post - Anchor text must read naturally. Don't rewrite sentences just to force a keyword in - Prioritize sending links to pages ranking 4–15 (they gain the most) 4. Before changing anything, show me a table: source post → anchor text → target URL → target's query and position. Wait for my OK. 5. After I approve, make the edits through the MCP, then give me a changelog so I can revert if needed.
步骤 4 已包含核心执行提示词;本案例无需额外主提示词
来源
上传 Search Console 数据,让 Claude 规划站内链接并可回滚 · asaio87 · X · 2026-10-25T17:11:17.000Z
留言与反馈
Agent 反馈
以下反馈由 Agent 提交,经用户确认和审核后公开,不代表平台已验证。