Excel MCP Server
Excel MCP-Server
Ein MCP-Server, der umfassende Funktionen zur Excel-Dateiverwaltung und Datenanalyse bietet.
Merkmale
Excel-Dateioperationen
Lesen Sie mehrere Excel-Formate (XLSX, XLS, CSV, TSV, JSON)
Schreiben und Aktualisieren von Excel-Dateien
Abrufen von Dateiinformationen und Blattnamen
Datenanalyse
Zusammenfassende Statistiken und beschreibende Analyse
Bewertung der Datenqualität
Pivot-Tabellen
Filtern und Abfragen von Daten
Visualisierung
Erstellen Sie Diagramme und Plots aus Excel-Daten
Erstellen einer Datenvorschau
Visualisierungen als Bilder exportieren
Related MCP server: Excel MCP Server
Installation
Erstellen Sie eine neue Python-Umgebung (empfohlen):
# Using uv (recommended)
uv init excel-mcp-server
cd excel-mcp-server
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Or using pip
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activateInstallieren Sie Abhängigkeiten:
# Using uv
uv pip install -e .Integration mit Claude Desktop
Installieren Sie Claude Desktop
Öffnen Sie die Einstellungen und wechseln Sie zur Registerkarte „Entwicklertools“
Bearbeiten Sie
claude_desktop_config.json:
{
"mcpServers": {
"command": "uvx",
"args": [
"mcp-excel-server"
],
"env": {
"PYTHONPATH": "/path/to/your/python"
}
}
}Verfügbare Tools
Dateilesen
read_excel: Excel-Dateien lesenget_excel_info: Dateidetails abrufenget_sheet_names: Listet Arbeitsblattnamen auf
Datenanalyse
analyze_excel: Statistische Analyse durchführenfilter_excel: Daten nach Bedingungen filternpivot_table: Pivot-Tabellen erstellendata_summary: Umfassende Datenzusammenfassung generieren
Datenvisualisierung
export_chart: Diagramme generierenUnterstützt Liniendiagramme, Balkendiagramme, Streudiagramme, Histogramme
Dateioperationen
write_excel: Neue Excel-Dateien schreibenupdate_excel: Vorhandene Excel-Dateien aktualisieren
Verfügbare Ressourcen
excel://{file_path}: Dateiinhalt abrufenexcel://{file_path}/info: Informationen zur Dateistruktur abrufenexcel://{file_path}/preview: Datenvorschaubild generieren
Eingabeaufforderungsvorlagen
analyze_excel_data: Geführte Vorlage für die Excel-Datenanalysecreate_chart: Helfen Sie beim Erstellen von Datenvisualisierungendata_cleaning: Hilfe bei der Datenbereinigung
Anwendungsbeispiele
„Meine Datei sales_data.xlsx analysieren“
„Erstellen Sie ein Balkendiagramm für product_sales.csv“
„Mitarbeiter über 30 in employees.xlsx filtern“
„Erstellen Sie eine Pivot-Tabelle der Abteilungsumsätze“
Sicherheitsüberlegungen
Nur Dateien aus angegebenen Pfaden lesen
Dateigröße begrenzen
Verhindern Sie versehentliches Überschreiben von Dateien
Kontrollieren Sie Datentransformationsvorgänge streng
Abhängigkeiten
Pandas
numpy
matplotlib
Seeborn
Lizenz
MIT-Lizenz
Available Tools
8 toolsanalyze_excelC
Perform statistical analysis on Excel data.
Args:
file_path: Path to the Excel file
columns: Comma-separated list of columns to analyze (analyzes all numeric columns if None)
sheet_name: Name of the sheet to analyze (for Excel files)
Returns:
JSON string with statistical analysis
Inputs: file_path (required), columns, sheet_name.
data_summaryC
Generate a comprehensive summary of the data in an Excel file.
Args:
file_path: Path to the Excel file
sheet_name: Name of the sheet to summarize (for Excel files)
Returns:
Comprehensive data summary as string
Inputs: file_path (required), sheet_name.
export_chartB
Create a chart from Excel data and return as an image.
Args:
file_path: Path to the Excel file
x_column: Column to use for x-axis
y_column: Column to use for y-axis
chart_type: Type of chart ('line', 'bar', 'scatter', 'hist')
sheet_name: Name of the sheet to chart (for Excel files)
Returns:
Chart as image
Inputs: file_path (required), x_column (required), y_column (required), chart_type, +1 more.
filter_excelB
Filter Excel data using a pandas query string.
Args:
file_path: Path to the Excel file
query: Pandas query string (e.g., "Age > 30 and Department == 'Sales'")
sheet_name: Name of the sheet to filter (for Excel files)
Returns:
Filtered data as string
Inputs: file_path (required), query (required), sheet_name.
pivot_tableB
Create a pivot table from Excel data.
Args:
file_path: Path to the Excel file
index: Column to use as the pivot table index
columns: Optional column to use as the pivot table columns
values: Column to use as the pivot table values
aggfunc: Aggregation function ('mean', 'sum', 'count', etc.)
sheet_name: Name of the sheet to pivot (for Excel files)
Returns:
Pivot table as string
Inputs: file_path (required), index (required), columns, values, +2 more.
read_excelA
Read an Excel file and return its contents as a string.
Args:
file_path: Path to the Excel file
sheet_name: Name of the sheet to read (only for .xlsx, .xls)
nrows: Maximum number of rows to read
header: Row to use as header (0-indexed)
Returns:
String representation of the Excel data
Inputs: file_path (required), sheet_name, nrows, header.
update_excelC
Update an existing Excel file with new data.
Args:
file_path: Path to the Excel file to update
data: New data in CSV or JSON format
sheet_name: Name of the sheet to update (for Excel files)
format: Format of the input data ('csv' or 'json')
Returns:
Confirmation message
Inputs: file_path (required), data (required), sheet_name, format.
write_excelB
Write data to an Excel file.
Args:
file_path: Path to save the Excel file
data: Data in CSV or JSON format
sheet_name: Name of the sheet (for Excel files)
format: Format of the input data ('csv' or 'json')
Returns:
Confirmation message
Inputs: file_path (required), data (required), sheet_name, format.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Most tools have distinct purposes like reading, writing, filtering, and analyzing Excel data, but analyze_excel and data_summary overlap significantly as both perform data analysis/summarization. The descriptions help differentiate them slightly, but an agent might struggle to choose between them for basic statistical tasks.
All tools follow a consistent verb_noun or verb_excel pattern (e.g., read_excel, update_excel, filter_excel, pivot_table). The naming is predictable and readable throughout, with no mixing of conventions like camelCase or snake_case deviations.
With 8 tools, this server is well-scoped for Excel operations, covering core tasks like reading, writing, updating, filtering, analyzing, summarizing, charting, and pivoting. Each tool earns its place without feeling excessive or insufficient for the domain.
The toolset provides strong coverage for Excel data manipulation and analysis, including CRUD-like operations (read, write, update) and advanced features (pivot tables, charts). A minor gap exists in lacking tools for specific Excel formatting or cell-level edits, but agents can work around this with the available tools.
Maintenance
Related MCP Connectors
MCP server for querying and analyzing data from ad platforms, analytics tools, and spreadsheets
MCP server for Financial Modeling Prep API with 250+ financial data tools
Hosted MCP: CSV/XLSX to JSON rows and text-PDF pages; private uploads or URLs, no API key.
One MCP server for the services your AI needs: memory, files, Microsoft 365, kanban and more.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that allows LLMs to read, analyze, and interact with Excel files through file operations, data discovery, and comprehensive analysis tools.2-
- FlicenseAqualityCmaintenanceAn MCP server for manipulating Excel files that features a headless engine for real-time formula calculation and data validation. It enables users to create, read, and manage workbooks, sheets, and charts without requiring Microsoft Excel installed.21-
- AlicenseNot gradedqualityDmaintenanceAn MCP server for reading, writing, and analyzing Excel files using Python, pandas, and openpyxl. It enables tasks such as managing multiple worksheets, performing structural data analysis, and creating new files from JSON data.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for reading and writing .xls (Excel 97-2003) files, enabling data manipulation, sheet listing, and metadata retrieval.MIT