csv-editor
by santoshray02·★ 23·综合分 45
有状态CSV编辑MCP服务器,提供39个pandas驱动的工具,支持会话、撤销/重做和自动保存功能。
概述
CSV Editor是一个全面的MCP服务器,通过39个专业工具为AI助手提供完整的CSV编辑功能。它基于FastMCP 3构建,使用pandas驱动,支持有状态的CSV操作,具有会话管理、撤销/重做功能和可配置的自动保存策略等高级特性。与只读数据MCP不同,此服务器专注于让AI能够实际修改CSV数据,并提供适当的跟踪和历史管理功能。它支持多种输入/输出格式,包括CSV、JSON、Excel、Parquet、HTML和Markdown文件。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
您需要AI助手编辑和转换CSV文件,具有有状态操作、撤销历史和自动保存功能,而不仅仅是分析它们。
什么时候不要选它
对于多GB文件的只读分析,DuckDB/Polars基础的MCP更合适;CSV Editor的pandas实现针对较小的数据集进行了优化。
此 server 暴露的工具
从 README 抽取出 12 个工具load_csvLoad CSV data from a file
filter_rowsFilter rows based on conditions
get_statisticsGet statistical summary of data
add_columnAdd computed columns to the dataset
export_csvExport data to various formats
remove_duplicatesRemove duplicate rows from the dataset
fill_missing_valuesHandle missing values in the dataset
get_correlation_matrixCalculate correlation between columns
group_by_aggregateGroup data and perform aggregations
detect_outliersDetect outliers in the data
undoUndo the last operation
check_data_qualityCheck data quality and generate a report
可对比工具
安装
通过Smithery安装
npx -y @smithery/cli install @santoshray02/csv-editor --client claude最快安装方式(推荐)
# 如果需要,安装uv(一次性设置)
curl -LsSf https://astral.sh/uv/install.sh | sh
# 克隆并运行
git clone https://github.com/santoshray02/csv-editor.git
cd csv-editor
uv sync
uv run csv-editorClaude Desktop配置
添加到您的claude_desktop_config.json文件中:
- **macOS:**
~/Library/Application Support/Claude/claude_desktop_config.json - **Windows:**
%APPDATA%\Claude\claude_desktop_config.json - **Linux:**
~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"csv-editor": {
"command": "uv",
"args": ["tool", "run", "csv-editor"],
"env": {
"CSV_MAX_FILE_SIZE": "1073741824"
}
}
}
}FAQ
- CSV Editor与其他CSV/数据MCP服务器有何不同?
- CSV Editor专注于有状态编辑,具有会话管理、撤销/重做功能和自动保存功能,而大多数其他CSV MCP服务器是只读或单次分析工具。
- CSV Editor支持哪些文件格式?
- 它支持CSV、JSON、Excel、Parquet、HTML和Markdown的输入和输出操作,使其能够满足不同的数据处理需求。
csv-editor 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。