Skip to main content
Glama
Excel MCP Server
by negokaz

Excel MCP-Server

NPM-Version Schmiedeabzeichen

Ein Model Context Protocol (MCP)-Server, der MS Excel-Daten liest und schreibt.

Merkmale

  • Textwerte lesen/schreiben

  • Formeln lesen/schreiben

  • Neue Blätter erstellen

🪟Nur Windows:

  • Live-Bearbeitung

  • Bildschirmbild von einem Blatt erfassen

Weitere Einzelheiten finden Sie im Abschnitt „Tools“ .

Related MCP server: MCP Sheet Parser

Anforderungen

  • Node.js 20.x oder höher

Unterstützte Dateiformate

  • xlsx (Excel-Buch)

  • xlsm (Excel-Buch mit Makros)

  • xltx (Excel-Vorlage)

  • xltm (Excel-Vorlage mit Makros)

Installation

Installation über NPM

excel-mcp-server wird automatisch installiert, indem die folgende Konfiguration zur MCP-Serverkonfiguration hinzugefügt wird.

Für Windows:

{
    "mcpServers": {
        "excel": {
            "command": "cmd",
            "args": ["/c", "npx", "--yes", "@negokaz/excel-mcp-server"],
            "env": {
                "EXCEL_MCP_PAGING_CELLS_LIMIT": "4000"
            }
        }
    }
}

Für andere Plattformen:

{
    "mcpServers": {
        "excel": {
            "command": "npx",
            "args": ["--yes", "@negokaz/excel-mcp-server"],
            "env": {
                "EXCEL_MCP_PAGING_CELLS_LIMIT": "4000"
            }
        }
    }
}

Installation über Smithery

So installieren Sie Excel MCP Server für Claude Desktop automatisch über Smithery :

npx -y @smithery/cli install @negokaz/excel-mcp-server --client claude

excel_describe_sheets

Listet alle Blattinformationen der angegebenen Excel-Datei auf.

Argumente:

  • fileAbsolutePath

    • Absoluter Pfad zur Excel-Datei

excel_read_sheet

Lesen Sie Werte aus einem Excel-Blatt mit Seitennummerierung.

Argumente:

  • fileAbsolutePath

    • Absoluter Pfad zur Excel-Datei

  • sheetName

    • Blattname in der Excel-Datei

  • range

    • Zu lesender Zellbereich im Excel-Blatt (z. B. „A1:C10“). [Standard: erster Paging-Bereich]

  • knownPagingRanges

    • Liste der bereits gelesenen Paging-Bereiche

  • showFormula

    • Formel statt Wert anzeigen

excel_screen_capture

[Nur Windows] Machen Sie einen Screenshot des Excel-Blatts mit Seitennummerierung.

Argumente:

  • fileAbsolutePath

    • Absoluter Pfad zur Excel-Datei

  • sheetName

    • Blattname in der Excel-Datei

  • range

    • Zu lesender Zellbereich im Excel-Blatt (z. B. „A1:C10“). [Standard: erster Paging-Bereich]

  • knownPagingRanges

    • Liste der bereits gelesenen Paging-Bereiche

excel_write_to_sheet

Schreiben Sie Werte in das Excel-Blatt.

Argumente:

  • fileAbsolutePath

    • Absoluter Pfad zur Excel-Datei

  • sheetName

    • Blattname in der Excel-Datei

  • newSheet

    • Wenn „true“, wird ein neues Blatt erstellt, andernfalls wird in das vorhandene Blatt geschrieben.

  • range

    • Zu lesender Zellbereich im Excel-Blatt (z. B. „A1:C10“).

  • values

    • Werte, die in die Excel-Tabelle geschrieben werden sollen. Handelt es sich bei dem Wert um eine Formel, sollte er mit "=" beginnen.

excel_create_table

Erstellen Sie eine Tabelle im Excel-Blatt

Argumente:

  • fileAbsolutePath

    • Absoluter Pfad zur Excel-Datei

  • sheetName

    • Name des Blatts, in dem die Tabelle erstellt wird

  • range

    • Bereich als Tabelle (z. B. „A1:C10“)

  • tableName

    • Zu erstellender Tabellenname

excel_copy_sheet

Vorhandenes Blatt in ein neues Blatt kopieren

Argumente:

  • fileAbsolutePath

    • Absoluter Pfad zur Excel-Datei

  • srcSheetName

    • Name des Quellblatts in der Excel-Datei

  • dstSheetName

    • Zu kopierender Blattname

Sie können das Verhalten des MCP-Servers mithilfe der folgenden Umgebungsvariablen ändern:

EXCEL_MCP_PAGING_CELLS_LIMIT

Die maximale Anzahl von Zellen, die in einem einzelnen Paging-Vorgang gelesen werden können.
[Standard: 4000]

Lizenz

Copyright (c) 2025 Kazuki Negoro

excel-mcp-server wird unter der MIT-Lizenz veröffentlicht

Available Tools

6 tools
excel_copy_sheetB
Destructive

Copy existing sheet to a new sheet

Inputs: dstSheetName (required), fileAbsolutePath (required), srcSheetName (required).

excel_create_tableA
Destructive

Create a table in the Excel sheet

Inputs: fileAbsolutePath (required), sheetName (required), tableName (required), range.

excel_describe_sheetsB
Destructive

List all sheet information of specified Excel file

Inputs: fileAbsolutePath (required).

excel_format_rangeB
Destructive

Format cells in the Excel sheet with style information

Inputs: fileAbsolutePath (required), range (required), sheetName (required), styles (required).

excel_read_sheetB
Destructive

Read values from Excel sheet with pagination.

Inputs: fileAbsolutePath (required), sheetName (required), range, showFormula, +1 more.

excel_write_to_sheetC
Destructive

Write values to the Excel sheet

Inputs: fileAbsolutePath (required), newSheet (required), range (required), sheetName (required), +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose targeting specific Excel operations: copying sheets, creating tables, describing sheets, formatting ranges, reading data, and writing data. There is no overlap or ambiguity between these functions, making tool selection straightforward for an agent.

    Naming Consistency5/5

    All tool names follow a consistent 'excel_verb_noun' pattern (e.g., excel_copy_sheet, excel_create_table), using snake_case throughout. This predictable naming convention enhances readability and reduces cognitive load for agents.

    Tool Count4/5

    With 6 tools, the server is well-scoped for basic Excel operations, covering key tasks like reading, writing, formatting, and sheet management. It could benefit from additional tools for advanced features (e.g., formulas, charts), but the current set is reasonable and focused.

    Completeness4/5

    The tools provide solid coverage for core Excel workflows: reading and writing data, sheet management, formatting, and table creation. Minor gaps exist, such as lacking tools for formulas, charts, or cell manipulation (e.g., delete, merge), but agents can handle common tasks effectively with this surface.

    Maintenance

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol server designed for AI assistants to directly process spreadsheet files, enabling them to read, display, modify, and save various table formats like CSV and Excel.
      3
      3
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server that enables AI agents to freely operate Excel spreadsheets, providing tools for workbook creation, cell manipulation, formatting, formula handling, and data export.
      11
      ISC
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI assistants to automate Microsoft Excel tasks such as reading/writing cells, formatting, creating charts, and managing sheets through natural language using the Model Context Protocol.
      1
      Apache 2.0