Excel MCP Server
Excel file processing server based on Model Context Protocol (MCP), providing functionalities for reading, writing, and analyzing Excel files.
Features
- Read specific worksheet data
- Write to specific worksheet
- Support multiple worksheets
- Analyze worksheet structure
- Export structure to new file
- Automatic file content caching
- Automatic operation logging
Installation
Installing via Smithery
To install excel-mcp-server for Claude Desktop automatically via
Smithery:
Installing Manually
Installing via NPM
excel-mcp-server can be automatically installed by adding the following configuration to the MCP servers configuration.
Windows Platform:
Other Platforms:
Note: LOG_PATH is optional. If not set, logs will be stored in the 'logs' folder under the application root directory.other arguments are optional.
API Tools
Structure Tools
- analyzeExcelStructure
- exportExcelStructure
Read Tools
- readSheetNames
- readDataBySheetName
- readSheetData
Write Tools
- writeDataBySheetName
- writeSheetData
Cache Tools
- clearFileCache
Configuration
Environment Variables
LOG_PATH
: Log files storage path
CACHE_MAX_AGE
: Cache expiration time (hours)
CACHE_CLEANUP_INTERVAL
: Cache cleanup interval (hours)
LOG_RETENTION_DAYS
: Log retention days
LOG_CLEANUP_INTERVAL
: Log cleanup interval (hours)
Default Configuration
Dependencies
- @modelcontextprotocol/sdk: ^1.7.0
Development Dependencies
License
This project is licensed under the MIT License. This means you are free to:
- Use the software for commercial or non-commercial purposes
- Distribute original or modified code
Requirements:
- Retain the original copyright notice
- No liability can be claimed against the authors for software use
For detailed license information,please see the LICENSE file.
Excel MCP Server
Excel file processing server based on Model Context Protocol (MCP), providing functionalities for reading, writing, and analyzing Excel files.
Features
- Read specific worksheet data
- Write to specific worksheet
- Support multiple worksheets
- Analyze worksheet structure
- Export structure to new file
- Automatic file content caching
- Automatic operation logging
Installation
Installing via Smithery
To install excel-mcp-server for Claude Desktop automatically via
Smithery:
Installing Manually
Installing via NPM
excel-mcp-server can be automatically installed by adding the following configuration to the MCP servers configuration.
Windows Platform:
Other Platforms:
Note: LOG_PATH is optional. If not set, logs will be stored in the 'logs' folder under the application root directory.other arguments are optional.
API Tools
Structure Tools
- analyzeExcelStructure
- exportExcelStructure
Read Tools
- readSheetNames
- readDataBySheetName
- readSheetData
Write Tools
- writeDataBySheetName
- writeSheetData
Cache Tools
- clearFileCache
Configuration
Environment Variables
LOG_PATH
: Log files storage path
CACHE_MAX_AGE
: Cache expiration time (hours)
CACHE_CLEANUP_INTERVAL
: Cache cleanup interval (hours)
LOG_RETENTION_DAYS
: Log retention days
LOG_CLEANUP_INTERVAL
: Log cleanup interval (hours)
Default Configuration
Dependencies
- @modelcontextprotocol/sdk: ^1.7.0
Development Dependencies
License
This project is licensed under the MIT License. This means you are free to:
- Use the software for commercial or non-commercial purposes
- Distribute original or modified code
Requirements:
- Retain the original copyright notice
- No liability can be claimed against the authors for software use
For detailed license information,please see the LICENSE file.