file-analysis
File Analysis MCP
Servidor MCP personal que lee documentos no estructurados (PDF, DOCX, PPTX, SVG, PNG, JPG) de una carpeta específica y extrae su estructura/contenido. El resumen lo realiza el LLM de Claude Code/Codex que llama a este servidor, no este servidor. Este servidor solo se encarga de la extracción de texto/imágenes y de identificar la estructura de carpetas.
Requisitos previos
1. Python
python y pip deben funcionar correctamente. Si en Windows python muestra el aviso de instalación de Microsoft Store, verifica lo siguiente:
Instala Python 3.11 o superior (64-bit) desde python.org y marca "Add python.exe to PATH" durante la instalación.
Si
pythonsigue apuntando al stub de la Store: ve a Configuración → Aplicaciones → Configuración avanzada de aplicaciones → Alias de ejecución de aplicaciones y desactiva las entradas python.exe/python3.exe de App Installer.
2. Tesseract-OCR (necesario para la función OCR de PNG, opcional)
Después de instalarlo con el instalador de Tesseract de UB-Mannheim, ajusta el valor de TESSERACT_CMD en .mcp.json a la ruta real de instalación. El servidor funciona correctamente incluso sin instalarlo; al analizar PNG, se devuelve la imagen en sí (multimodal) y solo el texto OCR se reemplaza con el mensaje "unavailable".
Related MCP server: ReadPDFx - OCR PDF MCP Server
Instalación
cd C:\Users\20229\Desktop\MCP
python -m venv .venv
.venv\Scripts\pip install -r requirements.txtVerificación
# 1. 샘플 파일 생성 (pdf/docx/pptx/svg/png/txt 각 1개)
.venv\Scripts\python scripts\generate_fixtures.py
# 2. MCP 없이 extractor만 직접 테스트
.venv\Scripts\python scripts\smoke_test.pyRegistro en Claude Code
El .mcp.json de esta carpeta ya registra el servidor con alcance de proyecto. Verifica que la ruta de command coincida con la ubicación real de .venv\Scripts\python.exe y, a continuación, reinicia Claude Code o comprueba con el comando /mcp que el servidor file-analysis esté en estado connected.
Herramientas proporcionadas
scan_folder(folder_path, max_depth=3, max_files=200): devuelve solo el árbol de carpetas y el número de archivos por extensión (no lee el contenido).analyze_file(file_path, max_chars=None): extrae un archivo según su extensión.pdf/docx/pptx/svg → información de texto/estructura
png/jpg/jpeg → imagen (multimodal) + texto OCR
Limitaciones
SVG solo analiza la estructura XML (nodos de texto, número de formas, viewBox). En el caso de imágenes vectoriales puras sin texto, no se puede saber visualmente qué dibujan: si es necesario, conviértelas a PNG y vuelve a analizarlas.
Hay un límite en la cantidad extraída: PDF 50 páginas/50 000 caracteres, PPTX 100 diapositivas/50 000 caracteres, OCR de PNG 20 000 caracteres, etc. Si se supera, el resultado incluye
truncated: truey un mensaje informativo.
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