MCP Catalogs
首页

csv-editor

by santoshray02·23·综合分 45

有状态CSV编辑MCP服务器,提供39个pandas驱动的工具,支持会话、撤销/重做和自动保存功能。

developer-toolsproductivitydata-analysis
5
Forks
3
活跃 Issue
1 个月前
最近提交
2 天前
收录于

概述

CSV Editor是一个全面的MCP服务器,通过39个专业工具为AI助手提供完整的CSV编辑功能。它基于FastMCP 3构建,使用pandas驱动,支持有状态的CSV操作,具有会话管理、撤销/重做功能和可配置的自动保存策略等高级特性。与只读数据MCP不同,此服务器专注于让AI能够实际修改CSV数据,并提供适当的跟踪和历史管理功能。它支持多种输入/输出格式,包括CSV、JSON、Excel、Parquet、HTML和Markdown文件。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:数据分析师进行数据清洗和预处理,包括删除重复项、修复数据类型和处理缺失值
:ETL管道处理复杂转换,如过滤、聚合以及在数据格式之间转换
:通过模式验证、异常检测和全面质量评分进行数据质量保证
:CSV Editor与其他CSV/数据MCP服务器有何不同?
:CSV Editor支持哪些文件格式?

什么时候选它

您需要AI助手编辑和转换CSV文件,具有有状态操作、撤销历史和自动保存功能,而不仅仅是分析它们。

什么时候不要选它

对于多GB文件的只读分析,DuckDB/Polars基础的MCP更合适;CSV Editor的pandas实现针对较小的数据集进行了优化。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • load_csv

    Load CSV data from a file

  • filter_rows

    Filter rows based on conditions

  • get_statistics

    Get statistical summary of data

  • add_column

    Add computed columns to the dataset

  • export_csv

    Export data to various formats

  • remove_duplicates

    Remove duplicate rows from the dataset

  • fill_missing_values

    Handle missing values in the dataset

  • get_correlation_matrix

    Calculate correlation between columns

  • group_by_aggregate

    Group data and perform aggregations

  • detect_outliers

    Detect outliers in the data

  • undo

    Undo the last operation

  • check_data_quality

    Check data quality and generate a report

可对比工具

duckdb-mcppolars-mcppandas-mcp

安装

通过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-editor

Claude 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 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。