Back to Home
consigcody94 icon

sql-whisperer

Verified Safe

by consigcody94

Overview

Provides a multi-database server for natural language to SQL translation, deep schema introspection, and query optimization via the Model Context Protocol (MCP).

Installation

Run Command
sql-whisperer

Environment Variables

  • DB_TYPE
  • DB_CONNECTION_STRING
  • DB_HOST
  • DB_PORT
  • DB_NAME
  • DB_USER
  • DB_PASSWORD
  • DB_SSL
  • DB_FILENAME
  • DB_POOL_MIN
  • DB_POOL_MAX
  • DB_IDLE_TIMEOUT
  • DB_CONNECTION_TIMEOUT

Security Notes

The server employs robust query validation, explicitly checking for dangerous operations (e.g., DROP TABLE, TRUNCATE, DELETE without WHERE) and common SQL injection patterns. All database clients use parameterized queries, which is a critical defense against injection. The natural language query functionality is indicated as a placeholder, implying the LLM generates SQL that then goes through the server's validation. No 'eval' or direct arbitrary code execution is present. Configuration encourages the use of environment variables for secrets, reducing the risk of hardcoded credentials.

Similar Servers

Stats

Interest Score0
Security Score9
Cost ClassMedium
Avg Tokens1500
Stars0
Forks0
Last Update2025-11-21

Tags

SQLDatabaseMCPAIOptimization