
Pdf Report Generator
io.github.themoddedcube由 GitHub 账号 themoddedcube 发布v1.0.1更新于 Nov 3, 2026
Generate professional PDF reports from LLM output — cover, TOC, tables, charts, 5 themes.
概览
根据结构化 JSON 规格或原始 LLM 文本生成专业的多页 PDF 报告,含封面、目录、表格和图表。
- 可以做什么
- 用包含元数据、执行摘要、章节与小节的结构化规格生成完整 PDF 报告
- 把原始文本转换为结构化报告,并按标题自动识别章节
- 在指定位置插入表格、柱状图、折线图、饼图、条形图以及图片
- 列出可用的配色主题(default、navy、charcoal、forest、burgundy)并支持自定义颜色
- 适用场景
- 适合让助手把分析、调研或会议记录整理成可分享、具企业风格的 PDF 文档,包含封面、密级标注和图表,而不是纯文本输出。
- 运行要求
- 以 stdio 在本地运行,通常通过 npx 启动。需要 Node.js 18+ 以及 Python 3.8+,并安装 reportlab 和 matplotlib 依赖。未声明任何账号、API 密钥或环境变量。
安装
在 SourceWeft 中
- 打开 控制台中的 Pdf Report Generator,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
pdf-report-generator
An MCP server that generates professional corporate PDF reports from structured JSON specs or raw LLM text output. Drop it into Claude Desktop (or any MCP client) and ask Claude to turn analysis, research, or meeting notes into a polished multi-page report complete with cover page, table of contents, executive summary, section headings, tables, and charts.
A sample output is at examples/sample_report.pdf.
Prerequisites
- Node.js 18+
- Python 3.8+
Install Python dependencies:
Claude Desktop configuration
Add to your claude_desktop_config.json:
Available tools
generate_report
Generates a PDF from a full structured spec.
Minimal example input:
generate_report_from_text
Converts raw text into a structured PDF report. Sections are auto-detected from headings.
list_themes
Returns available color themes: default, navy, charcoal, forest, burgundy.
JSON spec reference
Example prompts
- "Turn this analysis into a professional internal PDF report titled 'Q3 Infrastructure Review'"
- "Generate a corporate report from this research, add a bar chart for the monthly metrics"
- "Create a CONFIDENTIAL report called 'Security Audit Findings' from this text"
- "List the available report themes"
Troubleshooting
Python not found — ensure python or python3 is on your PATH and is version 3.8+.
reportlab not installed — run pip install reportlab matplotlib.
Charts missing — matplotlib is required for charts. Install it with pip install matplotlib.
Large PDFs — complex specs with many charts can take 5–15 seconds. This is normal.
License
MIT
来源:README.md,提交 c1cf8c6
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分