MCP server for Excel macro-enabled (.xlsm) workbooks

MCP server for Excel macro-enabled (.xlsm) workbooks

xlsm-mcp-server•byorlando2019

A stdio-based MCP server that lets MCP clients read, write, create and format Excel files with macros, and inspect VBA macros in workbooks.

License: Not specified•Runtime: Awaiting documentation review•Category: productivity work

WHAT IT DOES

  • •Reads and writes data in Excel worksheets through MCP tools.
  • •Creates workbooks with optional macro support and adds new worksheets.
  • •Lists macros in a workbook and returns details about a specific macro.
  • •Applies formatting to cell ranges in a worksheet.

BEST FOR

  • •Data analysts working with AI models on Excel data.
  • •Automating administrative Excel tasks.
  • •Generating and manipulating financial reports.

ABOUT XLSM-MCP-SERVER

MCP server for Excel macro-enabled (.xlsm) workbooks is cataloged as an MCP server attributed to orlando2019. A stdio-based MCP server that lets MCP clients read, write, create and format Excel files with macros, and inspect VBA macros in workbooks. It is categorized under productivity work. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for MCP server for Excel macro-enabled (.xlsm) workbooks are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the server communicate with MCP clients?

It uses the stdio protocol for communication.

What Python version is supported?

Python 3.10 or later.

Upstream README

View this exact version on GitHub

README.md · 3cc113a8ba4a · Fetched 2026-11-13 10:54:32 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

📊 Servidor MCP para archivos Excel con macros (.xlsm)

Autor: Orlando Ospino (orlando2019)

Este servidor implementa el Model Context Protocol (MCP) para manipular archivos Excel que contienen macros (.xlsm). Utiliza el protocolo stdio para la comunicación, lo que permite integrarse fácilmente con clientes MCP como Claude Desktop, Cursor o Windsurf.

🌟 ¿Qué es MCP?

MCP (Model Context Protocol) es un protocolo que permite a los modelos de lenguaje interactuar con herramientas externas. Con este servidor, Claude y otros asistentes AI pueden manipular archivos Excel con macros de forma nativa, ampliando sus capacidades para ayudar en tareas de análisis de datos y automatización de oficina.

✨ Características

  • Creación y manipulación de archivos Excel con macros (.xlsm)
  • Lectura y escritura de datos en hojas de cálculo
  • Gestión de hojas (crear, eliminar, renombrar)
  • Listar y obtener información de macros VBA
  • Aplicar formato a rangos de celdas
  • Compatible con Python 3.10+
  • Integración sencilla con entornos virtuales y clientes MCP modernos

🔧 Instalación

Usando pip

pip install xlsm-mcp-server

Usando uv (recomendado)

uv venv
.venv\Scripts\activate
uv pip install -r requirements.txt

📝 Uso

Ejecución directa

python -m xlsm_mcp

O, si usas un entorno virtual:

.venv\Scripts\python.exe -m xlsm_mcp

Configuración para Claude Desktop, Cursor o Windsurf

Agrega a tu configuración (por ejemplo, settings.json):

"mcpServers": {
  "xlsm": {
    "command": "python",
    "args": ["-m", "xlsm_mcp"],
    "transport": "stdio"
  }
}
  • Puedes omitir "transport": "stdio" en algunos clientes, pero es recomendable dejarlo para máxima compatibilidad.
  • Si usas un entorno virtual, reemplaza "python" por la ruta a tu ejecutable Python.

Argumentos avanzados

Puedes agregar argumentos personalizados en la sección "args" según lo requiera tu servidor, por ejemplo:

"args": ["-m", "xlsm_mcp", "--log-level", "DEBUG"]

🛠️ Herramientas disponibles

  • read_data_from_excel: Lee datos de una hoja de Excel
  • write_data_to_excel: Escribe datos en una hoja de Excel
  • create_new_workbook: Crea un nuevo libro de Excel con opción de habilitar macros
  • create_new_worksheet: Crea una nueva hoja en un libro de Excel existente
  • get_workbook_metadata: Obtiene metadatos del libro, incluyendo información sobre macros
  • list_macros_in_workbook: Lista todas las macros disponibles en un libro
  • get_macro_details: Obtiene información detallada sobre una macro específica
  • format_cell_range: Aplica formato a un rango de celdas

💡 Ejemplos

Leer datos de un archivo Excel

# Ejemplo de uso para leer datos
result = await read_data_from_excel("ejemplo.xlsm", "Hoja1", "A1", "C10")
print(result["data"])

Listar macros en un archivo

# Ejemplo para listar macros
macros = await list_macros_in_workbook("ejemplo.xlsm")
for macro in macros["data"]:
    print(f"Macro: {macro['name']}")

📋 Casos de uso

Este servidor es especialmente útil para:

  • Analistas de datos que trabajan con modelos AI
  • Automatización de tareas administrativas
  • Generación y manipulación de informes financieros
  • Integración de IA con flujos de trabajo basados en Excel

👥 Contribuir

Las contribuciones son bienvenidas. Por favor, abre un issue o pull request en el repositorio.

👨‍💻 Autor

Desarrollado por Orlando Ospino (@Orlando_Ospino)

📄 Licencia

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for MCP server for Excel macro-enabled (.xlsm) workbooks from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/xlsm-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related productivity work MCP Servers

Alternative and complementary servers in the same category

View all in productivity work →
Tuqui hosted MCP server for Odoo
tuqui-odoo-mcp-for-claude-chatgpt•tuqui-ai

Tuqui is a hosted MCP server that connects Odoo with Claude and ChatGPT so users can ask about sales, stock, customers and overdue invoices in plain language.

Repository stats unavailable
Productivity & Ops