mcp-data-pipeline-connector
v1.0.1Universal data connector for CSV, Postgres, and REST APIs via DuckDB
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
connect_source
Register a data source (CSV file, Postgres database, or REST API). Credentials must be in environment variables or a YAML config file — never pass connection strings directly.
| Parameter | Type | Description |
|---|---|---|
name * | string | Unique name for this data source |
type * | string | Type of the data source |
path | string | File path for CSV/JSON sources |
source_config_path | string | Path to a YAML config file. If provided, all sources in the file are registered. |
url | string | Base URL for REST API sources |
list_sources
List all registered data sources and their connection status.
list_tables
List available tables across all sources, or just the named source.
| Parameter | Type | Description |
|---|---|---|
source | string | Optional: name of a specific source to list tables for |
get_schema
Return the column names and types for a specific table.
| Parameter | Type | Description |
|---|---|---|
source * | string | Name of the source that contains the table |
table * | string | Name of the table |
query
Execute a SQL query against a registered data source using DuckDB. Returns up to --max-rows rows (default 1000). In read-only mode (default), only SELECT statements are allowed. Use source='_all' to query across all CSV sources with cross-source joins. Supports limit and offset for pagination.
| Parameter | Type | Description |
|---|---|---|
sql * | string | The SQL query to execute |
limit | number | Maximum number of rows to return (pagination) |
max_rows | number | Override the default max row limit for this query |
offset | number | Number of rows to skip before returning results (pagination) |
source | string | Name of the source to query, or '_all' for cross-source joins. Required if multiple sources are registered. |
sources | array | Array of source names for cross-source queries (alternative to source='_all') |
transform
Apply aggregations, filters, renaming, or column selection to a source table and return or save results.
| Parameter | Type | Description |
|---|---|---|
operations * | array | List of transform operations to apply in order |
source * | string | Name of the data source to transform |
table * | string | Name of the table within the source to transform |
output_format | string | Output format (default: json) |
check_health
Check whether registered data sources are still reachable and responsive.
| Parameter | Type | Description |
|---|---|---|
source | string | Optional: name of a specific source to health-check |