
oletools-mcp-server
Secure MCP server for analyzing Excel files with oletools
3 years
Works with Finder
1
Github Watches
0
Github Forks
0
Github Stars
OLETools Secure MCP Server
This project provides a secure microservice using FastMCP
to analyze Microsoft Office documents (Excel, Word, PowerPoint) and related file types (like XLL add-ins) for potential malicious content using static analysis techniques. It leverages external tools like oletools
, XLMMacroDeobfuscator
, and pefile
.
Features
- Analyzes VBA Macros (
olevba
) - Detects XLM Macros (
XLMMacroDeobfuscator
,olevba
) - Checks for DDE Links (
msodde
) - Extracts embedded OLE Objects (
oleobj
) - Analyzes XLL file exports for suspicious functions (
pefile
) - Extracts IOCs (URLs, IPs, Hashes, Emails) using
iocextract
- Provides basic MIME type and file size validation (
python-magic
) - Uses a configurable scoring system for basic risk classification
- Designed for integration with systems supporting the MCP protocol (like compatible versions of Claude Desktop).
Prerequisites
- Python 3.6+
-
OLETools: Install via
pip install oletools
-
XLMMacroDeobfuscator: Install via
pip install XLMMacroDeobfuscator
-
python-magic: Install via
pip install python-magic-bin
(Windows) -
iocextract (optional): Install via
pip install iocextract
for advanced IOC extraction - Claude Desktop application
Installation
-
Clone the Repository:
git clone https://github.com/pradeep895/oletools-mcp-server.git cd oletools-mcp-server
- Install Dependencies:
pip install -r requirements.txt
- Download the "Claude Desktop" application go to the Developer settings and Edit the "claude_desktop_config.json" file and paste content in the configuration.json file.Restart the application.
- Run the config file:
python config.py
- Run the server:
python mcp_service.py
- Go to "Claude Desktop" application and check for the "hammer symbol" it appeared means MCP tools are available.
- type "analyze_vba_macros in <filepath\example.xlsm>" this will help you to analyze the excel file statically and gave you the findings.
analyze_vba_macros file_path:"C:\path\to\your\example.xlsm"
相关推荐
I find academic articles and books for research and literature reviews.
Converts Figma frames into front-end code for various mobile frameworks.
Confidential guide on numerology and astrology, based of GG33 Public information
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Advanced software engineer GPT that excels through nailing the basics.
Delivers concise Python code and interprets non-English comments
💬 MaxKB is a ready-to-use AI chatbot that integrates Retrieval-Augmented Generation (RAG) pipelines, supports robust workflows, and provides advanced MCP tool-use capabilities.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
Reviews

user_KtUtdwV3
The oletools-mcp-server by pradeep895 is a fantastic tool for anyone dealing with OLE files. Its seamless integration and efficient functionality make it a must-have in the toolkit. The user-friendly interface and comprehensive documentation available on the GitHub link make it accessible even for beginners. Highly recommended for all developers and analysts!