Data Processing
Advanced data interpolation tool that fills missing values and generates data points using various mathematical methods. Perfect for time series analysis, data completion, signal processing, and scientific computing. Features: - Multiple interpolation methods (linear, polynomial, spline, cubic) - Time series interpolation with date/time support - Forward fill and backward fill options - Nearest neighbor interpolation - Custom interpolation parameters - Missing value detection and reporting - Data point generation and densification - Support for multiple columns simultaneously - Interactive interpolation preview Common Use Cases: - Sensor data gap filling - Financial data completion - Scientific experiment data processing - Time series forecasting preparation - Image and signal processing - Statistical data imputation
Call this tool from your code in three languages.
curl -X POST 'https://api.elysiatools.com/en/api/tools/data-interpolator' \
-H 'Content-Type: application/json' \
-d '{"inputData":"date,temperature,humidity,pressure\n2024-01-01,25.5,60,1013.25\n2024-01-02,,65,1015.32\n2024-01-03,26.1,,1012.78\n2024-01-04,24.8,62,\n2024-01-05,25.2,61,1014.56","targetColumns":"temperature, humidity, pressure\n\nLeave empty to auto-detect numeric columns","indexColumn":"date or time","interpolationMethod":"linear","polynomialDegree":2,"extrapolationMethod":"none","maxGapSize":5,"fillDirection":"both","customValue":"0","preserveOriginal":false,"markInterpolated":true,"generateReport":true,"dateFormat":"YYYY-MM-DD","decimalPlaces":2}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST https://api.elysiatools.com/en/api/tools/data-interpolator| Name | Type | Required | Description |
|---|---|---|---|
| inputData | textarea | Yes | — |
| targetColumns | textarea | No | — |
| indexColumn | text | No | Column to use as index for ordered interpolation (e.g., date, time, sequence) |
| interpolationMethod | select | No | — |
| polynomialDegree | number | No | Degree for polynomial interpolation (used when method is polynomial) |
| extrapolationMethod | select | No | — |
| maxGapSize | number | No | Maximum number of consecutive missing values to interpolate |
| fillDirection | select | No | — |
| customValue | text | No | Value to use when interpolation method is "custom" |
| preserveOriginal | checkbox | No | Keep original columns with "_original" suffix |
| markInterpolated | checkbox | No | Add columns to flag interpolated values |
| generateReport | checkbox | No | Include detailed interpolation analysis report |
| dateFormat | text | No | Format for date output (e.g., YYYY-MM-DD, MM/DD/YYYY) |
| decimalPlaces | number | No | Number of decimal places for numeric values |
Text result
{
"result": "Processed text content",
"error": "Error message (optional)",
"message": "Notification message (optional)",
"metadata": {
"key": "value"
}
}Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-data-interpolator": {
"name": "data-interpolator",
"description": "Advanced data interpolation tool that fills missing values and generates data points using various mathematical methods. Perfect for time series analysis, data completion, signal processing, and scientific computing.\n\nFeatures:\n- Multiple interpolation methods (linear, polynomial, spline, cubic)\n- Time series interpolation with date/time support\n- Forward fill and backward fill options\n- Nearest neighbor interpolation\n- Custom interpolation parameters\n- Missing value detection and reporting\n- Data point generation and densification\n- Support for multiple columns simultaneously\n- Interactive interpolation preview\n\nCommon Use Cases:\n- Sensor data gap filling\n- Financial data completion\n- Scientific experiment data processing\n- Time series forecasting preparation\n- Image and signal processing\n- Statistical data imputation",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=data-interpolator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "data-interpolator",
"arguments": {
"inputData": "date,temperature,humidity,pressure\n2024-01-01,25.5,60,1013.25\n2024-01-02,,65,1015.32\n2024-01-03,26.1,,1012.78\n2024-01-04,24.8,62,\n2024-01-05,25.2,61,1014.56",
"targetColumns": "temperature, humidity, pressure\n\nLeave empty to auto-detect numeric columns",
"indexColumn": "date or time",
"interpolationMethod": "linear",
"polynomialDegree": 2,
"extrapolationMethod": "none",
"maxGapSize": 5,
"fillDirection": "both",
"customValue": "0",
"preserveOriginal": false,
"markInterpolated": true,
"generateReport": true,
"dateFormat": "YYYY-MM-DD",
"decimalPlaces": 2
}
}
}Questions or issues? Contact [email protected]