1. Conduid
  2. Files
  3. Excel VBA Macro Converter Python 2
MCP server · Files

Excel VBA Macro Converter Python 2

A Model Context Protocol (MCP) server built with FastMCP that converts Excel files containing VBA macros into equivalent Python code.

Unclaimed last commit a year ago files
34Low

Scored 6 months ago · breakdown

About Excel VBA Macro Converter Python 2

Excel VBA Macro Converter Python 2 is an MCP server published by raoagbajdos in the Files category: a Model Context Protocol (MCP) server built with FastMCP that converts Excel files containing VBA macros into equivalent Python code.

The repository has 1 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/raoagbajdos/MCP-Server-Excel-VBA-Macro-Converter-Python-2

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Excel VBA Macro Converter Python 2

Powered by Claude · Grounded in docs

I know everything about Excel VBA Macro Converter Python 2. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Excel VBA to Python Converter using FastMCP

A Model Context Protocol (MCP) server built with FastMCP that converts Excel files containing VBA macros into equivalent Python code.

Features

  • 🔄 Convert VBA macros to Python code
  • 📊 Extract Excel data and structure
  • 🐍 Generate clean, readable Python code
  • 🛠️ Support for common VBA constructs
  • 📁 Batch processing capabilities
  • 🔍 Code analysis and optimization suggestions

Installation

  1. Clone the repository:
git clone <repository-url>
cd python-mcp-vba-conversion
  1. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install dependencies:
pip install -r requirements.txt

Usage

As MCP Server

Start the FastMCP server:

python src/mcp_server.py

Standalone Usage

Convert a single Excel file:

python src/converter.py path/to/your/file.xlsm

Convert multiple files:

python src/batch_converter.py path/to/excel/files/

Project Structure

python-mcp-vba-conversion/
├── src/
│   ├── mcp_server.py          # FastMCP server implementation
│   ├── converter.py           # Main VBA to Python converter
│   ├── vba_parser.py          # VBA code parsing utilities
│   ├── python_generator.py    # Python code generation
│   ├── excel_extractor.py     # Excel file processing
│   └── batch_converter.py     # Batch processing utilities
├── tests/
│   ├── test_converter.py
│   ├── test_vba_parser.py
│   └── sample_files/
├── examples/
│   ├── sample_macro.xlsm
│   └── converted_output.py
├── requirements.txt
├── setup.py
└── README.md

MCP Tools Available

  • convert_vba_file: Convert a single Excel file with VBA
  • extract_vba_code: Extract VBA code from Excel file
  • analyze_vba_complexity: Analyze VBA code complexity
  • batch_convert_files: Convert multiple Excel files
  • generate_python_equivalent: Generate Python code from VBA

Examples

See the examples/ directory for sample Excel files and their Python conversions.

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests
  5. Submit a pull request

License

MIT License

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Excel VBA Macro Converter Python 2

How do I install Excel VBA Macro Converter Python 2?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Excel VBA Macro Converter Python 2 safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Excel VBA Macro Converter Python 2 still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.