file-analysis
File Analysis MCP
Ein persönlicher MCP-Server, der unstrukturierte Dokumente (PDF, DOCX, PPTX, SVG, PNG, JPG) in einem bestimmten Ordner liest und Struktur/Inhalt extrahiert. Die Zusammenfassung wird nicht von diesem Server durchgeführt, sondern vom LLM von Claude Code/Codex, das diesen Server aufruft. Dieser Server ist nur für die Text-/Bildextraktion und die Erfassung der Ordnerstruktur zuständig.
Voraussetzungen
1. Python
python und pip müssen ordnungsgemäß funktionieren. Wenn python unter Windows die Microsoft-Store-Installationsanleitung anzeigt, überprüfen Sie Folgendes:
Installieren Sie Python 3.11 oder höher (64-bit) von python.org und aktivieren Sie während der Installation die Option „Add python.exe to PATH“.
Wenn
pythonweiterhin auf den Store-Stub verweist: Deaktivieren Sie unter Einstellungen → Apps → Erweiterte App-Einstellungen → App-Ausführungsaliase die Einträge python.exe/python3.exe des App Installers.
2. Tesseract-OCR (für die OCR-Funktion von PNG erforderlich, optional)
Installieren Sie es mit dem UB-Mannheim Tesseract installer und passen Sie den Wert TESSERACT_CMD in .mcp.json an den tatsächlichen Installationspfad an. Auch ohne Installation funktioniert der Server normal; bei der PNG-Analyse wird das Bild selbst (multimodal) zurückgegeben und nur der OCR-Text wird durch die Meldung „unavailable“ ersetzt.
Related MCP server: ReadPDFx - OCR PDF MCP Server
Installation
cd C:\Users\20229\Desktop\MCP
python -m venv .venv
.venv\Scripts\pip install -r requirements.txtÜberprüfung
# 1. 샘플 파일 생성 (pdf/docx/pptx/svg/png/txt 각 1개)
.venv\Scripts\python scripts\generate_fixtures.py
# 2. MCP 없이 extractor만 직접 테스트
.venv\Scripts\python scripts\smoke_test.pyClaude Code-Registrierung
Die .mcp.json in diesem Ordner hat den Server bereits im Projektbereich registriert. Überprüfen Sie, ob der command-Pfad mit dem tatsächlichen Speicherort von .venv\Scripts\python.exe übereinstimmt, und starten Sie dann Claude Code neu oder prüfen Sie mit dem Befehl /mcp, ob der Server file-analysis den Status „connected“ hat.
Bereitgestellte Tools
scan_folder(folder_path, max_depth=3, max_files=200): Gibt nur den Ordnerbaum und die Anzahl der Dateien nach Erweiterung zurück (liest den Inhalt nicht).analyze_file(file_path, max_chars=None): Extrahiert eine einzelne Datei entsprechend ihrer Erweiterung.PDF/DOCX/PPTX/SVG → Text-/Strukturinformationen
PNG/JPG/JPEG → Bild (multimodal) + OCR-Text
Einschränkungen
SVG parst nur die XML-Struktur (Textknoten, Anzahl der Formen, viewBox). Bei reinen Vektorgrafiken ohne Text ist nicht erkennbar, was sie visuell darstellen – konvertieren Sie sie bei Bedarf in PNG und analysieren Sie sie erneut.
Es gibt Obergrenzen für die Extraktionsmenge, z. B. PDF 50 Seiten/50.000 Zeichen, PPTX 100 Folien/50.000 Zeichen, PNG-OCR 20.000 Zeichen. Bei Überschreitung enthält das Ergebnis
truncated: trueund einen Hinweistext.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables reading and processing various document formats including Word, PDF, RTF, and text files. Supports extracting media elements like images and links, with features for PDF page range selection and automatic text encoding detection.8MIT
- AlicenseNot gradedqualityDmaintenanceProvides intelligent OCR and PDF processing capabilities that automatically detect whether PDFs contain digital text or scanned images and apply appropriate extraction methods. Supports text extraction, OCR processing, structure analysis, and batch operations.MIT
- AlicenseNot gradedqualityFmaintenanceEnables PDF document processing including text, image, and table extraction, as well as intelligent classification and similarity analysis across multiple languages.49MIT
- FlicenseNot gradedqualityCmaintenanceEnables local, read-only extraction of text and structure from PDF, DOCX, PPTX, SVG, and PNG files, including OCR for images, directory tree and metadata reporting, with strict path isolation and audit logging.
Related MCP Connectors
Read PDFs and images as markdown or text, with exact costs and hard spend caps. $0.75/1k pages.
Turn any PDF into structured JSON via AI + OCR: invoices, bank statements, contracts.
Tag, rename, and enrich PDFs and images. Free tier: 1,500 tags/month, no credit card.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/JAEJOONYOO/YJJ_MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server