
mcp-excel-server
The Excel MCP Server is a powerful tool that enables natural language interaction with Excel files through the Model Context Protocol (MCP). It provides a comprehensive set of capabilities for reading, analyzing, visualizing, and writing Excel data.
1
Github Watches
2
Github Forks
20
Github Stars
Excel MCP Server
An MCP server that provides comprehensive Excel file management and data analysis capabilities.
Features
-
Excel File Operations
- Read multiple Excel formats (XLSX, XLS, CSV, TSV, JSON)
- Write and update Excel files
- Get file information and sheet names
-
Data Analysis
- Summary statistics and descriptive analysis
- Data quality assessment
- Pivot tables
- Filtering and querying data
-
Visualization
- Generate charts and plots from Excel data
- Create data previews
- Export visualizations as images
Installation
- Create a new Python environment (recommended):
# Using uv (recommended)
uv init excel-mcp-server
cd excel-mcp-server
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
# Or using pip
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
- Install dependencies:
# Using uv
uv pip install -r requirements.txt
# Or using pip
pip install -r requirements.txt
Integration with Claude Desktop
- Install Claude Desktop
- Open Settings and go to the Developer tab
- Edit
claude_desktop_config.json
:
{
"mcpServers": {
"command": "uvx",
"args": [
"mcp-excel-server"
],
"env": {
"PYTHONPATH": "/path/to/your/python"
}
}
}
Available Tools
File Reading
-
read_excel
: Read Excel files -
get_excel_info
: Get file details -
get_sheet_names
: List worksheet names
Data Analysis
-
analyze_excel
: Perform statistical analysis -
filter_excel
: Filter data by conditions -
pivot_table
: Create pivot tables -
data_summary
: Generate comprehensive data summary
Data Visualization
-
export_chart
: Generate charts- Supports line charts, bar charts, scatter plots, histograms
File Operations
-
write_excel
: Write new Excel files -
update_excel
: Update existing Excel files
Available Resources
-
excel://{file_path}
: Get file content -
excel://{file_path}/info
: Get file structure information -
excel://{file_path}/preview
: Generate data preview image
Prompt Templates
-
analyze_excel_data
: Guided template for Excel data analysis -
create_chart
: Help create data visualizations -
data_cleaning
: Assist with data cleaning
Usage Examples
- "Analyze my sales_data.xlsx file"
- "Create a bar chart for product_sales.csv"
- "Filter employees over 30 in employees.xlsx"
- "Generate a pivot table of department sales"
Security Considerations
- Read files only from specified paths
- Limit file size
- Prevent accidental file overwriting
- Strictly control data transformation operations
Dependencies
- pandas
- numpy
- matplotlib
- seaborn
License
MIT License
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.
Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.
Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx
The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.
Bridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools
🧑🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.
Reviews

user_QaBAQHQZ
I have been using MCP-Excel-Server by yzfly and it has significantly boosted my productivity. This server makes managing Excel files seamless and efficient, directly from a server environment. It’s well-documented and the implementation was straightforward. If you work with Excel files frequently, this is a game-changer. Highly recommend!