Data Analysis MCP Server - Model Context Protocol server for data analysis
Project description
Data Analysis MCP (Python)
一个基于 Model Context Protocol 的数据分析服务器,使用 Python 开发。
功能特性
- 📊 数据统计分析(均值、中位数、标准差等)
- 📈 数据可视化(生成图表)
- 🔍 数据探索(查看数据摘要、缺失值等)
- 📉 趋势分析
- 📋 支持 CSV、Excel、JSON 等格式
技术栈
- Python 3.8+
- pandas
- numpy
- matplotlib
- seaborn
快速开始
安装依赖
pip install -r requirements.txt
运行
python main.py
MCP 工具列表
1. load-data
加载数据文件
- 支持 CSV、Excel、JSON 格式
2. describe-data
获取数据摘要统计
- 行列数
- 数据类型
- 缺失值统计
- 基本统计量
3. analyze-column
分析特定列的数据
- 唯一值数量
- 频率分布
- 数值统计
4. correlation-analysis
相关性分析
- 计算变量间相关系数
- 生成相关性矩阵
5. generate-chart
生成数据可视化图表
- 柱状图
- 折线图
- 散点图
- 箱线图
开发
python main.py
许可证
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_data_analysis_server-1.0.0.tar.gz.
File metadata
- Download URL: mcp_data_analysis_server-1.0.0.tar.gz
- Upload date:
- Size: 2.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
780fe8356feadf346b962ea721f0eee2d9b63821728d26d485cc755335516026
|
|
| MD5 |
0e9d814509dc9dee9aae34144d0f0a40
|
|
| BLAKE2b-256 |
b1d6ef774724a7297c087236185e32f0e8350a642ee834897824c47b6f56aea2
|
File details
Details for the file mcp_data_analysis_server-1.0.0-py3-none-any.whl.
File metadata
- Download URL: mcp_data_analysis_server-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97a29459fde0daf15d897607ef5916523fe438be80276b3a4918c104e8c57dc8
|
|
| MD5 |
a25f7e28ed46712beed68e152384bc89
|
|
| BLAKE2b-256 |
244ce95d04f35f611c3a07d773c0ed44aab2ef8cdfda9bc68d3e8b629b067538
|