@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.