npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

excel-mcp-server-adolfosalasgomez

v1.0.2

Published

A comprehensive Excel MCP server for reading, writing, and analyzing Excel files

Readme

Excel MCP Server

A comprehensive Model Context Protocol (MCP) server for reading, writing, and analyzing Excel files. Built by Hatch Ltd for seamless integration with AI assistants.

Features

  • Read Excel Files: Extract data from Excel files with support for specific sheets and cell ranges
  • Write Excel Files: Create new Excel files or modify existing ones
  • Sheet Management: List sheets, get detailed information about Excel files
  • Formula Support: Option to include formulas instead of computed values
  • Style Support: Extract cell styling information when needed
  • Robust Error Handling: Clear error messages and validation

Installation

npm install @hatch/excel-mcp-server

Usage

As an MCP Server

Add to your MCP configuration:

{
  "servers": {
    "excel": {
      "type": "stdio",
      "command": "npx",
      "args": ["-y", "@hatch/excel-mcp-server"]
    }
  }
}

Direct Usage

npx @hatch/excel-mcp-server

Available Tools

read_excel_file

Read data from an Excel file with optional sheet and range specification.

Parameters:

  • filePath (required): Absolute path to the Excel file
  • sheetName (optional): Name of the sheet to read (defaults to first sheet)
  • range (optional): Cell range to read (e.g., "A1:C10")
  • includeFormulas (optional): Include formulas instead of computed values
  • includeStyles (optional): Include cell styling information

write_excel_file

Write data to an Excel file.

Parameters:

  • filePath (required): Absolute path to the Excel file
  • sheetName (required): Name of the sheet to write to
  • data (required): Array of arrays representing the data to write
  • range (optional): Starting cell (defaults to "A1")
  • createSheet (optional): Create the sheet if it does not exist (default: true)

list_excel_sheets

List all sheet names in an Excel file.

Parameters:

  • filePath (required): Absolute path to the Excel file

get_excel_info

Get detailed information about an Excel file including sheets, dimensions, and metadata.

Parameters:

  • filePath (required): Absolute path to the Excel file

create_excel_file

Create a new Excel file with specified data.

Parameters:

  • filePath (required): Absolute path for the new Excel file
  • sheets (required): Array of sheet objects to create

Example Usage

Reading an Excel File

{
  "tool": "read_excel_file",
  "arguments": {
    "filePath": "/path/to/your/file.xlsx",
    "sheetName": "Sheet1",
    "range": "A1:D10"
  }
}

Creating a New Excel File

{
  "tool": "create_excel_file",
  "arguments": {
    "filePath": "/path/to/new/file.xlsx",
    "sheets": [
      {
        "name": "Data",
        "data": [
          ["Name", "Age", "City"],
          ["John", 30, "New York"],
          ["Jane", 25, "Los Angeles"]
        ]
      }
    ]
  }
}

Development

# Install dependencies
npm install

# Build the project
npm run build

# Run in development mode
npm run dev

# Run tests
npm test

Requirements

  • Node.js >= 18.0.0
  • Excel files in .xlsx format

License

MIT License - see LICENSE file for details.

Support

For issues and support, please visit our GitHub repository.