Hooks Claude up to PostgreSQL, MySQL, and SQLite databases with both natural language and direct SQL querying. Exposes operations to list tables, describe schemas, run queries, and pull sample data. The natural language feature uses HuggingFace transformers to convert plain English into SQL, which is handy for exploratory queries. Includes safety guardrails like read-only operations, query validation, and 50-row result limits. Ships as a FastAPI server with Docker support and includes sample e-commerce data to test against. Reach for this when you want Claude to answer questions about your database without writing SQL yourself, or when you need an AI agent to interact with relational data safely.
claude mcp add --transport stdio souhar-dya-mcp-db-server uvx mcp-db-server