DocLens
● Activeio.github.fendoushaonian/doclens
Reads PDF, Excel, Word and CSV for AI agents with table structure and exact numeric precision.
Connect this server
One click to install, or copy the config below. Suits: Claude Desktop · Cursor.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"doclens": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/fendoushaonian/doclens:0.1.0"
]
}
}
}claude mcp add doclens -- docker run -i --rm ghcr.io/fendoushaonian/doclens:0.1.0codex mcp add doclens -- docker run -i --rm ghcr.io/fendoushaonian/doclens:0.1.0code --add-mcp '{"name":"doclens","type":"stdio","command":"docker","args":["run","-i","--rm","ghcr.io/fendoushaonian/doclens:0.1.0"]}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
Is it safe? Is it maintained?
Serverdex check: Nov 27, 2026Looks healthy: DocLens is maintained, open source.
- Maintained
- Active
- Last commit 11 days ago (Nov 24, 2026), 0 open issues.
- Official registry
- Active
- Published as io.github.fendoushaonian/doclens in the official MCP registry, version 0.1.0.
- Source
- Open source, MIT
- Public repository under the MIT licence, 0 stars, 0 forks.
- Runs
- On your machine
- A local Docker package started by your client; it can reach whatever your user account can.
- Credentials
- None declared
- The registry entry declares no required environment variables.
- Owner
- Unclaimed
- Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.
Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.
Report Card
How the grade works →Grade A · Production-ready
Maintenance & production-readiness — 80/100 from the six repository signals below. A comparable rollup, not a code audit.
- Recent commits+30/30
Last commit 11 days ago.
- Open licence+15/15
MIT on GitHub.
- Documentation+15/15
The repository ships a README.
- Adoption0/20
0 GitHub stars.
- Registry status+12/12
Active in the official MCP registry.
- Product surface+8/8
Has a homepage or a published package/endpoint.
Own this server? Add the grade badge — it links back here
<a href="https://serverdex.io/server/io-github-fendoushaonian-doclens?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-fendoushaonian-doclens/report-badge.svg" alt="DocLens — Serverdex Report Card A" height="22"></a>Compare every server's grade on best-maintained MCP servers.
On GitHub
read Nov 25, 2026From the README
DocLens 给 AI 编程 agent 的高保真文档读取器。 Claude Code、Codex、Cursor 这类 agent 读 PDF 和 Excel 时会出错,而且错得很安静:表格被压成一条文本流,列关系丢失;金额经过 float 往返,精度掉了;多栏排版的左右栏交错读出;扫描件被当成空文档。 DocLens 是一个 MCP 服务,把这些读完再交给 agent——表格按行列对齐,金额保留原始精度,公式单独标出,有损的地方明确告诉你。 为什么需要它 用 pdftotext 读同一份财务报表,你得到的是: 用 DocLens: 前者让 agent 猜哪个数字属于哪一行,后者直接告诉它。 安装 或者直接从 GitHub 安装(PyPI 未发布时用这条): 从源码开发: 用容器运行(镜像已公开发布,匿名可拉): 在 MCP 宿主里用镜像,把 command 换成: 接入 agent Claude Code Cursor 在 ~/.cursor/mcp.json 里加: 其他 MCP 宿主 任何支持 stdio 传输的 MCP 客户端都能用它——启动命令就是 doclens,没有端口,没有 API key。 工具 支持的格式 PDF、XLSX、XLSM、CSV、TSV、DOCX、MD、TXT、JSON、YAML、LOG。 独有之处 • 无边框表格:不依赖可见表格线,按字形坐标聚类还原行列。真实世界里从网页打印的 PDF、排版软件导出的报表大多没有线。 • 数字不经过 float:12,000.00 全程是字符串,同时给出可计算的裸值 12000.00,精度不丢。 • 识别会计式负数:(1,234.56) 正确解析为 -1234.56。 • 不静默丢内容:两栏排版的正文不会被误判成表格吞掉;截断、扫描页、公式缺值都会明说。 • Excel 公式保留:=B2+B3 和它的计算结果分别可见,模型的错误通常在公式里。 已知限制 • 扫描件需要 OCR:没有文字层的 PDF 会明确报告,但不会自动 OCR。 • 跨页续表是启发式判断:列数一致且页码相邻时才合并,会在输出里说明,需要人工确认。 • 超长文档分段:默认 PDF 读前 200 页、Excel 每表前 5000 行,超出会提示而不是静默截断。 • 复杂合并单元格:docx 的合并单元格会被展开成重复文本,不保留 span 语义。 许可 MIT
Read the full README on GitHub →Alternatives to DocLens
All DocLens alternatives →Best Documents & Knowledge servers →Compare side by side →The most-starred Documents & Knowledge servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| Context7 | 65,875 | Dec 2026 | Working |
| Codebase Memory | 49,299 | Nov 2026 | Local / not checked |
| Reactive Resume | 46,174 | Nov 2026 | Needs sign-in |
| Sim | 30,249 | Dec 2026 | Needs sign-in |
| Xberg | 9,623 | Nov 2026 | Local / not checked |
DocLens: questions people ask
- Is DocLens a remote or a local MCP server?
- According to its entry in the official MCP registry, DocLens ships as a local package (Docker) that your client starts on your machine.
- Is DocLens safe to use?
- Looks healthy: DocLens is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, MIT; runs: On your machine; credentials: None declared. Serverdex check of Nov 27, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
- Is DocLens still maintained?
- Active: the repository's last commit 11 days ago. Last push Nov 24, 2026, 0 GitHub stars, MIT licence. Read from GitHub on Nov 25, 2026.
- How do I add DocLens to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More Documents & Knowledge servers
Browse all Documents & Knowledge →AgentSite
Some gaps
Task-first cross-agent collaboration for discussions, review, referrals, and reusable knowledge.
Markovo File to Text, Word and Markdown
Well-maintained
Convert files and authorized public HTTPS pages to text, editable Word or Markdown.
Mural MCP Serveur
Production-ready
Read and write Mural workspaces, rooms, templates, murals and widgets from your AI assistant.
Word AI
Well-maintained
Structure-preserving Word DOCX editing MCP server and Office.js bridge for AI agents.
PDF to Markdown & Document Converter (by flyingkiwi)
Some gaps
PDF, Word, PowerPoint, Excel, HTML and EPUB to clean Markdown for RAG, with OCR. Pay per document.
ForgeMesh Library MCP
Production-ready
A paid public-domain knowledge base for AI agents: full-text search, book metadata, chapters.
Add the badge to your site
Show visitors that DocLens is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-fendoushaonian-doclens?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="DocLens — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-fendoushaonian-doclens?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.
Install buttons — for your README
[](https://serverdex.io/install/cursor/io-github-fendoushaonian-doclens) [](https://serverdex.io/install/vscode/io-github-fendoushaonian-doclens) [](https://serverdex.io/install/claude-code/io-github-fendoushaonian-doclens)One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.
Install buttons — HTML for your docs
<a href="https://serverdex.io/install/cursor/io-github-fendoushaonian-doclens"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-fendoushaonian-doclens"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-fendoushaonian-doclens"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>Same buttons as plain links for a docs page or website.
Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).