SQL Parser AST Engine MCP Connector for Claude
A+Parse any SQL query into a structured AST — extract tables, columns, JOINs, and WHERE clauses programmatically. Supports 15+ dialects including MySQL, PostgreSQL, and BigQuery. Your SQL injection firewall.
A security agent receives a SQL query from user input. Is it safe? Does it access unauthorized tables? Is there a DROP TABLE hiding inside a subquery? An AI scanning the text will miss edge cases that a real parser catches.
This MCP parses SQL into a complete Abstract Syntax Tree — every table, column, JOIN, WHERE clause, subquery, and function call becomes a structured, inspectable object. Then it can rebuild valid SQL from the AST.
The Superpowers
- SQL Injection Detection: Decompose any query to inspect for unauthorized operations, table access, and injection patterns.
- 15+ Dialects: MySQL, PostgreSQL, MariaDB, SQLite, BigQuery, Snowflake, Hive, TransactSQL, and more.
- Bidirectional: Parse SQL→AST and rebuild AST→SQL with full fidelity.
- Table & Column Extraction: List every table and column referenced in a query — essential for data governance.
Related Connectors
GraphQL Schema Breaking Change Detector MCP
Identify breaking changes in GraphQL schemas by comparing SDL strings.
Clearscope MCP
Optimize content via Clearscope — create SEO reports, grade drafts using NLP, perform keyword research, and audit SERP competitors directly from any AI agent.
Migration Strategy Prover MCP
An AI recommended a big-bang database migration over the weekend. No dependency map — 7 services read from that database. No rollback plan — 'just restore from backup.' No data validation — 2.3 million records with timezone-dependent timestamps. The migration ran Saturday at 2 AM. By 4 AM, 3 downstream services were returning stale data, the backup was 6 hours old, and 14,000 customer records had corrupted timestamps. Monday morning: 72-hour incident. This tool forces risk assessment, rollback definition, data integrity verification, cutover planning, and stakeholder alignment.
TOML Strict Config Parser MCP
A deterministic, dependency-free parser that transforms TOML strings into structured JSON objects.