# Markdown TOC

> Use this tool when you need to automatically generate a table of contents for markdown documents, solving problems of manual TOC creation and content organization. It takes markdown documents as input and outputs a formatted table of contents, supporting various markdown heading formats. Ideal for documentation management and automated markdown processing workflows, it streamlines content organization and saves time.

Canonical page: https://skillsregistry.net/skills/forceinjection-markdown-toc  
JSON: https://api.skillsregistry.net/v1/skills/forceinjection-markdown-toc

## Description

A markdown table of contents extraction and generation server that parses markdown documents to extract existing heading structures and generate formatted TOCs. Built by ForceInjection, it includes a dedicated extractor module for parsing markdown headers, comprehensive test coverage with edge case handling, and shell scripts for easy deployment management. The implementation supports various markdown heading formats and provides structured TOC output with robust error handling, making it useful for documentation management, content organization, and automated markdown processing workflows.

## Trust

- **Trust score (0–1):** 0.86
- **Verification tier:** verified
- **Last scanned:** 2026-09-19

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** devops-ci
- **Updated:** 2026-09-19

## Source

- **Source listing:** [PulseMCP](https://www.pulsemcp.com/servers/forceinjection-markdown-toc)
- **Repository:** <https://github.com/forceinjection/markdown-mcp>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "forceinjection-markdown-toc"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/forceinjection-markdown-toc` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/forceinjection-markdown-toc/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
