Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
제작자가 쓴 설명(영어 원문)
Split Markdown into chunks by heading. Each chunk keeps its heading path and line numbers.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"md-chunk-lite": {
"command": "uvx",
"args": [
"md-chunk-lite",
"mcp"
]
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add md-chunk-lite -- uvx md-chunk-lite mcp프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"md-chunk-lite": {
"command": "uvx",
"args": [
"md-chunk-lite",
"mcp"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"md-chunk-lite": {
"type": "stdio",
"command": "uvx",
"args": [
"md-chunk-lite",
"mcp"
]
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 tidybytetools 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
레지스트리에 필수 키가 나와 있지 않아요. 다만 처음 쓸 때 로그인을 요구하는 서버도 있어요.
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(1.0.0)은 3일 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Python (uv)도 있어야 해요.
같은 카테고리에는: Spec Driven Development, Remote Desktop Commander, LexPact UK Contracts
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Generate UK-law contracts: NDA, service, freelance, recruiter terms of business, IR35.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
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](https://tidybyte.gumroad.com/l/frlkv)
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.
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 chunk, from the top.anchor: the #link GitHub makes for that heading, so you can link straight to it.start_line and end_line: where the chunk is in the file (the first line is 1).part and parts: a big section is split into parts. part 2, parts 3 means the 2nd of 3.chars: how long text is.--outline prints the headings:
Garden Guide [line 8, #garden-guide, 14 chars]
Tools [line 10, #tools, 47 chars] Planting [line 14, #planting, 11 chars] Tomatoes [line 16, #tomatoes, 151 chars]
When you run it in a terminal it ends with one short line about the paid doc2md. --quiet turns it off, and it never shows when output is piped or redirected.
` fence again, with the same language.heading_path of the chunks under it.It knows # headings and underlined headings (=== and ---). It skips headings inside code blocks and YAML front matter (the --- block at the very top).
Options:
--max-chars N: biggest chunk, in characters (default 1500, smallest 200). About 4 characters make 1 token in English.--overlap-chars N: when a section is split, start each part with up to N characters from the end of the part before it (default 0). It is never added inside a code block or table, and never between two different sections.--prefix-path: start each chunk's text with its heading path, like Garden Guide > Planting > Tomatoes. This often helps search. It counts toward --max-chars.--json: print one JSON object for scripts and AI agents instead of saving a file.docs/*.md). The paid doc2md walks whole folders.| md-chunk-lite (free) | doc2md (paid) | |
|---|---|---|
| Reads | Markdown and text files | PDF, Word (.docx) and HTML |
| Chunks with the heading path | yes | yes |
| Line numbers and anchors | yes | no (page numbers for PDFs instead) |
| Rough token count on each chunk | no | yes |
| Whole folders, sub-folders too | no | yes |
| MCP server | yes | no |
Pick what fits you. If you already use LangChain, its MarkdownHeaderTextSplitter also splits by heading. Chonkie and semchunk split any text by token count. md-chunk-lite is small, MIT, has no AI or tokenizer parts, gives you line numbers and anchors, and has an MCP server built in.
There is a small free MCP server built in. It needs uv.
Run it by hand to check it starts (it waits quietly for an app to talk to it):
uvx md-chunk-lite mcp
Claude Desktop (claude_desktop_config.json) or Cursor (~/.cursor/mcp.json):
{
"mcpServers": { "md-chunk-lite": { "command": "uvx", "args": ["md-chunk-lite", "mcp"] } } }
uvx --from md-chunk-lite md-chunk-lite-mcp starts the same server.
Tools (each one takes a file path or Markdown text):
| Tool | What it does | Changes files? |
|---|---|---|
chunk_markdown | Splits into chunks. Returns 100 at a time; use start for more. | No |
outline_markdown | Lists the headings with line numbers and anchors. | No |
get_section | Gets one section by heading or anchor. | No |
save_chunks_jsonl | Saves the chunks to a .jsonl file. | Writes one .jsonl file (replaces it if it is there) |
None of them use the internet.
Chunk your docs on every push, so your AI search or docs bot always gets fresh chunks. It also warns you when a section is too big for one chunk, right on the line in the pull request.
name: Docs chunks
on: [push, pull_request] permissions: contents: read jobs: chunks: runs-on: ubuntu-latest steps:
Want a big section to fail the check instead of just warn? Add fail-on-split: "true".
It runs the code in the same tag you pick, with only Python's standard library. No API key, no account, and nothing is sent outside GitHub. It works on Linux, Windows and Mac runners.
| Input | Default | What it does |
|---|---|---|
files | **/*.md | Which files to read. Glob patterns, one per line or split by commas. |
exclude | node_modules/**, **/node_modules/**, vendor/** | Patterns to skip. |
max-chars | 1500 | Biggest chunk, in characters (200 or more). |
overlap-chars | 0 | Characters from the part before to repeat at the start of the next part. |
prefix-path | false | Start each chunk's text with its heading path. |
output | md-chunks.jsonl | Where to save the chunks. |
fail-on-split | false | Fail when a section is too big for one chunk. |
fail-if-no-files | true | Fail when no files match. |
artifact-name | (empty) | If set, upload the JSONL as an artifact with this name. |
python-version | (empty) | Python to set up. Empty uses the runner's Python (3.10 or newer). |
| Output | What it is |
|---|---|
files | How many files were read. |
chunks | How many chunks were made. |
biggest | Size of the biggest chunk, in characters. |
split-sections | How many sections were too big and got split. |
output | Path of the JSONL file. |
The run page also gets a short report: chunks per file, and a list of every section that got split, with its line number.
outline_markdown and get_section to read just one part of a long file.max_chars (default 1500), overlap_chars (default 0) and prefix_path (default false).id, source, index, heading_path, heading_level, anchor, start_line, end_line, part, parts, chars, text.{"ok": false, "error": ...} with --json). See also llms.txt.from md_chunk_lite import chunk_file, chunk_markdown, outline, get_section
chunks = chunk_file("guide.md", max_chars=1000) for c in chunks: print(c["heading_path"], c["start_line"], c["end_line"])
install = get_section(open("README.md").read(), heading="Install")
The chunker file uses only Python's standard library. Installing with pip also adds the mcp package for the MCP server.
pip install "mcp>=1.10,<2"
python3 -m unittest discover -s tests
The MCP tests are skipped if mcp is not installed.
MIT. See LICENSE.