内容
<div align="center">
<img src="https://capsule-render.vercel.app/api?type=waving&color=0:1a1a2e,50:16213e,100:0f3460&height=200§ion=header&text=IndexNow%20MCP&fontSize=48&fontColor=22c55e&fontAlignY=35&desc=%E5%BF%AB%E9%80%9F%E6%90%87%E5%90%8C%E6%9C%8D%E5%8A%A1&descSize=16&descColor=ffffff&descAlignY=55&animation=fadeIn" width="100%" />
<br />



[](https://glama.ai/mcp/servers/sharozdawa/indexnow-mcp)
**通过IndexNow和谷歌索引API提交网址以实现即时索引。**
适用于Claude Code、Cursor、Copilot、Codex、Windsurf以及所有MCP兼容的AI工具。
</div>
---
## 功能特点
- **IndexNow** — 同时向Bing、Yandex、Naver、Seznam提交网址
- **谷歌索引API** — 请求谷歌快速爬取
- **站点地图提交** — 解析XML站点地图并提交所有网址
- **API密钥生成器** — 生成IndexNow密钥和验证文件
- **状态检查器** — 检查谷歌索引通知状态
- **批量支持** — 一次提交最多10,000个网址
## 工具列表
| 工具 | 描述 |
|------|-------------|
| `indexnow_submit` | 向IndexNow(Bing、Yandex、Naver、Seznam)提交网址 |
| `google_indexing_submit` | 向谷歌索引API提交网址 |
| `google_indexing_status` | 检查索引通知状态 |
| `indexnow_submit_sitemap` | 获取站点地图并向IndexNow提交所有网址 |
| `indexnow_generate_key` | 生成IndexNow API密钥和验证文件 |
| `indexnow_list_engines` | 列出所有支持的引擎和端点 |
## 安装
### Claude Desktop / Claude Code
添加到您的Claude配置中:
```json
{
"mcpServers": {
"indexnow": {
"command": "npx",
"args": ["-y", "indexnow-mcp"]
}
}
}
```
### Cursor
添加到 `.cursor/mcp.json`:
```json
{
"mcpServers": {
"indexnow": {
"command": "npx",
"args": ["-y", "indexnow-mcp"]
}
}
}
```
## 使用示例
### 向IndexNow提交网址
```
向IndexNow提交以下网址:
- https://example.com/new-blog-post
- https://example.com/updated-page
API密钥:your-api-key-here
主机:example.com
```
### 提交站点地图
```
向IndexNow提交https://example.com/sitemap.xml中的所有网址
API密钥:my-key
主机:example.com
```
### 生成API密钥
```
为我的网站生成一个IndexNow API密钥
```
### 提交到谷歌索引API
```
向谷歌索引API提交https://example.com/new-page
访问令牌:ya29.xxx
```
## IndexNow设置
1. 生成一个API密钥(任意UUID — 使用 `indexnow_generate_key` 工具)
2. 创建一个验证文件:`public/{your-key}.txt`,包含密钥
3. 部署文件,使其可在 `https://yourdomain.com/{your-key}.txt` 访问
4. 开始提交网址
## 支持的引擎
| 引擎 | 协议 | 限制 |
|--------|----------|-------|
| Bing | IndexNow | 无限制 |
| Yandex | IndexNow | 无限制 |
| Naver | IndexNow | 无限制 |
| Seznam | IndexNow | 无限制 |
| Google | 索引API | 默认200/天 |
## 为什么选择indexnow-mcp而不是手动API调用
| 功能 | indexnow-mcp | 手动API调用 |
|---------|-------------|-----------------|
| 批量提交(10K网址) | 是 | 自定义代码 |
| 多个引擎 | 一次全部 | 一个一个 |
| 站点地图解析 | 是 | 手动 |
| API密钥生成器 | 是 | 手动 |
| 价格 | 免费 | 免费但复杂 |
## 更多开源SEO工具
| 工具 | 描述 |
|------|-------------|
| [awesome-seo-mcp-servers](https://github.com/sharozdawa/awesome-seo-mcp-servers) | 精选的SEO MCP服务器和代理技能列表 |
| [robotstxt-ai](https://github.com/sharozdawa/robotstxt-ai) | AI爬虫的视觉robots.txt管理器 |
| [schema-gen](https://github.com/sharozdawa/schema-gen) | Schema.org JSON-LD标记生成器 |
| [ai-visibility](https://github.com/sharozdawa/ai-visibility) | AI品牌可见性跟踪器 |
## 许可证
MIT
---
<div align="center">
由 **[Sharoz Dawa](https://sharozdawa.com)** 构建 — SEO专业人士 & 数字营销专家
[](https://github.com/sharozdawa)
<img src="https://capsule-render.vercel.app/api?type=waving&color=0:1a1a2e,50:16213e,100:0f3460&height=100§ion=footer" width="100%" />
</div>