|
| 1 | +# ParseFlow 推广文案 |
| 2 | + |
| 3 | +--- |
| 4 | + |
| 5 | +## 🇨🇳 中文版 |
| 6 | + |
| 7 | +### V2EX 发帖 |
| 8 | + |
| 9 | +**标题**: [分享] ParseFlow - 让 Claude Desktop 支持 PDF 解析的 MCP 服务器 |
| 10 | + |
| 11 | +**正文**: |
| 12 | +```markdown |
| 13 | +大家好! |
| 14 | + |
| 15 | +我开发了一个 MCP (Model Context Protocol) 服务器,可以让 Claude Desktop、Windsurf、Cursor 等 AI 工具直接解析和分析 PDF 文件。 |
| 16 | + |
| 17 | +## 🚀 功能特性 |
| 18 | + |
| 19 | +- ✅ 文本提取(支持多种格式策略) |
| 20 | +- ✅ 元数据获取(标题、作者、页数等) |
| 21 | +- ✅ 关键词搜索 |
| 22 | +- ✅ 图片提取 |
| 23 | +- ✅ 目录提取 |
| 24 | + |
| 25 | +## 📦 安装使用 |
| 26 | + |
| 27 | +```bash |
| 28 | +npm install -g parseflow-mcp-server |
| 29 | +``` |
| 30 | + |
| 31 | +在 Claude Desktop 配置文件中添加: |
| 32 | +```json |
| 33 | +{ |
| 34 | + "mcpServers": { |
| 35 | + "parseflow": { |
| 36 | + "command": "parseflow" |
| 37 | + } |
| 38 | + } |
| 39 | +} |
| 40 | +``` |
| 41 | + |
| 42 | +## 🔗 链接 |
| 43 | + |
| 44 | +- GitHub: https://github.com/Libres-coder/ParseFlow |
| 45 | +- npm: https://www.npmjs.com/package/parseflow-mcp-server |
| 46 | +- MCP Registry: https://registry.modelcontextprotocol.io/ |
| 47 | + |
| 48 | +## 🎯 使用场景 |
| 49 | + |
| 50 | +- 让 AI 助手帮你总结 PDF 论文 |
| 51 | +- 从 PDF 合同中提取关键信息 |
| 52 | +- 批量处理 PDF 文档 |
| 53 | +- 搜索 PDF 中的特定内容 |
| 54 | + |
| 55 | +欢迎试用和反馈!⭐ |
| 56 | +``` |
| 57 | +
|
| 58 | +--- |
| 59 | +
|
| 60 | +### 掘金文章 |
| 61 | +
|
| 62 | +**标题**: 实现一个支持 MCP 协议的 PDF 解析服务器 |
| 63 | +
|
| 64 | +**大纲**: |
| 65 | +```markdown |
| 66 | +# 实现一个支持 MCP 协议的 PDF 解析服务器 |
| 67 | +
|
| 68 | +## 前言 |
| 69 | +- MCP 协议简介 |
| 70 | +- 为什么需要 PDF 解析服务器 |
| 71 | +- 项目目标 |
| 72 | +
|
| 73 | +## 技术选型 |
| 74 | +- TypeScript + Node.js |
| 75 | +- pdf-lib 作为 PDF 解析引擎 |
| 76 | +- @modelcontextprotocol/sdk |
| 77 | +- monorepo 架构(pnpm) |
| 78 | +
|
| 79 | +## 核心实现 |
| 80 | +### 1. PDF 解析核心库 |
| 81 | +- 文本提取实现 |
| 82 | +- 元数据获取 |
| 83 | +- 关键词搜索算法 |
| 84 | +
|
| 85 | +### 2. MCP 服务器实现 |
| 86 | +- 工具注册 |
| 87 | +- 参数验证(Zod) |
| 88 | +- 错误处理 |
| 89 | +
|
| 90 | +### 3. 测试和文档 |
| 91 | +- Jest 单元测试 |
| 92 | +- 中英文文档 |
| 93 | +- 使用示例 |
| 94 | +
|
| 95 | +## 发布流程 |
| 96 | +- npm 包发布 |
| 97 | +- MCP Registry 提交 |
| 98 | +- GitHub Release |
| 99 | +
|
| 100 | +## 使用示例 |
| 101 | +- 在 Claude Desktop 中使用 |
| 102 | +- 在 Windsurf/Cursor 中集成 |
| 103 | +- 作为库在项目中使用 |
| 104 | +
|
| 105 | +## 总结 |
| 106 | +- 项目收获 |
| 107 | +- 未来计划 |
| 108 | +- 欢迎贡献 |
| 109 | +
|
| 110 | +## 参考资料 |
| 111 | +- MCP 官方文档 |
| 112 | +- pdf-lib 文档 |
| 113 | +- 项目 GitHub |
| 114 | +``` |
| 115 | + |
| 116 | +--- |
| 117 | + |
| 118 | +### 小红书(如果适用) |
| 119 | + |
| 120 | +**标题**: Claude 竟然能直接读 PDF 了!MCP 服务器实战 |
| 121 | + |
| 122 | +**正文**: |
| 123 | +``` |
| 124 | +姐妹们!我发现了一个超好用的工具 ✨ |
| 125 | +
|
| 126 | +以前 Claude Desktop 不能直接读 PDF,每次都要复制粘贴好麻烦 😫 |
| 127 | +
|
| 128 | +现在有了 ParseFlow MCP 服务器,Claude 可以: |
| 129 | +📄 直接读取 PDF 内容 |
| 130 | +🔍 搜索关键词 |
| 131 | +📊 提取元数据 |
| 132 | +🖼️ 提取图片 |
| 133 | +
|
| 134 | +安装超简单!一行命令搞定 👇 |
| 135 | +npm install -g parseflow-mcp-server |
| 136 | +
|
| 137 | +配置也很容易,在 Claude 配置文件里加几行就行 ✅ |
| 138 | +
|
| 139 | +现在我用 Claude 总结论文、分析合同,效率提升 10 倍!🚀 |
| 140 | +
|
| 141 | +项目开源,免费使用 💝 |
| 142 | +GitHub: Libres-coder/ParseFlow |
| 143 | +
|
| 144 | +有用的话记得点赞收藏哦~ 💖 |
| 145 | +
|
| 146 | +#Claude #AI工具 #效率神器 #程序员日常 |
| 147 | +``` |
| 148 | + |
| 149 | +--- |
| 150 | + |
| 151 | +## 🇬🇧 English Version |
| 152 | + |
| 153 | +### Reddit (r/mcp) |
| 154 | + |
| 155 | +**Title**: [Release] ParseFlow - PDF Parsing MCP Server for Claude Desktop |
| 156 | + |
| 157 | +**Content**: |
| 158 | +```markdown |
| 159 | +Hey everyone! |
| 160 | + |
| 161 | +I've built an MCP server that enables Claude Desktop, Windsurf, and Cursor to parse and analyze PDF files directly. |
| 162 | + |
| 163 | +## 🚀 Features |
| 164 | + |
| 165 | +- Text extraction with multiple formatting strategies |
| 166 | +- Metadata retrieval (title, author, pages, etc.) |
| 167 | +- Keyword search within documents |
| 168 | +- Image extraction (requires poppler-utils) |
| 169 | +- Table of contents extraction |
| 170 | + |
| 171 | +## 📦 Installation |
| 172 | + |
| 173 | +```bash |
| 174 | +npm install -g parseflow-mcp-server |
| 175 | +``` |
| 176 | + |
| 177 | +Add to your Claude Desktop config: |
| 178 | +```json |
| 179 | +{ |
| 180 | + "mcpServers": { |
| 181 | + "parseflow": { |
| 182 | + "command": "parseflow" |
| 183 | + } |
| 184 | + } |
| 185 | +} |
| 186 | +``` |
| 187 | + |
| 188 | +## 🔗 Links |
| 189 | + |
| 190 | +- GitHub: https://github.com/Libres-coder/ParseFlow |
| 191 | +- npm: https://www.npmjs.com/package/parseflow-mcp-server |
| 192 | +- MCP Registry: https://registry.modelcontextprotocol.io/ |
| 193 | + |
| 194 | +## 🎯 Use Cases |
| 195 | + |
| 196 | +- Summarize research papers with AI |
| 197 | +- Extract information from PDF contracts |
| 198 | +- Batch process PDF documents |
| 199 | +- Search for specific content in PDFs |
| 200 | + |
| 201 | +The project is open-source and MIT licensed. Would love to hear your feedback! ⭐ |
| 202 | +``` |
| 203 | +
|
| 204 | +--- |
| 205 | +
|
| 206 | +### Twitter/X |
| 207 | +
|
| 208 | +**推文 1** (项目介绍): |
| 209 | +``` |
| 210 | +🚀 Just released ParseFlow - an MCP server for PDF parsing! |
| 211 | + |
| 212 | +Now you can use @AnthropicAI Claude Desktop to: |
| 213 | +📄 Extract text from PDFs |
| 214 | +🔍 Search within documents |
| 215 | +📊 Get metadata |
| 216 | +🖼️ Extract images |
| 217 | + |
| 218 | +Open source & MIT licensed ✨ |
| 219 | + |
| 220 | +GitHub: https://github.com/Libres-coder/ParseFlow |
| 221 | +npm: https://www.npmjs.com/package/parseflow-mcp-server |
| 222 | + |
| 223 | +#MCP #ClaudeAI #AI #OpenSource |
| 224 | +``` |
| 225 | +
|
| 226 | +**推文 2** (使用场景): |
| 227 | +``` |
| 228 | +📚 Use cases for ParseFlow MCP server: |
| 229 | + |
| 230 | +✅ Summarize research papers with Claude |
| 231 | +✅ Extract key info from contracts |
| 232 | +✅ Batch process PDFs |
| 233 | +✅ Search across multiple documents |
| 234 | + |
| 235 | +Works with Claude Desktop, @windsurf_ai, and @cursor_ai |
| 236 | + |
| 237 | +Try it: npm i -g parseflow-mcp-server |
| 238 | + |
| 239 | +#AITools #Productivity |
| 240 | +``` |
| 241 | +
|
| 242 | +**推文 3** (技术栈): |
| 243 | +``` |
| 244 | +⚙️ Tech stack for ParseFlow: |
| 245 | + |
| 246 | +• TypeScript + Node.js |
| 247 | +• pdf-lib for parsing |
| 248 | +• @modelcontextprotocol SDK |
| 249 | +• 83%+ test coverage |
| 250 | +• Monorepo with pnpm |
| 251 | + |
| 252 | +Full docs available on GitHub 📖 |
| 253 | + |
| 254 | +Building in public 🚀 |
| 255 | + |
| 256 | +#BuildInPublic #TypeScript #OpenSource |
| 257 | +``` |
| 258 | +
|
| 259 | +--- |
| 260 | +
|
| 261 | +## 📧 Email 模板(给 MCP 相关项目维护者) |
| 262 | +
|
| 263 | +**主题**: ParseFlow - New PDF Parsing MCP Server |
| 264 | +
|
| 265 | +**正文**: |
| 266 | +``` |
| 267 | +Hi [Name], |
| 268 | + |
| 269 | +I recently built ParseFlow, an MCP server for PDF parsing, and thought it might be interesting for the MCP community. |
| 270 | + |
| 271 | +ParseFlow enables AI assistants like Claude Desktop to: |
| 272 | +- Extract and analyze PDF content |
| 273 | +- Search within documents |
| 274 | +- Retrieve metadata and images |
| 275 | +- Handle batch processing |
| 276 | + |
| 277 | +The project is: |
| 278 | +✅ Open source (MIT license) |
| 279 | +✅ Published on npm and MCP Registry |
| 280 | +✅ Fully documented with examples |
| 281 | +✅ 83%+ test coverage |
| 282 | + |
| 283 | +Links: |
| 284 | +- GitHub: https://github.com/Libres-coder/ParseFlow |
| 285 | +- npm: https://www.npmjs.com/package/parseflow-mcp-server |
| 286 | +- MCP Registry: Search for "parseflow" |
| 287 | + |
| 288 | +Would appreciate any feedback or suggestions for improvement! |
| 289 | + |
| 290 | +Best regards, |
| 291 | +[Your Name] |
| 292 | +``` |
| 293 | +
|
| 294 | +--- |
| 295 | +
|
| 296 | +## 📱 社交媒体配图建议 |
| 297 | +
|
| 298 | +### 建议制作的图片: |
| 299 | +
|
| 300 | +1. **功能展示图** |
| 301 | + - 5 个主要功能的图标 |
| 302 | + - 简洁的说明文字 |
| 303 | + - 品牌色搭配 |
| 304 | +
|
| 305 | +2. **安装流程图** |
| 306 | + - 3 步安装步骤 |
| 307 | + - 代码截图 |
| 308 | + - 配置示例 |
| 309 | +
|
| 310 | +3. **使用场景图** |
| 311 | + - Claude Desktop 截图 |
| 312 | + - PDF 文件示例 |
| 313 | + - 对话示例 |
| 314 | +
|
| 315 | +4. **技术栈图** |
| 316 | + - 使用的技术图标 |
| 317 | + - 架构简图 |
| 318 | +
|
| 319 | +### 推荐工具: |
| 320 | +- Figma(设计) |
| 321 | +- Canva(快速制图) |
| 322 | +- Carbon(代码截图) |
| 323 | +- Excalidraw(架构图) |
| 324 | +
|
| 325 | +--- |
| 326 | +
|
| 327 | +## 🎯 推广时间表 |
| 328 | +
|
| 329 | +### 第 1 天(今天) |
| 330 | +- ✅ 创建 GitHub Release |
| 331 | +- ✅ 发布 V2EX 帖子 |
| 332 | +- ✅ 发布 Twitter 推文 |
| 333 | +
|
| 334 | +### 第 2-3 天 |
| 335 | +- [ ] 撰写掘金详细文章 |
| 336 | +- [ ] 在 Reddit r/mcp 分享 |
| 337 | +- [ ] 回复评论和反馈 |
| 338 | +
|
| 339 | +### 第 1 周 |
| 340 | +- [ ] 收集用户反馈 |
| 341 | +- [ ] 修复发现的问题 |
| 342 | +- [ ] 更新文档 |
| 343 | +
|
| 344 | +### 第 2-4 周 |
| 345 | +- [ ] 添加用户请求的功能 |
| 346 | +- [ ] 准备 v1.1.0 版本 |
| 347 | +- [ ] 持续推广 |
| 348 | +
|
| 349 | +--- |
| 350 | +
|
| 351 | +## 📊 推广效果追踪 |
| 352 | +
|
| 353 | +建议追踪的指标: |
| 354 | +- GitHub Stars 数量 |
| 355 | +- npm 下载量 |
| 356 | +- GitHub Issues/PR 数量 |
| 357 | +- 社区反馈 |
| 358 | +- 文章阅读量 |
| 359 | +
|
| 360 | +--- |
| 361 | +
|
| 362 | +祝推广顺利!🚀 |
0 commit comments