node-sql-parser Connector for AI agents.
1 live capability
Build database security firewalls and automate data governance audits.
Waiting for input…
Why people use node-sql-parser
SQL Parser AST Engine for Database Security Audits
This Connector changes that by letting your agent decompose every query into a structured tree. Instead of reading text, your agent sees a map of tables and joins. You get a reliable way to block bad queries instantly.
What Vinkius changes
That you turn unpredictable SQL text into predictable, programmable data.
Use it from Claude, ChatGPT, Cursor or another AI client you already have.
One account · 6,100+ Connectors
- Real-world use case 01
Blocking Malicious Queries
A user submits a query through a web form.
- Real-world use case 02
Generating Data Dictionaries
You need to document a complex Snowflake setup.
- Real-world use case 03
Migration Validation
A developer wants to run a PostgreSQL migration.
Complete set · 1capability
The complete node-sql-parser capability set.
These are the exact actions your AI can choose when you ask it to work with node-sql-parser.
01
1 capability in this set.
Part of 1 available through node-sql-parser.
- 01 Capability
Parse sql
Converts a SQL query into a structured AST to extract tables, columns, and clauses. This lets your agent understand the query structure without actually running it on a database.
Set up in minutes
One URL. Then ask node-sql-parser to work.
Claude and ChatGPT only need the Connector URL. Copy it once, add it in settings, and use node-sql-parser from the conversation.
Choose your client
Live previewAdvanced clients IDE · CLI
Claude · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_IaMB6VbtA33IOGoYDwunOjWljHqHTke8wZBDmmAY/mcp - Step 01
Open Connectors
In Claude Web or Claude Desktop, open Settings and choose Connectors.
- Step 02
Add the URL
Choose Add custom connector, name it node-sql-parser, and paste the URL above.
- Step 03
Turn it on in chat
Select +, open Connectors, and enable node-sql-parser for the conversation.
ChatGPT · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_IaMB6VbtA33IOGoYDwunOjWljHqHTke8wZBDmmAY/mcp - Step 01
Open MCP settings
On desktop, open Settings and MCP servers. On web, open your workspace app or connector settings.
- Step 02
Add the URL
Choose Add server with Streamable HTTP, or create a custom MCP app, then paste the node-sql-parser URL.
- Step 03
Save and start
Save the connection and enable node-sql-parser in your conversation. Desktop may ask you to restart once.
Cursor · IDE configuration
Advanced setup
{
"mcpServers": {
"sql-parser-ast-engine": {
"url": "https://edge.vinkius.com/vk_preview_IaMB6VbtA33IOGoYDwunOjWljHqHTke8wZBDmmAY/mcp"
}
}
} - Step 01
Open MCP Settings
Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) → search "MCP Settings"
- Step 02
Add the server config
Paste the JSON configuration above into the mcp.json file that opens
- Step 03
Save the file
Cursor will automatically detect the new Connector
- Step 04
Start using node-sql-parser
Open Agent mode in chat and ask: "Using node-sql-parser, help me...". 1 tools available
VS Code Copilot · IDE configuration
Advanced setup
{
"mcpServers": {
"sql-parser-ast-engine": {
"url": "https://edge.vinkius.com/vk_preview_IaMB6VbtA33IOGoYDwunOjWljHqHTke8wZBDmmAY/mcp"
}
}
} - Step 01
Create MCP config
Create a .vscode/mcp.json file in your project root
- Step 02
Add the server config
Paste the JSON configuration above
- Step 03
Enable Agent mode
Open GitHub Copilot Chat and switch to Agent mode using the dropdown
- Step 04
Start using node-sql-parser
Ask Copilot: "Using node-sql-parser, help me...". 1 tools available
Windsurf · IDE configuration
Advanced setup
{
"mcpServers": {
"sql-parser-ast-engine": {
"url": "https://edge.vinkius.com/vk_preview_IaMB6VbtA33IOGoYDwunOjWljHqHTke8wZBDmmAY/mcp"
}
}
} - Step 01
Open MCP Settings
Go to Settings → MCP Configuration or press Cmd+Shift+P and search "MCP"
- Step 02
Add the server
Paste the JSON configuration above into mcp_config.json
- Step 03
Save and reload
Windsurf will detect the new server automatically
- Step 04
Start using node-sql-parser
Open Cascade and ask: "Using node-sql-parser, help me...". 1 tools available
Cline · IDE configuration
Advanced setup
{
"mcpServers": {
"sql-parser-ast-engine": {
"url": "https://edge.vinkius.com/vk_preview_IaMB6VbtA33IOGoYDwunOjWljHqHTke8wZBDmmAY/mcp"
}
}
} - Step 01
Open Cline MCP Settings
Click the Connectors icon in the Cline sidebar panel
- Step 02
Add remote server
Click "Add Connector" and paste the configuration above
- Step 03
Enable the server
Toggle the server switch to ON
- Step 04
Start using node-sql-parser
Ask Cline: "Using node-sql-parser, help me...". 1 tools available
Claude Code · Terminal command
Advanced setup
claude mcp add sql-parser-ast-engine --transport http "https://edge.vinkius.com/vk_preview_IaMB6VbtA33IOGoYDwunOjWljHqHTke8wZBDmmAY/mcp" - Step 01
Install Claude Code
Run npm install -g @anthropic-ai/claude-code if not already installed
- Step 02
Add the Connector
Run the command above in your terminal
- Step 03
Verify the connection
Run claude mcp to list connected servers, or type /mcp inside a session
- Step 04
Start using node-sql-parser
Ask Claude: "Using node-sql-parser, show me...". 1 tools are ready
Where the request belongs
Work node-sql-parser can move forward.
This is for the security engineer tired of manual SQL audits and the data architect who needs to enforce governance across multiple cloud warehouses.
Security Engineer
Auditing user-submitted queries for injection risks on a Tuesday afternoon.
Data Governance Lead
Mapping out data lineage across different SQL dialects to ensure compliance.
DevOps Engineer
Validating migration scripts for syntax errors before they hit production.
Build the capability set
Add more capabilities.
Each Connector adds new actions and data without changing how you work.
Browse ConnectorsSQL Syntax Validator
Audit SQL queries for syntax errors before executing them. Prevent DB crashes and deadlocks with local AST parsing.
SQL Static Query Analyzer
Perform deterministic static analysis on SQL query strings to detect inefficient, destructive, or insecure patterns.
SQL Query Complexity Analyzer
Analyze SQL query complexity, join structures, and safety risks.
Database Migration Safety Analyzer
Detect destructive SQL and ORM migration patterns to prevent production data loss.
SQL Migration Safety Analyzer
Validate SQL migrations for structural risks, rollback integrity, and unbounded deletions.
ClickHouse
Query and manage ClickHouse databases. execute analytical SQL, monitor replication status, and manage schemas directly from your AI agent.
Bring your own AI
Change the model, client or framework. Keep node-sql-parser connected.
-
Claude -
ChatGPT -
Gemini -
Cursor -
VS Code -
Windsurf -
ZCode -
Cline -
Zed -
Continue -
Kiro -
Roo Code -
Zencoder -
Goose -
Void -
Augment Code -
Amp -
Qodo -
Tabnine -
Pieces -
Sourcegraph Cody -
JetBrains -
Warp -
Amazon Q -
Antigravity -
BoltAI -
Raycast -
Jan -
LM Studio -
AnythingLLM -
Open WebUI -
Msty -
Cherry Studio -
LibreChat -
TypingMind -
Chorus -
5ire -
n8n -
LangChain -
LlamaIndex -
CrewAI -
Vercel AI SDK
Before you connect
Questions about node-sql-parser.
The practical details behind the request, access and result.
Can the SQL Parser AST Engine handle my specific database dialect?
Yes, it supports over 15 dialects including MySQL, PostgreSQL, BigQuery, and Snowflake. You can parse queries from almost any major cloud or on-premise database.
How does this Connector help with SQL injection?
It breaks the SQL query into a structured tree so your agent can see exactly what the query is trying to do. You can then set rules to block any query that touches forbidden tables or uses dangerous commands.
Does this capability actually run the queries on my database?
No, it never executes the SQL. It only parses the text into a structured object, which makes it safe for analyzing untrusted user input without risking your data.
Can I use this to rebuild SQL queries?
Yes, the Connector is bidirectional. It can take a structured AST and turn it back into a valid SQL string with full fidelity.
Is this useful for data governance?
It's perfect for that. You can use it to automatically extract every table and column referenced in your logs or queries to build a complete map of your data usage.
Does it support complex queries with many joins?
Yes, it handles complex queries, nested subqueries, and multiple joins by breaking them down into a complete Abstract Syntax Tree.
Can this detect SQL injection attempts?
Yes. Parse the query into AST and inspect the node types. If user input resulted in unexpected DROP, DELETE, UNION, or subquery nodes, the injection is exposed structurally. no regex guessing.
Which SQL dialects are supported?
15+: MySQL, PostgreSQL, MariaDB, SQLite, BigQuery, Snowflake, Hive, TransactSQL, FLINKSQL, FlinkSQL, PostgresQL, and more.
Can I rebuild SQL from the AST?
Yes. Parse SQL→AST, modify the AST programmatically (add WHERE clauses, change table names), and rebuild valid SQL. Full round-trip support.
One connection away
Give your agent a direct line to node-sql-parser.
Connect node-sql-parser once. Keep it beside 6,100+ managed Connectors when the next task needs more.
Explore every Connector No credit card required · Free tier available