excel mcp server
Enables seamless reading, writing, and analyzing of Excel files through Model Context Protocol, with features for worksheet management, structure analysis, and automated caching.
Enables seamless reading, writing, and analyzing of Excel files through Model Context Protocol, with features for worksheet management, structure analysis, and automated caching.
简体中文 | English
Excel file processing server based on Model Context Protocol (MCP), providing functionalities for reading, writing, and analyzing Excel files.
? Read Excel Files
Get worksheet list
Read all worksheets data
✍️ Write Excel Files
Create new Excel files
Support multiple worksheets
? Analyze Excel Structure
Analyze worksheet structure
Export structure to new file
? Cache Management
Automatic file content caching
Manual cache clearing
? Log Management
To install excel-mcp-server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @zhiweixu/excel-mcp-server --client claude
Installing via NPM excel-mcp-server can be automatically installed by adding the following configuration to the MCP servers configuration.
Windows Platform:
{
"mcpServers": {
"excel": {
"command": "cmd",
"args": ["/c", "npx", "--yes", "@zhiweixu/excel-mcp-server"],
"env": {
"LOG_PATH": "[set an accessible absolute path]"
}
}
}
Other Platforms:
{
"mcpServers": {
"excel": {
"command": "npx",
"args": ["--yes", "@zhiweixu/excel-mcp-server"],
"env": {
"LOG_PATH": "[set an accessible absolute path]"
}
}
}
Note: LOG_PATH is optional. If not set, logs will be stored in the 'logs' folder under the application root directory.
Parameters:
exportExcelStructure
Parameters:
readDataBySheetName
Parameters:
readSheetData
Parameters:
writeSheetData
Cache Configuration
Cache expiration time: 1 hour
Cache cleanup interval: 4 hours
Log Configuration
Log retention days: 7 days
This project is licensed under the MIT License. This means you are free to:
Distribute original or modified code Requirements:
Retain the original copyright notice