About csv-tools-mcp
csv-tools-mcp is an MCP server for parsing, generating, and selecting data from CSV files. Its parser handles quoted fields, embedded delimiters, line endings, and leading BOMs.
Key features
- 01Parse CSV into headers and rows
- 02Generate CSV with correct quoting
- 03Select named columns
- 04Handle BOMs and line endings
Use cases
- 01Parse CSV with quoted commas
- 02Convert row data to CSV
- 03Reduce parsed data to selected columns
MCP support
Exposes CSV parsing, generation, and column-selection tools to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
3Saved tool list · updated 2w ago
| Parameter | Type | Required | Description |
|---|---|---|---|
| text | string | Yes | Raw CSV text. |
| delimiter | string | No | Single-char delimiter. |
| has_header | boolean | No |
Details
From the project README@mukundakatta/csv-tools-mcp
MCP server for reliable CSV parsing and generation. Three tools:
parse_csv(text, has_header?, delimiter?)— RFC 4180 parsing with proper handling of quoted fields, embedded commas, escaped double quotes (""), CRLF/LF, and a leading BOM. Returns headers + objects (or raw arrays).to_csv(rows, headers?, delimiter?)— serialize arrays-of-arrays or arrays-of-objects with correct quoting.pluck_columns(rows, columns)— reduce parsed rows to just the named columns.
Why this exists
LLMs ask for "the CSV parsed" and silently miss edge cases: a comma inside a quoted field, an escaped quote, a BOM that turns the first column header into name. Routing through this MCP server gives you state-machine-correct parsing instead of best-effort imagination.
Install — Claude Desktop
{
"mcpServers": {
"csv-tools": { "command": "npx", "args": ["-y", "@mukundakatta/csv-tools-mcp"] }
}
}
Same shape for Cursor / Cline / Windsurf / Zed.
License
MIT OR Apache-2.0.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.