Data Recon MCP Server
An MCP server for data reconciliation between MySQL and Snowflake, enabling LLM agents to validate data integrity during migrations and ETL processes.
README
Data Recon MCP Server
An MCP (Model Context Protocol) server for data reconciliation between MySQL and Snowflake databases. Enables LLM agents like Claude, Antigravity, and Perplexity to validate data integrity during migrations, ETL processes, and ongoing monitoring.
๐ Quick Start
Installation
pip install data-recon-mcp
Configuration
Add to your MCP client configuration:
For Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"data-recon": {
"command": "python3",
"args": ["-m", "mcp_server"]
}
}
}
For Antigravity (~/.gemini/antigravity/mcp_config.json):
{
"data-recon": {
"command": "python3",
"args": ["-m", "mcp_server"]
}
}
For Perplexity (MCP Settings):
{
"data-recon": {
"command": "python3",
"args": ["-m", "mcp_server"]
}
}
That's it! Restart your LLM client and start using the tools.
โจ Features
- All-in-One - Single command starts everything (MCP server + FastAPI backend)
- 23 MCP Tools for comprehensive data reconciliation
- MySQL and Snowflake support
- Async job execution with progress tracking
- SQLite metadata storage - datasource configs persist locally
๐ง Advanced Configuration
Using a Centralized Backend
For team environments where you want everyone to share the same datasources:
1. Start the centralized backend:
git clone https://github.com/hindocharaj1997/data-recon-mcp.git
cd data-recon-mcp
pip install -e .
uvicorn data_recon.main:app --host 0.0.0.0 --port 8000
2. Configure clients to use it:
{
"data-recon": {
"command": "python3",
"args": ["-m", "mcp_server"],
"env": {
"FASTAPI_URL": "http://your-server.company.com:8000"
}
}
}
Pre-configured Data Sources
Register data sources via environment variables:
{
"data-recon": {
"command": "python3",
"args": ["-m", "mcp_server"],
"env": {
"DATASOURCE_MYSQL_PROD": "{\"type\":\"mysql\",\"host\":\"localhost\",\"port\":3306,\"username\":\"user\",\"password\":\"pass\",\"database\":\"mydb\"}"
}
}
}
๐ MCP Tools
| Category | Tools | Description |
|---|---|---|
| Data Source Management | 7 | Add, list, test, remove datasources |
| Discovery & Validation | 7 | Search tables, validate existence, preview data |
| Individual Checks | 4 | Row count, aggregates, schema, sample rows |
| Job Management | 5 | Create/monitor reconciliation jobs |
Key Tools
add_datasource- Register a MySQL or Snowflake connectionsearch_tables- Find tables by patternrun_row_count_check- Compare row counts between source and targetrun_aggregate_check- Compare SUM, AVG, MIN, MAX valuescreate_recon_job- Run comprehensive reconciliation with all checks
๐๏ธ Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ LLM Client โ
โ (Claude, Antigravity, etc.) โ
โโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ MCP Protocol (stdio)
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ MCP Server โ
โ (python3 -m mcp_server) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Embedded FastAPI Backend (or external via FASTAPI_URL) โ
โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โ
โ โ SQLite โ โ MySQL โ โ Snowflake โ โ
โ โ (metadata) โ โ Connector โ โ Connector โ โ
โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐งช Development
# Clone and setup
git clone https://github.com/hindocharaj1997/data-recon-mcp.git
cd data-recon-mcp
pip install -e ".[dev]"
# Run tests
pytest
# Start local MySQL for testing
docker compose -f tests/docker-compose.yml up -d
๐ License
MIT
๐ค Contributing
Contributions welcome! Please open an issue first to discuss proposed changes.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.