Skip to main content
Glama
spreadsheet-mcp

spreadsheet-mcp

by kustaaya

A simple MCP server that exposes a tool for creating Excel-workbooks, especially financial models.

Usage

Start the server using:

uv run spreadsheet-mcp

The MCP server exposes one tool, create_workbook, which takes a name and an XML representation of the workbook, and returns the path to the saved Excel file. By default, the server will save the file to the user's Downloads folder. This can be modified by setting the TARGET_FOLDER variable in the spreadsheet-mcp/server.py file.

The tool is built to be used to create financial models, but it can be used to create any kind of Excel workbook.

Related MCP server: Excel MCP Server

Connecting locally to a client (Cursor, Claude Desktop etc.)

To connect to the server from a client, you can use the following JSON configuration. You might need to change the uv command to an absolute path to the uv executable.

{
  "mcpServers": {
    "filesystem": {
      "command": "uv",
      "args": [
        "run",
        "--directory",
        "/path/to/spreadsheet-mcp",
        "spreadsheet-mcp/server.py"
      ]
    }
  }
}

Supported LLMs

Works best with Gemini 2.5 Pro, but should theoretically work with any other tool calling model with a long context window.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides Excel file manipulation capabilities without requiring Microsoft Excel installation, enabling workbook creation, data manipulation, formatting, and advanced Excel features.
      10
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables MCP clients to create and manipulate Excel workbooks programmatically, including sheets, cell data, formatting, formulas, charts, and pivot tables.
      ISC
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI clients to create, read, and edit Excel workbooks without Microsoft Excel, including charts, PivotTables, formulas, tables, formatting, and large-file operations. It also provides safe folder confinement, read-only operation, and optional VBA-write tools.
      MIT