mcp-csv-sql-validator
Inspects PostgreSQL databases to verify table existence and list column structures for schema validation.
Inspects SQLite databases to verify table existence and list column structures for schema validation.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
mcp-csv-sql-validator
A lightweight MCP (Model Context Protocol) server built with Python that lets AI assistants (Claude Desktop, Cursor) validate CSV, Excel, and SQL database schemas before loading data.
Features
CSV & Excel Auditing: Detects empty files, missing/null values per column, and exact duplicate rows using Pandas.
SQL Schema Verification: Inspects SQLite and PostgreSQL databases via SQLAlchemy to confirm table existence and list column structures.
Ready-to-Test Dataset: Includes
sample_data.csvwith intentional errors so you can test validation right away.
Related MCP server: MCP Data Analyst Server
Quick Start
Clone the repository
git clone https://github.com cd mcp-csv-sql-validatorCreate a virtual environment and install dependencies
python -m venv venv venv\Scripts\activate pip install -r requirements.txtRun a quick test on the sample file
python -c "from validators import check_csv_or_excel; print(check_csv_or_excel('sample_data.csv'))"
Connect to Claude Desktop or Cursor
Add this configuration to your client's mcpServers JSON file:
{
"mcpServers": {
"csv-sql-validator": {
"command": "C:\\Users\\YOUR_USERNAME\\mcp-csv-sql-validator\\venv\\Scripts\\python.exe",
"args": ["C:\\Users\\YOUR_USERNAME\\mcp-csv-sql-validator\\server.py"]
}
}
}Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Agent verification tools: CSV quality, citation checks, AI-readiness audits, requirement extraction
File tools for your AI chat: PDF tables to Excel, merge PDFs, images to PDF, fill PDF forms.
Open, inspect, filter, edit and convert xlsx and csv files from your AI chat. Processing is local.
Open, inspect, filter, edit and convert xlsx and csv files from your AI chat. Processing is local.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables querying Excel and CSV files using SQL via natural language, allowing AI assistants to analyze data without manual SQL writing.1MIT
- AlicenseNot gradedqualityDmaintenanceTransforms AI assistants into data analysts by enabling CSV and Google Sheets import, SQL querying, and instant insights through natural language.MIT
- AlicenseBqualityNot gradedmaintenanceEnables AI assistants to read and edit Excel files and perform PostgreSQL queries, streamlining data analysis workflows.12ISC
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants to validate CSV exports against schemas, infer schemas from example files, profile datasets, and diff before/after exports for lab/LIMS data-quality checks.MIT