Muskan244/File_Summarizer_MCP_Server
If you are the rightful owner of File_Summarizer_MCP_Server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The File Summarizer MCP Server is a fully offline, multi-modal file summarization server built with FastMCP, supporting various file types and offering language detection, translation, and speech-to-text capabilities.
read_file
Reads the content of a specified file.
summarize_file
Generates a summary of the specified file's content.
summarize_text
Generates a summary of the provided text.
detect_language
Detects the language of the provided text.
translate_text
Translates the provided text to English.
transcribe_file
Transcribes audio or video file content to text.
๐ File Summarizer MCP Server
A custom MCP (Model Context Protocol) server that reads and summarizes the contents of any file type (PDF, DOCX, TXT, HTML, JSON, etc.) using Apache Tika, with optional multilingual support.
๐ง Easily plug this into Claude Desktop or other LLM tools to enable file-based context and summarization.
๐ Features
- ๐ Reads content from any file type supported by Apache Tika
- โจ Summarizes file content or raw input text
- ๐ Auto-detects file language and translates non-English text before summarizing
- ๐ Optional MCP tools to detect language and translate text
- ๐งฉ Async MCP tools for smooth integration
- ๐ ๏ธ Built with Python 3.12 and the FastMCP framework
- โ Ready for use with Claude Desktop or any other MCP client
- ๐ฆ Published to PyPI for easy installation
๐ฆ Installation
From PyPI
pip install file-summarizer-mcp-server
From GitHub
git clone https://github.com/Muskan244/File_Summarizer_MCP_Server.git
cd File_Summarizer_MCP_Server
uv venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
uv pip install -r requirements.txt
๐ Claude Desktop Integration
To use this server inside Claude Desktop:
- Open (or create) your Claude config:
macOS
code ~/Library/Application\ Support/Claude/claude_desktop_config.json
Windows
code $env:AppData\Claude\claude_desktop_config.json
- Add your server entry:
{
"mcpServers": {
"file-summarizer": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/File_Summarizer_MCP_Server/file_summarizer",
"run",
"file_summarizer.py"
]
}
}
}
- Restart Claude Desktop, and your tools should appear!
๐งช MCP Tools Provided
Tool Name | Description |
---|---|
read_file | Reads raw content from a file |
summarize_file | Summarizes content of any file |
summarize_text | Summarizes raw text string |
detect_language | Detects the language of input text |
translate_text | Translates any text to English |
transcribe_file | Transcribe audio or video file content |
๐ Requirements
- Python 3.12
- Apache Tika
- langdetect
- deep-translator
- fastmcp
Install all with:
pip install -r requirements.txt
๐ License
This project is licensed under the MIT License. See the file for details.