{"ok":true,"result":{"slug":"csv-viewer","name":"CSV Viewer","summary":"Parse CSV into headers and rows (padded to the same width), optionally filtered by a search term and sorted by a column. Numbers and dates sort naturally.","description":"View CSV files as a clean, sortable table in your browser. Click headers to sort, filter rows by any text and export the result. Nothing is uploaded.","method":"POST","endpoint":"/api/v1/tools/csv-viewer","plan":"free","mcpName":"csv_viewer","input":{"type":"object","additionalProperties":false,"properties":{"input":{"type":"string","description":"The CSV text.","maxLength":200000},"delimiter":{"type":"string","description":"Delimiter: \"auto\" to detect, or a single character.","default":"auto","maxLength":4},"header":{"type":"boolean","description":"Use the first row as column headings.","default":true},"filter":{"type":"string","description":"Keep only rows where some cell contains this text (case-insensitive).","default":"","maxLength":500},"sortColumn":{"type":"integer","description":"1-based column number to sort by. Omit to keep file order.","minimum":1,"maximum":10000},"sortDirection":{"type":"string","description":"Sort direction when sortColumn is set.","default":"asc","enum":["asc","desc"],"maxLength":200000},"limit":{"type":"integer","description":"Maximum rows to return (1 to 1000).","default":100,"minimum":1,"maximum":1000}},"required":["input"]},"example":{"input":"city,population\nLeeds,812000\nYork,202800\nBristol,472400","sortColumn":2,"sortDirection":"desc"},"randomOutput":false,"network":false,"docs":"https://pithlab.com/developers/tools/csv-viewer","page":"https://pithlab.com/tools/csv-viewer"}}