Structurize-MCP

by pcliu

Not rated
GitHub

About

Generates structured CSV files from natural language descriptions using Google Gemini AI.

Details

Author
pcliu
Categories
Developer Tools, Other, AI

Setup

Install Structurize-MCP in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/pcliu/structurize-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

Structurize-MCP 是一个基于 Model Context Protocol 的服务,可以根据自然语言描述生成结构化的 CSV 文件。它使用 Google Gemini AI 来解析和生成数据。

- 根据自然语言描述生成 CSV 文件
- 自动提取列结构和数据内容
- 生成描述性的文件名
- 支持自定义分隔符
- 当 Gemini API 调用失败时,有本地解析方法作为后备

npx structurize-mcp --gemini-api-key YOUR_GEMINI_API_KEY
git clone https://github.com/your-username/structurize-mcp.git cd structurize-mcp npm install npm run build

- --gemini-api-key,-k: Google Gemini API Key(必需)
- --csv-dir,-d: CSV 文件保存目录(可选,默认为项目下的 csv 目录)
- --help,-h: 显示帮助信息

# 通过 npx 运行 npx structurize-mcp --gemini-api-key YOUR_GEMINI_API_KEY --csv-dir /path/to/save/csv # 如果全局安装过 structurize-mcp --gemini-api-key YOUR_GEMINI_API_KEY --csv-dir /path/to/save/csv # 从源码目录运行 node ./bin/structurize.js --gemini-api-key YOUR_GEMINI_API_KEY --csv-dir /path/to/save/csv

要在 Claude Desktop 中使用此 MCP 服务器,你需要在 Claude Desktop 的配置文件中添加以下内容:

{ "mcpServers": { "csv-generator": { "command": "npx", "args": [ "structurize-mcp", "--gemini-api-key", "YOUR_GEMINI_API_KEY_HERE", "--csv-dir", "/absolute/path/to/csv_output_directory" ] } } }
{ "mcpServers": { "csv-generator": { "command": "node", "args": [ "/absolute/path/to/structurize-mcp/build/index.js", "--gemini-api-key", "YOUR_GEMINI_API_KEY_HERE", "--csv-dir", "/absolute/path/to/csv_output_directory" ] } } }

- YOUR_GEMINI_API_KEY_HERE: 你的 Google Gemini API Key
- /absolute/path/to/csv_output_directory: CSV 文件保存目录的绝对路径

配置完成后,重启 Claude Desktop,然后你就可以要求 Claude 生成 CSV 文件了。

# 使用自定义 API Key 和保存目录 npx structurize-mcp --gemini-api-key YOUR_GEMINI_API_KEY --csv-dir ~/Documents/csv_files # 只自定义 API Key,使用默认保存目录 npx structurize-mcp --gemini-api-key YOUR_GEMINI_API_KEY # 只自定义保存目录(但需要确保 API Key 以其他方式提供) npx structurize-mcp --csv-dir /data/csv_exports

- 访问Google AI Studio
- 登录您的 Google 账户
- 转到
API Keys页面
- 创建一个新的 API Key

- 默认情况下,CSV 文件存储在项目根目录下的csv文件夹中
- 可以通过--csv-dir参数指定自定义存储路径
- 生成的文件名基于 CSV 内容(标题、列名和数据)自动生成,并附加时间戳以确保唯一性

- 根据自然语言描述自动生成 CSV 文件
- 智能解析列结构和数据内容
- 生成描述性文件名
- 支持自定义分隔符

This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.

Perform advanced CSV analysis and generate insights using Google's Gemini AI. Requires Gemini and Plotly API keys.

Query and analyze your Opik logs, traces, prompts and all other telemtry data from your LLMs in natural language.

Get access to Kaggle's datasets, models, competitions, notebook and benchmarks.

Interact with your MLOps and LLMOps pipelines through your ZenML MCP server

WorkPaper MCP server for editing formula workbooks, recalculating cells, and persisting JSON-backed workbook state.

AI-powered document extraction infrastructure. Convert PDFs, Excel files, and scanned documents into structured JSON.

Integrate Claude AI with Google Apps Script to automate tasks in Google Sheets and Gmail.

An MCP server for interacting with Dappier's Retrieval-Augmented Generation (RAG) models.

Solve optimization problems formulated by an LLM using the on-device Gurobi solver.

An MCP server for Hierarchical Event Descriptors (HED) that automates sidecar creation and annotation for BIDS event files using LLMs.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.