# CSV profiler

Summarise each CSV column: type, blanks, distinct values, min, max, mean and top values.

- Endpoint: `POST https://setget.net/v1/tools/csv-profile` with JSON `{"input": {...}}`
- MCP: `run_tool` with `slug` = `csv-profile`
- Page: https://setget.net/tools/csv-profile

## Inputs

- `text` (required, string): The CSV to profile.
- `delimiter` (optional, string, one of `auto`, `comma`, `tab`, `semicolon`, `pipe`, default `"auto"`): Column separator. "auto" detects it from the first line.

## Example

```json
{"input":{"text":"city,temp\nOslo,4\nRome,18\nOslo,"}}
```

Result:

```json
{"rows":3,"columns":[{"name":"city","type":"text","blank":0,"distinct":2,"top":[["Oslo",2],["Rome",1]]},{"name":"temp","type":"number","blank":1,"distinct":2,"min":4,"max":18,"mean":11.0,"top":[["4",1],["18",1]]}]}
```
