Sitemap MCP Server

Discover website architecture and analyze site structure by fetching, parsing, and visualizing sitemaps from any URL. Uncover hidden pages and

Local serverstdioPython

What is the Sitemap MCP server?

Sitemap MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. Discover website architecture and analyze site structure by fetching, parsing, and visualizing sitemaps from any URL. Uncover hidden pages and extract organized hierarchies without manual exploration.

What the assistant can call

Once Sitemap is connected, these are the calls the assistant has available:

  • get_sitemap_tree — Fetch and parse the sitemap tree from a website URL
  • Arguments — url (website URL), include_pages (optional, boolean)
  • Returns — JSON representation of the sitemap tree structure
  • get_sitemap_pages — Get all pages from a website's sitemap with filtering options
  • get_sitemap_stats — Get statistics about a website's sitemap
  • parse_sitemap_content — Parse a sitemap directly from its XML or text content
  • Tools — The Tools tool exposed by this server
  • Prompts — The server includes ready-to-use prompts that appear as templates in Claude Desktop. After installing the server, you'll see these templates in the
  • Examples — The Examples tool exposed by this server

Setting it up

The server ships on npm as @smithery/cli, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.

Configuration and credentials

You will need one environment variable: TRANSPORT. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

Choosing this one

Plenty of developer tooling servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. Sitemap's toolset — get_sitemap_tree, Arguments, Returns and 6 more — is a fair guide to whether it matches your workflow. It is maintained by mugoosse; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch Sitemap.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the sitemap mcp server does with a few real requests.

Available tools

ToolWhat it does
get_sitemap_treeFetch and parse the sitemap tree from a website URL
Argumentsurl (website URL), include_pages (optional, boolean)
ReturnsJSON representation of the sitemap tree structure
get_sitemap_pagesGet all pages from a website's sitemap with filtering options
get_sitemap_statsGet statistics about a website's sitemap
parse_sitemap_contentParse a sitemap directly from its XML or text content
ToolsThe Tools tool exposed by this server.
PromptsThe server includes ready-to-use prompts that appear as templates in Claude Desktop. After installing the server, you'll see these templates in the "Templates" menu (click the + icon next to the message input):
ExamplesThe Examples tool exposed by this server.

How to install the Sitemap MCP server

{
  "mcpServers": {
    "sitemap": {
      "command": "uvx",
      "args": ["sitemap-mcp-server"],
      "env": { "TRANSPORT": "stdio" }
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
TRANSPORTConfiguration value read at startup.Optional

Example prompts to try

  • Use Sitemap to get sitemap tree.
  • Use Sitemap to Arguments.
  • Use Sitemap to Returns.

Frequently asked questions

It connects Sitemap to MCP-compatible AI assistants such as Claude and Cursor, exposing 9 tools (get_sitemap_tree, Arguments, Returns, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Sitemap directly.