📄 File Summarizer MCP Server
A fully offline, multi-modal file summarization server built with FastMCP. Supports text, documents, audio, and video files with language detection, translation, and speech-to-text capabilities.
🚀 Features
- 📂 Reads multiple file types — PDF, DOCX, TXT, audio (MP3, WAV), video (MP4, MOV) via Apache Tika & Whisper.
- 🧠 Summarizes file content or raw input text automatically.
- 🌐 Multi-language support — detects input language, translates to English if needed, or keeps summary in original language.
- 🎙 Speech-to-text transcription — audio/video files transcribed via Whisper before summarization.
- ⚙️ Simple async MCP tools — easy to extend and integrate with any MCP client.
- 🔒 Fully offline capable — no need for external LLM APIs.
- 🐍 Built with Python 3.12, FastMCP server framework, Apache Tika, Whisper, LangDetect, and Deep Translator.
🛠 Installation
1️⃣ Clone the repo:
git clone https://github.com/Muskan244/File_Summarizer_MCP_Server.git
cd File_Summarizer_MCP_Server
2️⃣ Setup virtual environment:
python3.12 -m venv .venv
source .venv/bin/activate
3️⃣ Install dependencies:
pip install -r requirements.txt
# Whisper requires ffmpeg installed system-wide
brew install ffmpeg # (Mac)
🔧 Usage
Start the MCP server:
uv run file_summarizer.py
It exposes the following tools:
read_file(file_path)summarize_file(file_path)summarize_text(text)detect_language(text)translate_text(text)transcribe_file(file_path)
You can invoke these via any MCP-compliant client (Claude Desktop, Open Interpreter, etc.).
Metadata
Release files for file-summarizer-mcp-server 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| file_summarizer_mcp_server-0.1.1.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| file_summarizer_mcp_server-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.3 kB
Release files / file_summarizer_mcp_server-0.1.1.tar.gz
| Download URL | file_summarizer_mcp_server-0.1.1.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ad4e1775a5c30f3d620d48fb1b3789a401e4effa616e295aa56bedc62dbb49a
|
|
BLAKE2b-256 checksum How to use checksums |
e907775e4faa479d2759d29e108d5462113f1d2fe22d4783561d5a44da1e4e03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.4
|
Release files / file_summarizer_mcp_server-0.1.1-py3-none-any.whl
| Download URL | file_summarizer_mcp_server-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bd8154a5c0f051bb1116c08b62c50e0d96faf6dea73d6e97d55396edc8c08627
|
|
BLAKE2b-256 checksum How to use checksums |
049c72e564a04dd2225e4938bba1c71bcd6014cff1f1cbc3bff91a0fecec75d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.4
|