Skip to main content
Glama

excel-mcp-server-ts

Excel Model Context Protocol (MCP) server — TypeScript version. Lets MCP clients (Claude Desktop, Claude Code, and other MCP-capable hosts) create and manipulate Excel workbooks programmatically: sheets, cell data, formatting, calculations, charts and pivot tables. Built on ExcelJS, no Excel installation required.

Features

  • Workbook and worksheet management

  • Reading and writing cell data (src/data.ts, src/cellUtils.ts)

  • Cell formatting (src/formatting.ts)

  • Formulas and calculations (src/calculations.ts)

  • Charts (src/chart.ts) and pivot tables (src/pivot.ts)

Related MCP server: mcp-xlsx-server

Install & build

npm install
npm run build   # tsc -> dist/

Run

npm start       # node dist/cli.js
# or during development:
npm run dev     # ts-node src/cli.ts

Use with an MCP client

Example entry for claude_desktop_config.json (or any MCP host config):

{
  "mcpServers": {
    "excel": {
      "command": "node",
      "args": ["<path-to-repo>/dist/cli.js"]
    }
  }
}

Project layout

src/
  cli.ts           entry point (bin: excel-mcp)
  server.ts        MCP server wiring
  data.ts          cell/range data operations
  formatting.ts    styles and formats
  calculations.ts  formulas
  chart.ts         charts
  pivot.ts         pivot tables
  cellUtils.ts     helpers
excel_files/       sample workbook for local testing

License

ISC

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    MCP server for reading and writing Excel (xlsx) files using SheetJS, providing tools to list sheets, read data, create files, add sheets, and update cells.
    5
    6 npm
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables reading and writing Excel workbooks (.xlsx) through MCP. Supports listing sheets, tables, pivot tables, reading cell data, exporting to CSV/text/Markdown, and creating/modifying Excel files.
    14
    GPL 3.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides full read and write access to Excel workbooks (sheets, cell ranges, tables, formulas, formatting, and cross-workbook references) via MCP, running locally or as an HTTP/SSE service.
    14 npm
    MIT