Vertica MCP Server is an MCP server that provides AI assistants with read-only database query execution and schema discovery for Vertica analytics environments. Built for data analysts, analytics engineers, and developers, it enables large language models like Claude to inspect columnar tables, inspect schema definitions, and execute SQL statements safely using natural language. The server connects directly to Vertica clusters using persistent connection handling and parameter binding to protect against SQL injection. Safety is enforced by default through a read-only execution layer that restricts operations to queries such as SELECT, SHOW, DESCRIBE, and EXPLAIN, though write permissions can be manually enabled if needed. Vertica MCP Server supports projection exploration to help users understand performance characteristics, along with streaming tools configured to batch up to one million rows for data extraction. It also integrates node redirect logic to transparently balance connection loads across Vertica cluster members.
Category: Data & Analytics
Tags: analytics, data-warehouse, SQL, vertica
claude_desktop_config.json) or Cursor's ~/.cursor/mcp.json under mcpServers: json { "mcpServers": { "vertica-mcp": { "command": "npx", "args": [ "@hechtcarmel/vertica-mcp", "--env-file", "/path/to/your/.env" ] } } } 4. Alternatively, register directly via Claude Code CLI by running claude mcp add vertica --scope user -- npx -y @hechtcarmel/vertica-mcp@latest --env-file /path/to/your/.env. 5. Restart your MCP client to initialize the server connection.Part of MCP Servers
You can run Vertica MCP Server using npx with the package @hechtcarmel/vertica-mcp. Supply connection parameters via an environment file referencing your Vertica host, database, and user credentials, then register the command in your Claude Desktop or Cursor configuration file.
It provides six distinct tools for executing SQL queries, streaming batch results up to one million rows, and discovering schema structures. Assistants can list tables, retrieve view definitions, inspect table constraints, and analyze projections for query performance tuning.
The server works with any client supporting the Model Context Protocol over stdio. Documented configurations include Claude Desktop, Cursor, and the Claude Code command-line interface, provided Node.js 18 or later is installed.
Yes, safety-first read-only protection is enabled by default. It restricts queries to SELECT, SHOW, DESCRIBE, EXPLAIN, and WITH statements. Modifying operations like INSERT, UPDATE, or DROP require explicitly setting VERTICA_READONLY_MODE to false.
Yes, Vertica MCP Server is open source and distributed under the MIT License on GitHub. You can freely inspect the code, customize connection parameters, or contribute improvements to the repository.