# Heading Structure Analyzer — MCP tool `findutils:heading_structure_analyzer`

Analyze the H1-H6 heading hierarchy of an HTML document and return every heading, SEO warnings (missing or multiple H1, skipped levels, empty or overly long headings), and per-level counts.

- Category: seo
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/heading-structure-analyzer/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/mcp/heading-structure-analyzer/
- Same tool on the other surface: https://findutils.com/api/heading-structure-analyzer/

## Connect

```bash
claude mcp add findutils --transport http https://mcp.findutils.com/
```

Claude Desktop (`claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "findutils": {
      "url": "https://mcp.findutils.com/"
    }
  }
}
```

## Call the tool (verified example)

```bash
curl -X POST https://mcp.findutils.com/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "heading_structure_analyzer",
      "arguments": {
        "html": "<h1>SEO Guide</h1><h2>Keyword research</h2><h3>Long-tail keywords</h3>",
        "keyword": "seo"
      }
    }
  }'
```

## Input schema

| Argument | Type | Required | Description |
|---|---|---|---|
| `html` | string | yes | The HTML source to analyze (a full page or a fragment). |
| `keyword` | string | no | Optional target keyword. Each heading reports whether it contains this keyword (case-insensitive). |

Example arguments (verified):

```json
{
  "html": "<h1>SEO Guide</h1><h2>Keyword research</h2><h3>Long-tail keywords</h3>",
  "keyword": "seo"
}
```

## Also a REST endpoint

```bash
curl -X POST https://api.findutils.com/api/tools/heading-structure-analyzer/execute \
  -H "Content-Type: application/json" \
  -d '{
    "html": "<h1>SEO Guide</h1><h2>Keyword research</h2><h3>Long-tail keywords</h3>",
    "keyword": "seo"
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/heading-structure-analyzer
```

Full REST reference: https://findutils.com/api/heading-structure-analyzer/ · OpenAPI 3.1 spec: https://findutils.com/api/openapi.json

---
Full catalog: POST https://mcp.findutils.com/ with method `tools/list` · https://findutils.com/mcp/ · https://findutils.com/llms.txt
