AgentIndex icon
AgentIndex
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Submit Tool
ToolsMCP ServersHOTCategoriesTrendingNewBest ListsCompareGuides
Home/
Data Processing/
deepsql
deepsql logo

deepsql

Active·★ 40·Apache-2.0·Updated 2026-10-25

DeepSQL is an AI-powered database agent for PostgreSQL and MySQL, allowing users to interact with their databases, generate queries, analyze performance, and manage schema using plain English. It is model-agnostic, enabling integration with various LLM providers like OpenAI, Azure OpenAI, or self-hosted models, while keeping all sensitive data and operations within the user's controlled environment.

#Database Agent#PostgreSQL#MySQL#SQL Generation#LLM Integration#Database Performance#Schema Management#Data Analytics
$ Install
$ git clone https://github.com/DeepSQLAI/deepsql.git && cd deepsql && cp .env.example .env && ./scripts/self-host/install.sh
↗ Visit site★ GitHub
01

Features

01Answer BI questions in plain English by generating, validating, and executing read-only SQL.
02Identify and fix slow queries by analyzing logs and flagging regressions against baselines.
03Provide index recommendations and apply them concurrently on PostgreSQL without table locks.
04Monitor and track schema changes to detect drift before it impacts queries or dashboards.
05Establish a 'brain' that understands business metrics, rules, and conventions for consistent query generation and recommendations.
02

Compatibility

PostgreSQL
Database
Verified via docs
MySQL
Database
Verified via docs
Docker Engine
Runtime
Verified via docs
OpenAI API Compatible LLMs
LLM Provider
Verified via docs
03

Quick start

1
$ git clone https://github.com/DeepSQLAI/deepsql.git
2
$ cd deepsql
3
$ cp .env.example .env
4
$ ./scripts/self-host/install.sh
04

Use cases

↳Database administrators or data engineers seeking AI assistance for routine tasks and performance tuning.
↳Business analysts or stakeholders needing to get insights from databases using natural language without writing SQL.
↳Teams aiming to automate the generation of dashboards and reports based on business context.
↳Organizations looking for a secure way to integrate LLMs with their databases, keeping data within their own infrastructure.
↳Developers wanting to enhance their coding agents with direct, safe database interaction capabilities.
05

Alternatives

⚡Top VS:
VStabularis★5.3k→VSkordoc★2.8k→VSwisp-science★1.1k→VSgeodata★41→
tabularis logo
tabularis★ 5.3k
Open-source database client for PostgreSQL, MySQL/MariaDB and SQLite with SQL notebooks, visual EXPLAIN, AI and MCP built in. Hackable with plugins.
VSCompare→
kordoc logo
kordoc★ 2.8k
모두 파싱해버리겠다 — HWP·HWPX·PDF·Office 문서를 Markdown으로. 양식 자동 채우기와 신구대조를 갖춘 CLI·MCP 서버 | Convert Korean documents (HWP, HWPX, PDF, Office) to Markdown — CLI and MCP server with form filling and diff
VSCompare→
wisp-science logo
wisp-science★ 1.1k
Open-source, local-first desktop AI research workbench for scientific computing with Python/R, MCP bioinformatics tools, SSH/WSL/GPU runtimes, and OpenAI/Anthropic models.
VSCompare→
geodata logo
geodata★ 41
Lightweight open-source visualiser for India admin boundaries — pick a layer, view, download parquet
VSCompare→
pullmd logo
pullmd★ 506
Self-hosted URL- and file-to-Markdown service for humans and AI agents - web pages, documents, images, audio, YouTube. PWA + REST + MCP + Claude Code skill, Reddit-aware, refreshable share links.
VSCompare→
pgedge-postgres-mcp logo
pgedge-postgres-mcp★ 241
pgEdge MCP Server. A PostgreSQL MCP server with a Natural Language Agent CLI and Web UI.
VSCompare→
SageThumbs-2k logo
SageThumbs-2k★ 272
Windows 11 shell extension (Rust): Explorer thumbnails for 331 file types Windows can't show, including camera RAW, PSD, HEIC/AVIF, video, ebooks, comics and CAD. Crash-isolated, source-available rebuild of SageThumbs.
VSCompare→
PDF-Tools logo
PDF-Tools★ 158
Fill, sign, merge, split, and extract PDFs from Claude Desktop and other MCP hosts. Maintained by the Open Document Alliance.
VSCompare→
See all alternatives →

Comments

Log in to leave a comment

No comments yet. Be the first!

On this page
01Features02Compatibility03Quick start04Use cases05Alternatives
DeepSQLAI /
deepsql
↗

The database agent for Postgres and MySQL - Point it at PostgreSQL or MySQL and ask questions in plain English — schema exploration, query generation, slow query analysis, index recommendations, generated dashboards. Self-hosted and air-gapped.

40Apache-2.0
Last commit3d ago
StatusActive
CategoryData Processing
Links
Documentation↗Discussion↗Issues↗Releases↗
Cloud Infrastructure
Ad

Deploy on DigitalOcean

Host your MCP servers, Docker containers, and AI agents with $200 free credit over 60 days.

Claim $200 Free Credit
© 2026 AgentIndex.app|Built by a 10-year iOS Developer.
Best by use caseAboutContactAdvertisePrivacy PolicyTerms of UseQYSGitHubBuy me a coffee ☕

Browse by Category

MCP ServersCode AssistantWorkflow AutomationRAG / Knowledge BaseMulti-AgentBrowser AutomationLLM InfraDev ToolingObservability

Not affiliated with Anthropic, OpenAI or Microsoft.