Skip to content

Xml Sitemap Generator MCP tool

MCP findutils:xml_sitemap_generator

Generate a valid XML sitemap from a list of URLs and return the XML, the number of URLs written, the invalid URLs that were skipped, and the byte size. Each URL can carry its own priority, changefreq, and lastmod; defaults apply otherwise. Above 50,000 valid URLs a sitemap index is returned instead.

Arguments

application/json
  • urls

    array required

    URLs as plain strings or as { url, priority?, changefreq?, lastmod? } objects. Only http(s) URLs are written; others are reported in invalid_urls.

  • default_priority

    string optional

    Priority for URLs without one: "0.0" to "1.0" in steps of 0.1, or "" for none. Default "0.5". Default "0.5".

  • default_changefreq

    string optional

    Change frequency for URLs without one. Default "weekly"; "" omits the tag. One of · always · hourly · daily · weekly · monthly · yearly · never. Default "weekly".

  • default_lastmod

    string optional

    Last-modified date (YYYY-MM-DD) for URLs without one. Default: omitted.

  • remove_duplicates

    boolean optional

    Drop repeated URLs (case-insensitive). Default true. Default true.

  • index_base_url

    string optional

    Base name for child sitemaps when an index is needed. Default "https://example.com/sitemap".

Example arguments

Verified
{
  "urls": [
    "https://example.com/",
    "https://example.com/about"
  ]
}