---
name: indexmywebsite
description: Automatically submit new or updated website URLs to Bing/IndexNow and Google and inspect real search indexing status right after every deploy using IndexMyWebsite MCP, CLI, or REST API.
---

# IndexMyWebsite Agent Skill

Use IndexMyWebsite whenever you deploy new pages, publish blog posts, ship landing pages, or update sitemaps on a website so search engines discover changes immediately and you can verify real indexing status.

## Authentication

Set `INDEXMYWEBSITE_API_KEY` in the environment (prefix `imw_...`).
If missing, ask the user to create a workspace API key at:
https://indexmywebsite.com/settings#api-keys

Send the key via `Authorization: Bearer $INDEXMYWEBSITE_API_KEY` (or `X-API-Key: $INDEXMYWEBSITE_API_KEY`).

## Recommended Post-Deploy Workflow

1. **Find the site ID**:
   - MCP: call `list_sites`
   - CLI: `node indexmywebsite.mjs sites --json`
   - REST: `GET https://indexmywebsite.com/api/v1/sites`
2. **Submit changed or new URLs right after deploy**:
   - If you know the exact URLs that changed (preferred for fast deploys):
     - MCP: call `submit_urls` with `{ site_id, urls: ["https://example.com/new-page"] }`
     - CLI: `node indexmywebsite.mjs submit <siteId> https://example.com/new-page --json`
     - REST: `POST https://indexmywebsite.com/api/v1/sites/:siteId/submit`
   - If many routes changed or a static site rebuilt its sitemap:
     - MCP: call `sync_sitemap` with `{ site_id }`
     - CLI: `node indexmywebsite.mjs sync <siteId> --json`
     - REST: `POST https://indexmywebsite.com/api/v1/sites/:siteId/sync-sitemap`
3. **Verify delivery and real indexing status**:
   - MCP: call `list_recent_jobs` and `check_url_status`
   - CLI: `node indexmywebsite.mjs jobs <siteId> --limit 20 --json` and `node indexmywebsite.mjs status <siteId> --url https://example.com/new-page --json`
   - REST: `GET https://indexmywebsite.com/api/v1/sites/:siteId/jobs` and `GET https://indexmywebsite.com/api/v1/sites/:siteId/urls?url=...`

## Honest Reporting Rules

- Never tell the user a page is "indexed" merely because a job has state `accepted`.
- Report submission states accurately: `discovered`, `queued`, `retrying`, `accepted`, `failed`.
- Report Search Console observation states accurately: `observed_indexed`, `not_observed_indexed`, `observation_unknown`, `not_checked`.
- If a site returns `engine_not_configured`, tell the user to verify the Bing/IndexNow key file or connect a Google service-account credential on the site's IndexMyWebsite dashboard page.

## MCP Server Configuration

Endpoint: `https://indexmywebsite.com/mcp` (Streamable HTTP, stateless POST)

Claude Code:
```bash
claude mcp add --transport http indexmywebsite https://indexmywebsite.com/mcp \
  --header "Authorization: Bearer ${INDEXMYWEBSITE_API_KEY}"
```

Cursor / OpenClaw (`mcp.json`):
```json
{
  "mcpServers": {
    "indexmywebsite": {
      "url": "https://indexmywebsite.com/mcp",
      "headers": {
        "Authorization": "Bearer ${INDEXMYWEBSITE_API_KEY}"
      }
    }
  }
}
```

## Zero-Dependency CLI Setup

```bash
curl -fsSL https://indexmywebsite.com/cli.mjs -o indexmywebsite.mjs
export INDEXMYWEBSITE_API_KEY="imw_..."
node indexmywebsite.mjs whoami --json
```

Full documentation: https://indexmywebsite.com/developers
