CSV File Tools
Inspect, filter, sort and edit CSV text with four free tools. No account or API key required.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"csv-file-tools": {
"url": "https://csvfile.tools/api/csv/mcp"
}
}
}Puntos de conexión remotos
https://csvfile.tools/api/csv/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (4)
🟢inspect_csv(csv, delimiter, previewRows)
Return record, maximum column and cell counts with up to 20 preview records. Preserve ragged and empty records; never infer types or a delimiter.
Esquema de entrada
{
"type": "object",
"properties": {
"csv": {
"type": "string",
"maxLength": 262144,
"description": "Complete UTF-8 CSV text, up to 256 KiB. All cells remain strings; formulas are never evaluated."
},
"delimiter": {
"default": ",",
"description": "Explicit delimiter; no delimiter inference.",
"type": "string",
"enum": [
",",
"\t",
";",
"|"
]
},
"previewRows": {
"default": 20,
"type": "integer",
"minimum": 0,
"maximum": 20
}
},
"required": [
"csv"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢filter_csv_rows(csv, delimiter, column, value, hasHeader)
Keep data records whose explicit zero-based column equals an exact string. Header defaults to preserved. Reject missing target columns; preserve empty and ragged records otherwise.
Esquema de entrada
{
"type": "object",
"properties": {
"csv": {
"type": "string",
"maxLength": 262144,
"description": "Complete UTF-8 CSV text, up to 256 KiB. All cells remain strings; formulas are never evaluated."
},
"delimiter": {
"default": ",",
"description": "Explicit delimiter; no delimiter inference.",
"type": "string",
"enum": [
",",
"\t",
";",
"|"
]
},
"column": {
"type": "integer",
"minimum": 0,
"maximum": 199,
"description": "Zero-based column index. Every data record must contain this column."
},
"value": {
"type": "string",
"maxLength": 262144
},
"hasHeader": {
"default": true,
"description": "Preserve the first record as a header.",
"type": "boolean"
}
},
"required": [
"csv",
"column",
"value"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢sort_csv_rows(csv, delimiter, column, direction, hasHeader)
Stably sort data records by an explicit zero-based column using literal code-unit string order, asc or desc. Header defaults to preserved. No numeric, date or locale inference. Reject missing target columns.
Esquema de entrada
{
"type": "object",
"properties": {
"csv": {
"type": "string",
"maxLength": 262144,
"description": "Complete UTF-8 CSV text, up to 256 KiB. All cells remain strings; formulas are never evaluated."
},
"delimiter": {
"default": ",",
"description": "Explicit delimiter; no delimiter inference.",
"type": "string",
"enum": [
",",
"\t",
";",
"|"
]
},
"column": {
"type": "integer",
"minimum": 0,
"maximum": 199,
"description": "Zero-based column index. Every data record must contain this column."
},
"direction": {
"default": "asc",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"hasHeader": {
"default": true,
"description": "Preserve the first record as a header.",
"type": "boolean"
}
},
"required": [
"csv",
"column"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}🟢edit_csv_cells(csv, delimiter, edits)
Apply up to 1,000 explicit edits to existing cells only. Zero-based row indices include the header. Duplicate coordinates apply in input order. Return complete CSV with literal string values; never evaluate formulas.
Esquema de entrada
{
"type": "object",
"properties": {
"csv": {
"type": "string",
"maxLength": 262144,
"description": "Complete UTF-8 CSV text, up to 256 KiB. All cells remain strings; formulas are never evaluated."
},
"delimiter": {
"default": ",",
"description": "Explicit delimiter; no delimiter inference.",
"type": "string",
"enum": [
",",
"\t",
";",
"|"
]
},
"edits": {
"maxItems": 1000,
"type": "array",
"items": {
"type": "object",
"properties": {
"row": {
"type": "integer",
"minimum": 0,
"maximum": 49999
},
"column": {
"type": "integer",
"minimum": 0,
"maximum": 199,
"description": "Zero-based column index. Every data record must contain this column."
},
"value": {
"type": "string",
"maxLength": 262144
}
},
"required": [
"row",
"column",
"value"
],
"additionalProperties": false
}
}
},
"required": [
"csv",
"edits"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}Comunidad
Evidencia