Integrations
Utilizes NumPy for data analysis operations, enabling statistical calculations and numerical operations on Excel data.
Leverages pandas for Excel file operations, data manipulation, filtering, and pivot table creation across multiple file formats.
Built on Python, allowing execution of Python-based data analysis and Excel management operations.
Excel MCP 服务器
提供全面的 Excel 文件管理和数据分析功能的 MCP 服务器。
特征
- Excel文件操作
- 读取多种 Excel 格式(XLSX、XLS、CSV、TSV、JSON)
- 编写和更新 Excel 文件
- 获取文件信息和工作表名称
- 数据分析
- 汇总统计和描述分析
- 数据质量评估
- 数据透视表
- 过滤和查询数据
- 可视化
- 从 Excel 数据生成图表和绘图
- 创建数据预览
- 将可视化结果导出为图像
安装
- 创建新的 Python 环境(推荐):
Copy
- 安装依赖项:
Copy
与 Claude Desktop 集成
- 安装Claude Desktop
- 打开“设置”并转到“开发人员”选项卡
- 编辑
claude_desktop_config.json
:
Copy
可用工具
文件读取
read_excel
:读取 Excel 文件get_excel_info
:获取文件详细信息get_sheet_names
:列出工作表名称
数据分析
analyze_excel
:执行统计分析filter_excel
:按条件过滤数据pivot_table
:创建枢轴表data_summary
:生成全面的数据摘要
数据可视化
export_chart
:生成图表- 支持折线图、条形图、散点图、直方图
文件操作
write_excel
:写入新的 Excel 文件update_excel
:更新现有的 Excel 文件
可用资源
excel://{file_path}
:获取文件内容excel://{file_path}/info
:获取文件结构信息excel://{file_path}/preview
:生成数据预览图
提示模板
analyze_excel_data
:Excel 数据分析的指导模板create_chart
:帮助创建数据可视化data_cleaning
:协助数据清理
使用示例
- “分析我的sales_data.xlsx文件”
- “为 product_sales.csv 创建条形图”
- “在employees.xlsx中筛选出30岁以上的员工”
- “生成部门销售额数据透视表”
安全注意事项
- 仅从指定路径读取文件
- 限制文件大小
- 防止意外文件覆盖
- 严格控制数据转换操作
依赖项
- 熊猫
- numpy
- matplotlib
- 西伯恩
执照
MIT 许可证
You must be authenticated.
MCP 服务器提供全面的 Excel 文件操作、数据分析和可视化功能,可处理各种电子表格格式,如 XLSX、CSV 和 JSON。