Papaparse Mcp Server
Pricing
$5.00 / 1,000 results
Go to Apify Store
Pricing
$5.00 / 1,000 results
Rating
0.0
(0)
Developer

Mohammed Rahil
Maintained by Community
Actor stats
0
Bookmarked
3
Total users
2
Monthly active users
7 days ago
Last modified
Categories
Share
π Papa Parse MCP Server
Cloud-hosted CSV processing service powered by Papa Parse. Parse, validate, and convert CSV data via simple API calls.
π Features
- β Parse CSV - Convert CSV to JSON with intelligent type detection
- β Unparse JSON - Convert JSON arrays to CSV format
- β Validate CSV - Check CSV structure, find errors, detect issues
- β URL Support - Fetch and process CSV files from URLs
- β Smart Parsing - Auto-detects delimiters, handles quotes, trims whitespace
- β Error Handling - Detailed error reporting with line numbers
π Use Cases
- Data Import/Export - Convert between CSV and JSON formats
- Data Validation - Validate CSV files before processing
- ETL Workflows - Integrate into n8n, Zapier, Make.com
- AI Agents - Enable Claude/GPT to process CSV data
- Batch Processing - Handle large CSV files in the cloud
π― Quick Start
Operation 1: Parse CSV
Input:
{"operation": "parse","csvData": "name,age,city\nJohn,30,NYC\nJane,25,LA","options": {"header": true,"dynamicTyping": true}}
Output:
{"success": true,"operation": "parse","data": [{"name": "John", "age": 30, "city": "NYC"},{"name": "Jane", "age": 25, "city": "LA"}],"rowCount": 2,"columnCount": 3}
Operation 2: Parse from URL
Input:
{"operation": "parse","csvData": "https://example.com/data.csv"}
Operation 3: Convert JSON to CSV
Input:
{"operation": "unparse","jsonData": [{"product": "Laptop", "price": 999, "stock": 50},{"product": "Mouse", "price": 29, "stock": 200}]}
Output:
{"success": true,"operation": "unparse","csv": "product,price,stock\nLaptop,999,50\nMouse,29,200","rowCount": 2}
Operation 4: Validate CSV
Input:
{"operation": "validate","csvData": "name,age,city\nJohn,30,NYC\n,25,LA\nBob,invalid,Chicago"}
Output:
{"success": true,"operation": "validate","isValid": false,"validations": {"hasData": true,"hasHeaders": true,"hasErrors": false,"isConsistent": true,"emptyFields": {"name": [1]},"duplicateHeaders": []}}
βοΈ Configuration Options
All standard Papa Parse options are supported:
| Option | Type | Default | Description |
|---|---|---|---|
header | boolean | true | First row contains headers |
dynamicTyping | boolean | true | Auto-convert numbers/booleans |
skipEmptyLines | boolean | true | Skip blank lines |
delimiter | string | "" | Auto-detect delimiter |
newline | string | "" | Auto-detect line breaks |
quoteChar | string | " | Quote character |
escapeChar | string | " | Escape character |
comments | string/boolean | false | Comment character |
trimHeaders | boolean | true | Remove whitespace from headers |
π Integration Examples
Using with n8n
- Add HTTP Request node
- Set URL:
https://api.apify.com/v2/acts/YOUR_ACTOR_ID/runs - Method:
POST - Body: Your input JSON
- Headers:
Authorization: Bearer YOUR_API_TOKEN
Using with Zapier
- Add Webhooks by Zapier action
- Choose POST
- URL:
https://api.apify.com/v2/acts/YOUR_ACTOR_ID/run-sync-get-dataset-items - Add your input as JSON
Using with Python
import requestsresponse = requests.post('https://api.apify.com/v2/acts/YOUR_ACTOR_ID/run-sync-get-dataset-items',json={'operation': 'parse','csvData': 'name,age\nJohn,30\nJane,25'},params={'token': 'YOUR_API_TOKEN'})data = response.json()print(data)
Using with JavaScript
const response = await fetch('https://api.apify.com/v2/acts/YOUR_ACTOR_ID/run-sync-get-dataset-items?token=YOUR_TOKEN',{method: 'POST',headers: {'Content-Type': 'application/json'},body: JSON.stringify({operation: 'parse',csvData: 'name,age\nJohn,30\nJane,25'})});const data = await response.json();console.log(data);
π Error Handling
The actor provides detailed error information:
{"success": true,"errors": [{"type": "Quotes","code": "MissingQuotes","message": "Quoted field unterminated","row": 5}]}
π Performance
- Handles files up to 100MB
- Processes ~10,000 rows/second
- Automatic chunking for large files
- Memory-efficient streaming
π Security
- No data is stored permanently
- All processing happens in isolated containers
- Supports HTTPS-only CSV URLs
- API token authentication required
π‘ Tips
- Large Files: Use URL input instead of pasting large CSV content
- Custom Delimiters: Set
delimiter: ";"for semicolon-separated values - Headers: Set
header: falseif your CSV has no header row - Type Conversion: Disable
dynamicTypingto keep all fields as strings - Validation: Always validate before parsing production data
π Changelog
v1.0.0 (2024)
- Initial release
- Parse, unparse, validate operations
- URL fetching support
- Comprehensive error reporting
π Support
- Documentation: Papa Parse Docs
- Issues: Report on GitHub
- Questions: support@apify.com
π License
MIT License - Use freely in commercial projects
Built with β€οΈ using Papa Parse and Apify