Provides integration with GitHub for version control and collaboration, allowing users to clone the repository and contribute to the project.
Offers integration with NPM for package distribution, allowing users to access the author's published packages through the NPM registry.
Uses Shields.io badges to display project status information including license, TypeScript version, and MCP SDK version.
Built with TypeScript 5.3+ to provide type safety and modern language features for the Excel file processing functionality.
📊 XLSX Reader MCP
A powerful Model Context Protocol (MCP) server for reading and analyzing Excel documents with advanced features.
✨ Features
- 📖 Read Excel Files: Support for
.xlsx
,.xls
, and.xlsm
formats - 🎯 Flexible Data Access: Read entire sheets, specific ranges, or targeted cells
- 📊 Multiple Output Formats: JSON, CSV, and formatted table outputs
- 🔍 Advanced Analysis: Detailed file structure, data type analysis, and statistics
- 📋 Sheet Management: Work with multiple sheets and get comprehensive overviews
- 🎨 Beautiful Formatting: Clean, readable output with proper table formatting
- ⚡ High Performance: Efficient processing of large Excel files
- 🚫 Smart Filtering: Automatically skip empty rows for cleaner output
- 📏 Configurable Limits: Control maximum rows and preview size for optimal performance
🚀 Quick Start
Installation
Usage with Claude Desktop
Method 1: Stdio Mode (Recommended for Development)
Add to your Claude Desktop configuration:
Method 2: SSE Mode (Recommended for Production)
Then add to Claude Desktop configuration:
🛠️ Available Tools
1. read_xlsx
- Excel File Reader
Read and extract data from Excel files with flexible formatting options and search capabilities.
Parameters:
filePath
(required): Path to the Excel filesheetName
(optional): Specific sheet to readrange
(optional): Cell range (e.g., "A1")format
(optional): Output format - "json", "csv", or "table" (default)includeHeaders
(optional): Include headers in output (default: true)maxRows
(optional): Maximum rows to return (default: 100, max: 1000)searchColumn
(optional): Column to search in (column name, index, or Excel letter)searchValue
(optional): Value to search forsearchType
(optional): Search type - "exact", "contains", "startsWith", "endsWith" (default: "exact")
Note: Empty rows are automatically filtered out to provide cleaner output.
Example Usage:
2. analyze_xlsx
- Excel File Analyzer
Perform comprehensive analysis of Excel files including structure, data types, and statistics.
Parameters:
filePath
(required): Path to the Excel fileincludePreview
(optional): Include data preview (default: true)previewRows
(optional): Number of preview rows (default: 5, max: 20)analyzeDataTypes
(optional): Analyze column data types (default: true)
Example Usage:
📖 Examples
Basic File Reading
Reading Specific Sheet and Range
Reading with Row Limits
Searching Data
Comprehensive File Analysis
🏗️ Project Structure
🔧 Development
Scripts
npm run build
- Build the TypeScript projectnpm run dev
- Watch mode for developmentnpm start
- Start the MCP servernpm run sse
- Start SSE server on port 3100
Dependencies
- @modelcontextprotocol/sdk: MCP SDK for server implementation
- xlsx: Excel file processing library
📄 License
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
👨💻 Author
Xingyu Chen
- 📧 Email: guangxiangdebizi@gmail.com
- 🐙 GitHub: @guangxiangdebizi
- 💼 LinkedIn: Xingyu Chen
- 📦 NPM: @xingyuchen
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
🙏 Acknowledgments
- Thanks to the Model Context Protocol team for the excellent SDK
- Built with SheetJS for robust Excel file processing
Made with ❤️ for the MCP community
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A Model Context Protocol server that enables reading and analyzing Excel documents with features like flexible data access, multiple output formats, and advanced analysis capabilities.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server that provides tools for reading Excel (xlsx) files, enabling extraction of data from entire workbooks or specific sheets with results returned in structured JSON format.Last updated -35PythonApache 2.0
- AsecurityAlicenseAqualityA Model Context Protocol server that enables AI assistants to read from and write to Microsoft Excel files, supporting formats like xlsx, xlsm, xltx, and xltm.Last updated -56,317407GoMIT License
- AsecurityAlicenseAqualityEnables seamless reading, writing, and analyzing of Excel files through Model Context Protocol, with features for worksheet management, structure analysis, and automated caching.Last updated -855635TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server for intelligent Excel processing and data analysis, offering tools for reading, validating, executing code, and generating interactive visualizations with Excel files.Last updated -17PythonMIT License