
Mcp File Processor
io.github.IntelagentStudios由 GitHub 账号 IntelagentStudios 发布v0.1.1更新于 Oct 24, 2026
Text extraction, keyword extraction, language detection, and chunking for RAG
概览
本地 MCP 服务器,可从文档和代码中提取文本、提取关键词、检测内容类型,并将文本切分为适合 RAG 流程的片段。
- 可以做什么
- 它提供从 PDF、DOCX、CSV、JSON、Markdown、HTML、XML 及源代码文件中提取文本的工具,还支持按词频排序的关键词提取、内容类型与编程语言检测,以及带重叠的文本切分。process_file 工具可一次完成提取、检测、关键词提取和切分,另有一个资源列出支持的 MIME 类型和扩展名。
- 适用场景
- 适合需要让助手读取本地文档或代码并为其嵌入或检索做准备的场景,例如构建 RAG 上下文、总结 PDF,或在建立索引前把长文本切成带重叠的片段。
- 运行要求
- 通过 npx 以 stdio 方式在本地运行,需要 Node.js 20 或更高版本。无需 API 密钥或账号,未声明任何环境变量或请求头。
安装
在 SourceWeft 中
- 打开 控制台中的 Mcp File Processor,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@opafex/mcp-file-processor
MCP server for universal text extraction, keyword extraction, language detection, and text chunking — designed for RAG pipelines.
Supports PDF, DOCX, CSV, JSON, Markdown, HTML, and code files. Zero platform dependencies.
Installation
Requires Node.js 20+.
Quick Start
Add to Claude Code / Claude Desktop
No API keys needed — everything runs locally.
Tools
extract_text
Extract text content from a file.
Example response
extract_keywords
Extract ranked keywords from text. Filters stop words, sorted by frequency.
Example response
detect_language
Detect whether content is code, natural language, or mixed.
Example response
chunk_text
Split text into overlapping chunks for RAG/embedding pipelines.
Example response
process_file
All-in-one: extract text, detect content type, extract keywords, and chunk.
server_info (built-in)
Returns server metadata, registered tools, and resources.
Resources
Supported Formats
Development
Library Usage
Contributing
Found a bug or have a feature request? Open an issue.
License
MIT — see LICENSE.
来源:packages/file-processor/README.md,提交 02c34ab
工具
0版本历史
1- v0.1.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分