Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Turn local text PDFs and HTML files into clean Markdown, tables kept. Runs on your computer.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"doc2md-lite": {
"command": "uvx",
"args": [
"doc2md-lite",
"mcp"
]
}
}
}在终端中运行这条命令
claude mcp add doc2md-lite -- uvx doc2md-lite mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"doc2md-lite": {
"command": "uvx",
"args": [
"doc2md-lite",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"doc2md-lite": {
"type": "stdio",
"command": "uvx",
"args": [
"doc2md-lite",
"mcp"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 tidybytetools 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.1.1)于前天进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, 御府和田玉 在售作品查询
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ 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.
Live in-stock Hetian jade from Yufu, Shanghai: prices, monthly price guide, book a viewing.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Free. No API key. Runs on your own computer, so your files stay with you.
A tool that turns a text PDF or a saved web page (.html) into clean Markdown. Tables stay real Markdown tables. Need Word files, chunks for AI search (RAG), whole folders or page ranges? The paid version does that: [doc2md on Gumroad](https://tidybyte.gumroad.com/l/frlkv)
Runs on your own computer, so your files are never uploaded anywhere. MIT license. Python 3.10 or newer, on Windows, Mac and Linux.
pip install doc2md-lite
Or use pipx, which keeps it in its own space:
pipx install doc2md-lite
Want the newest code from GitHub instead?
pip install git+https://github.com/tidybytetools/doc2md-lite
doc2md-lite report.pdf # writes report.md
doc2md-lite page.html -o page.md doc2md-lite report.pdf -o - # print the Markdown on screen doc2md-lite report.pdf --tables text # also find tables with no border lines
Example run:
Saved: report.md (4 headings, 1 tables)
What you get from a PDF:
# Spring Store Report
Our team checked every store in March. Most stores met the new goal...
| Region | Stores | Sales |
|---|---|---|
| North | 12 | $48,200 |
| South | 9 | $39,950 |
What it keeps: headings (found by font size and bold in PDFs), paragraphs, bullet and numbered lists, tables, and in HTML also bold, italic, links and code blocks. From web pages it drops scripts, styles, menus and footers.
When you run it in a terminal it ends with one short line about the paid version. --quiet turns it off, and it never shows when output is piped or redirected.
| lite (free) | doc2md | |
|---|---|---|
| Text PDF and HTML to Markdown | yes | yes |
| Tables kept as Markdown tables | yes | yes |
| Word (.docx), with bold, italic, links and lists | no | yes |
| RAG chunks (JSONL with page, heading path, size and overlap) | no | yes |
| Whole folders, sub-folders too | no | yes |
| Page ranges and password-protected PDFs | no | yes |
Pick what fits you. MarkItDown reads many more file types. pandoc is great for Word and HTML but does not read PDFs. pymupdf4llm is fast on PDFs but uses the AGPL license. doc2md-lite is small, MIT, keeps PDF tables as tables, and has an MCP server built in.
There is a small free MCP server built in. It gives your AI app one tool, convert_to_markdown. No API key or account is needed. It needs uv, which gives you the uvx command.
Run it by hand to check it starts (it waits quietly for an app to talk to it):
uvx --from doc2md-lite doc2md-lite-mcp
Shorter way to start the same server: uvx doc2md-lite mcp.
Pick your app below and copy the block. Restart the app after you save.
Open Settings > Developer > Edit Config. That opens claude_desktop_config.json. Add this:
{
"mcpServers": { "doc2md-lite": { "command": "uvx", "args": ["--from", "doc2md-lite", "doc2md-lite-mcp"] } } }
If Claude says it can't find uvx, run which uvx (Mac/Linux) or where uvx (Windows) and put that full path in "command".
Put the same block in ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project):
{
"mcpServers": { "doc2md-lite": { "command": "uvx", "args": ["--from", "doc2md-lite", "doc2md-lite-mcp"] } } }
VS Code uses servers, not mcpServers. Put this in .vscode/mcp.json in your project, or run MCP: Open User Configuration to use it everywhere:
{
"servers": { "doc2md-lite": { "type": "stdio", "command": "uvx", "args": ["--from", "doc2md-lite", "doc2md-lite-mcp"] } } }
Or add it with one command:
code --add-mcp '{"name":"doc2md-lite","type":"stdio","command":"uvx","args":["--from","doc2md-lite","doc2md-lite-mcp"]}'
In the Cline panel, click the MCP Servers icon, open Configure, then click Configure MCP Servers. Add this inside mcpServers:
{
"mcpServers": { "doc2md-lite": { "command": "uvx", "args": ["--from", "doc2md-lite", "doc2md-lite-mcp"], "disabled": false, "autoApprove": [] } } }
One command:
codex mcp add doc2md-lite -- uvx --from doc2md-lite doc2md-lite-mcp
Or add this to ~/.codex/config.toml:
[mcp_servers.doc2md-lite]
command = "uvx" args = ["--from", "doc2md-lite", "doc2md-lite-mcp"]
This repo is also a Gemini CLI extension. Install it with:
gemini extensions install https://github.com/tidybytetools/doc2md-lite
Tool: convert_to_markdown(path, tables="lines", output_path=""). It returns the Markdown text. If you set output_path, it saves the file there and returns the path instead.
Turn the PDFs and web pages in your repo into Markdown on every push. Markdown is easy to search, easy to read in a pull request, and easy for AI tools to use.
name: Docs to Markdown
on: [push, pull_request] permissions: contents: read jobs: markdown: runs-on: ubuntu-latest steps:
Keep Markdown copies in sync. Do you commit a .md copy next to each PDF? Use check mode. The step fails, on the right file, when a copy is missing or out of date. It never writes anything in check mode.
- uses: tidybytetools/doc2md-lite@v1
with: files: docs/**/*.pdf check: "true"
To make the copies, run doc2md-lite your.pdf on your computer, or run the action without check and commit what it wrote. Use the same doc2md-lite version in both places so the output matches. The action installs fixed versions of pdfplumber and Beautiful Soup, so the same file always gives the same Markdown.
It runs the code in the same tag you pick. No API key, no account, and your files are not sent anywhere outside GitHub. It works on Linux, Windows and Mac runners. Scanned PDF pages (just a picture, no text) are skipped with a warning. Set fail-on-scanned: "true" to fail on them instead.
| Input | Default | What it does |
|---|---|---|
files | **/*.pdf | Which files to convert (.pdf, .html, .htm). Glob patterns, one per line or split by commas. |
exclude | node_modules/**, **/node_modules/**, vendor/** | Patterns to skip. |
output-dir | (empty) | Folder for the Markdown. It copies the folder layout. Empty saves each .md next to its file. |
tables | lines | PDF tables: lines (with borders), text (also lined up by spaces), or off. |
check | false | Only check. Fail if a Markdown copy is missing or out of date. |
fail-on-scanned | false | Fail when a PDF has scanned pages with no text. |
fail-if-no-files | true | Fail when no files match. |
artifact-name | (empty) | If set, upload the Markdown as an artifact with this name. Needs output-dir. |
python-version | (empty) | Python to set up. Empty uses the runner's Python (3.10 or newer). |
| Output | What it is |
|---|---|
files | How many PDF and HTML files matched. |
converted | How many were converted (or checked) with no errors. |
changed | How many Markdown files are new or changed. In check mode, how many are missing or out of date. |
scanned-files | How many PDFs have scanned pages. |
output-dir | The output folder. |
The run page also gets a short report with one row per file: where the Markdown went, and how many headings and tables it found.
tables (lines, text, off).{"ok": false, "error": ...} with --json). See also llms.txt.from doc2md_lite import convert
md, info = convert("report.pdf") # info: type, tables, headings, scanned_pages
pip install pdfplumber beautifulsoup4 reportlab "mcp<2"
python3 -m unittest discover tests
MIT. See LICENSE.