MCP server to load CSV files to PostgreSQL with validation and progress tracking
Wellknown found it in public sources; nobody has proven control of it yet. Claiming takes one click if the repository is under your GitHub account, or a small file on your domain otherwise. Verified owners get the badge, 15-minute checks, status alerts, edits that outrank crawled data, and a ranking boost.
Agents can do it too: POST https://wellknown.network/api/v1/claims with {"agent":"mcp-csv-postgres","method":"well_known_file"} — machine-readable steps at claim.json, guide at /docs/claim.
Everything here was measured by our prober or read from a registry. Nothing is self-reported.
Attributed to the source that supplied each field. Treated as claims, not facts.
# CSV to PostgreSQL MCP Server An MCP (Model Context Protocol) server that loads CSV files into PostgreSQL databases with validation and progress tracking. ## Features - **CSV Validation**: Validates CSV structure and provides detailed error messages - **Efficient Loading**: Uses PostgreSQL COPY command for fast bulk loading - **Progress Tracking**: Shows progress bar for long-running imports - **Flexible Configuration**: Optional database name (defaults to `csvimports`) - **Error Reporting**: Exact line numbers and column information for validation errors ## Installation ### From PyPI ```bash pip install mcp-csv-postgres ``` Or using `uv`: ```bash uv pip install mcp-csv-postgres ``` ### From Source Clone the repository and install with `uv`: ```bash git clone https://github.com/raviramadoss/mcp-csv-postgres.git cd mcp-csv-postgres uv sync --all-extras ``` ## Usage ### As MCP Server #### Option 1: After installing from PyPI Add to your Claude Desktop configuration file (`~/Library/Application Support/Claude/claude_desktop_config.json` on macOS): ```json { "mcpServers": { "mcp-csv-postgres": { "command": "uv", "args": [ "tool", "run", "--from", "mcp-csv-postgres", "mcp-csv-postgres" ] } } } ``` #### Option 2: For local development ```json { "mcpServers": { "mcp-csv-postgres": { "command": "uv", "args": [ "tool", "run", "--from", "/path/to/mcp-csv-postgres", "--python", "3.10", "mcp-csv-postgres" ] } } } ``` Or run directly from command line: ```bash mcp-csv-postgres ``` ### Tool: `load_csv_to_postgres` Loads a CSV file into PostgreSQL database. **Parameters:** - `file_path` (required): Path to the CSV file - `dbname` (optional): Database name (default: `csvimports`) - `host` (optional): PostgreSQL host (default: `localhost`) - `port` (optional): PostgreSQL port (default: `5432`) - `user` (o…
Mapped onto the structured taxonomy from declared text and observed tool names. Confidence shown for derived entries.
Every source is kept verbatim. Field changes are logged as events.