The JetBrains IDE for relational and NoSQL databases
commercial softwareself-hostablefreeMCP
DataGrip is JetBrains' desktop IDE for databases, connecting to more than 50 local and cloud databases, including PostgreSQL, MySQL, Oracle, SQL Server, MongoDB, Redis, Snowflake, BigQuery, ClickHouse and DuckDB, and discovering instances in AWS, Google Cloud and Azure accounts. It has schema-aware SQL completion and inspections across dialects, queries that join tables from different databases, editable result tables with no-code charts, import and export, and a local history of every query run. AI agents (Junie, Claude, Codex, GitHub Copilot, Gemini CLI or any ACP agent) work through the same permissions, confirmation dialogs and read-only mode as people. DataGrip is free for non-commercial use, and IntelliJ IDEA Ultimate and PyCharm Pro include the same database tools.
Ways to install
Package managers
Problems it solves
- one desktop SQL client for Postgres, MySQL, Oracle, SQL Server, MongoDB and Redis instead of one tool per database
- join tables from two different databases in a single SQL query
- SQL autocompletion that knows my schema, across several SQL dialects
- let an AI agent write SQL without risking production data: permissions, confirmations and read-only mode
- find the database instances in my AWS, Google Cloud and Azure accounts automatically
- recover a query I ran last week or a SQL file I deleted
- edit query results in a grid and export them to CSV or JSON
- chart query results without writing code
- version my SQL scripts in Git from the database tool
- Snowflake, BigQuery, ClickHouse and DuckDB in the same SQL editor as my Postgres database
- a free database IDE for personal projects
- see every query an AI agent ran against my database and undo its changes
- compare two result sets to check what an agent's query changed
- read an execution plan to find out why a query is slow
Features
- more than 50 local and cloud databases, including PostgreSQL, MySQL, Oracle, SQL Server, MongoDB, Redis, DuckDB, Snowflake, BigQuery, ClickHouse, Cassandra and DynamoDB
- cloud discovery of instances in AWS, Google Cloud and Azure
- schema-aware completion, error detection and quick-fixes across SQL dialects
- Workspace data source: one query across tables from several data sources
- editable result tables with filtering, sorting, no-code visualizations and a result comparison tool
- import and export in standard formats or your own
- local history of every query run, by you or an agent, with revert and file recovery
- agents from Junie, Claude, Codex, GitHub Copilot, Gemini CLI or any ACP agent, under permission settings, confirmation dialogs and read-only mode
- MCP server where you choose which tools agents get
- Git for SQL scripts
View 3 more
- free 30-day trial
- plugins from JetBrains Marketplace
- command-line launcher and tools
Limitations
- Doesn't run on FreeBSD or other BSD systems: JetBrains supports Windows 10 and 11, macOS 26 and 27, and Linux with glibc 2.28 or later2
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Has an MCP server | plan not known |
| Takes plugins | plan not known |
Alternatives
The same job
These do what DataGrip does.
