Back to Home
sbroenne icon

mcp-server-excel

Verified Safe

by sbroenne

Overview

Automate Microsoft Excel operations through natural language commands for AI assistants or via a command-line interface, including Power Query, DAX measures, VBA macros, PivotTables, Charts, Ranges, and Worksheets.

Installation

Run Command
dotnet tool install --global Sbroenne.ExcelMcp.McpServer && mcp-excel

Environment Variables

  • EXCEL_DEFAULT_PRIVACY_LEVEL

Security Notes

The server leverages Excel's native COM API, which is generally safer than direct file manipulation, and includes input validation, file size limits, and robust code analysis rules. However, it requires manually enabling 'Trust access to the VBA project object model' in Excel for VBA operations, which is a significant user security decision. Additionally, Power Query M-code formatting uses an external API (powerqueryformatter.com), introducing an external network dependency that, while offering graceful fallback, entails sending potentially sensitive M-code over the network. Anonymous telemetry is collected via Azure Application Insights with sensitive data redaction.

Similar Servers

Stats

Interest Score44
Security Score7
Cost ClassHigh
Avg Tokens200
Stars20
Forks2
Last Update2026-01-19

Tags

Excel automationAIMCP.NETData AnalysisCOM Interop