CSV Analytics MCP Server
CSV Analytics MCPサーバー
By MEOK AI Labs | meok.ai
AIエージェント向けの表計算およびCSV分析ツールキット。pandasを活用し、CSVファイルの読み込み、データのフィルタリングとクエリ、統計計算、集計、ピボットテーブルの作成、チャート用データの書き出しが可能です。
ツール
ツール | 説明 |
| 分析用にCSVファイルをメモリに読み込む |
| データのフィルタリング、列選択、並べ替え、スライス |
| 統計的要約(平均、標準偏差、四分位数、上位値など) |
| 合計、平均、カウント、中央値などを用いたGROUP BY |
| Chart.js / Plotly互換形式でのデータ書き出し |
| Excelスタイルのピボットテーブル |
インストール
pip install mcp pandas使用方法
サーバーの実行
python server.pyClaude Desktopの設定
{
"mcpServers": {
"csv-analytics": {
"command": "python",
"args": ["/path/to/csv-analytics-mcp/server.py"]
}
}
}ワークフロー
CSVファイルを読み込む(名前でメモリに保存)
describe_columnsで探索するフィルタ、並べ替え、列選択でクエリを実行する
集計またはピボットで要約を作成する
可視化のためにチャート用データを書き出す
呼び出し例
CSVファイルの読み込み:
Tool: load_csv
Input: {"file_path": "/Users/me/data/sales.csv"}
Output: {"name": "sales", "rows": 15432, "columns": ["date", "product", "region", "amount", "quantity"], "dtypes": {"amount": "float64", "quantity": "int64"}}列の要約:
Tool: describe_columns
Input: {"name": "sales"}
Output: {"columns": {"amount": {"mean": 245.32, "std": 89.10, "min": 5.00, "max": 2500.00, "median": 210.50}, "region": {"unique": 4, "top_values": {"North": 4210, "South": 3890, ...}}}}フィルタ付きクエリ:
Tool: query_data
Input: {"name": "sales", "filter_expr": "amount > 500 and region == 'North'", "sort_by": "amount", "ascending": false, "limit": 10}
Output: {"rows": [...], "row_count": 10, "total_rows": 312}集計:
Tool: aggregate
Input: {"name": "sales", "group_by": ["region"], "metrics": {"amount": "sum", "quantity": "mean"}}
Output: {"rows": [{"region": "North", "amount": 1234567.89, "quantity": 12.3}, ...]}ピボットテーブル:
Tool: pivot_table
Input: {"name": "sales", "index": "region", "columns": "product", "values": "amount", "aggfunc": "sum"}
Output: {"pivot": {"North": {"Widget A": 50000, "Widget B": 32000}, "South": {"Widget A": 45000, ...}}}チャート用データの書き出し:
Tool: export_chart_data
Input: {"name": "sales", "x_column": "region", "y_columns": ["amount"], "chart_type": "bar"}
Output: {"chart_type": "bar", "labels": ["North", "South", "East", "West"], "datasets": [{"label": "amount", "data": [1234567, 987654, ...]}]}料金
プラン | 制限 | 価格 |
Free | 1日30回まで、クエリあたり最大500行 | $0 |
Pro | 無制限 + Excel/Parquetサポート + 複数ファイル結合 | $9/月 |
Enterprise | カスタム + 大規模ファイルのストリーミング + 定期レポート | お問い合わせ |
ライセンス
MIT
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/CSOAI-ORG/csv-analytics-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server