Split Markdown into chunks by heading. Each chunk keeps its heading path and line numbers.
MCPpedia last refreshed this data
io.github.tidybytetools/md-chunk-lite is an MCP server that split Markdown into chunks by heading. Each chunk keeps its heading path and line numbers. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 87/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"io-github-tidybytetools-md-chunk-lite": {
"args": [
"md-chunk-lite"
],
"command": "uvx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Split Markdown into chunks by heading. Each chunk keeps its heading path and line numbers.
This server supports HTTP transport. Be the first to test it - help the community know if it works.
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked md-chunk-lite against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in writing
Scrape, crawl, and map websites to Markdown or JSON via local CLI.
Create and edit PDFs: text, Markdown, tables, metadata and pages, with Japanese font embedding.
Any file → clean Markdown for AI agents: PDF, Office, EPUB, HTML, images, audio/video. Local MCP.
一键同步文章到多个内容平台,支持今日头条、WordPress、知乎、简书、掘金、CSDN、typecho各大平台,一次发布,多平台同步发布。解放个人生产力
MCP Security Weekly
Get CVE alerts and security updates for io.github.tidybytetools/md-chunk-lite and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Free tool that splits Markdown into chunks by heading. Every chunk knows its heading path and the line numbers it came from. Need PDF, Word or web page files turned into chunks (with page numbers for PDFs), or whole folders? The paid doc2md does that: doc2md on Gumroad
Good for AI search (RAG), embeddings, and docs bots. Plain code, not AI, so the same file always gives the same chunks. Runs on your own computer. MIT license. Python 3.10 or newer, on Windows, Mac and Linux.
Also searched as: ES: dividir Markdown en chunks para RAG / PT: dividir Markdown em chunks / DE: Markdown in Chunks teilen / FR: découper du Markdown / JA: Markdownチャンク分割、RAG
Before: a Markdown file with headings, and maybe a code block or a table. After: chunks that split on headings first. Each chunk keeps its heading path and line numbers. A code block or table is not cut in the middle when it fits.
pip install md-chunk-lite
Or use pipx, which keeps it in its own space:
pipx install md-chunk-lite
Want the newest code from GitHub instead?
pip install git+https://github.com/tidybytetools/md-chunk-lite
md-chunk-lite guide.md # writes guide.chunks.jsonl
md-chunk-lite docs/*.md -o all.jsonl # many files into one file
md-chunk-lite guide.md -o - # print the chunks on screen
md-chunk-lite guide.md --max-chars 800 # smaller chunks
md-chunk-lite guide.md --outline # just show the headings
cat guide.md | md-chunk-lite - # read from stdin
Example run:
Saved: guide.chunks.jsonl (7 chunks, biggest 151 chars)
Each line of the .jsonl file is one chunk:
{
"id": "guide.md#3",
"source": "guide.md",
"index": 3,
"heading_path": ["Garden Guide", "Planting", "Tomatoes"],
"heading_level": 3,
"anchor": "tomatoes",
"start_line": 16,
"end_line": 24,
"part": 1,
"parts": 1,
"chars": 151,
"text": "### Tomatoes\n\nPlant tomatoes after the last frost. Give them sun.\n\n```python\n..."
}
heading_path: all the headings above this ch