dbcodeio/public

The database IDE for VS Code, Cursor, and Windsurf. 80+ databases: Postgres, MySQL, SQL Server, MongoDB, Snowflake, and more. AI queries, ER diagrams, SQL notebooks.

DBCode is a database client that lives inside VS Code and other editors based on it (Cursor, Windsurf, Antigravity, Kiro). It promises to handle 100+ database types without you ever leaving your editor. Here's what the README says it does.


What It Is

A modern database client — think DBeaver or DataGrip, but as a VS Code extension instead of a separate application. It also comes with built-in AI tools (via MCP and Copilot) so AI agents in your editor can work with your databases.


Core Features

Data browsing and editing

  • Filter, sort, and group data with a few clicks.
  • Edit rows directly (insert, update, delete) without writing SQL.
  • Changes are verified before they're executed.

SQL editor with IntelliSense

  • Database-specific syntax highlighting and autocomplete.
  • Autocomplete for tables, views, and procedures, including column types.
  • Inline signature help.

Entity Relationship Diagrams (ERD)

  • Auto-generated from your live database schema.
  • Export as PDF, HTML, or PNG.

Foreign key navigation

  • Click any foreign key value to jump to the referenced row — no JOINs needed.

SQL Notebooks

  • SQL and Python cells in VS Code Notebooks with Jupyter kernel integration.

Stored procedures & functions

  • Edit and deploy database logic from VS Code, with syntax support for PL/pgSQL, T-SQL, PL/SQL, and more.

Data visualization

  • Turn query results into bar, line, pie, scatter, and other charts.

Data compare

  • Compare data between tables, databases, or connections; see differences side-by-side, generate sync scripts, or apply changes directly.

Zero-config connections

  • Automatically discovers connections from project files like .env, application.properties, database.yml, and settings.py. Supports Laravel, Django, Spring Boot, Node.js, Rails, and more.

Query execution plans (EXPLAIN)

  • Visualize EXPLAIN/ANALYZE output as interactive node graphs; spot slow operations and drill into cost breakdowns. Supported for PostgreSQL, MySQL, SQL Server, and more.

Secure report sharing

  • Share query results as encrypted reports — no credentials or raw data exposed.

AI & Copilot Integration

  • Natural language queries: Ask schema questions, generate queries, create tables.
  • MCP tools built in: Your editor's AI agent gets database access automatically (VS Code Copilot and Cursor registered automatically; one click in Antigravity, Windsurf, and Kiro; external agents like Claude Code can connect via DBCode: Connect an AI Agent).
  • AI permissions: Agents use your existing connections, and you control per-connection permissions.
  • Also includes Copilot Chat (drag tables in, ask in natural language) and inline AI code completion for SQL.

Additional Features (Short List)

Data

  • Import/export: CSV, Excel, JSON, Parquet, Avro
  • Backup/restore for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB
  • Open/edit CSV, Excel, Parquet, Avro files directly
  • Lookup values from other tables, expand JSON columns
  • Inferred relationships for databases without foreign keys (MongoDB, DynamoDB)
  • Search across all columns in a table

Query tools

  • Transaction control (manual commit/rollback with auto-commit toggle)
  • WHERE-clause filters with saved filters
  • Query parameters (reuse queries with different inputs)
  • Query history with search, re-execution, and cross-device sync

Connectivity

  • Auth profiles: OAuth, AWS SSO, 1Password, HashiCorp Vault
  • Auto SSL for known hosts
  • SSH tunnels (manual or auto-discovered from SSH config)
  • Command tunnels for local proxy tools (cloud-sql-auth-proxy, kubectl port-forward, AWS SSM)

Editor niceties

  • Theme support, localization for all VS Code languages

Supported Databases

The README lists these categories (not exhaustive, but the main ones):

  • SQL: PostgreSQL, MySQL, SQL Server, SQLite, MariaDB, Oracle, Azure SQL, IBM DB2, CockroachDB, TiDB, TimescaleDB, YugabyteDB, SingleStore, H2, Firebird, Microsoft Access, SAP ASE, Dameng, KingbaseES, and more
  • Warehouses/analytics: Snowflake, BigQuery, Redshift, Databricks, ClickHouse, DuckDB, Athena, Azure Synapse, Microsoft Fabric, Teradata, Vertica, Netezza, Exasol, Trino, Hive, Impala, and more
  • Lakehouses: Apache Iceberg, DuckLake
  • NoSQL/document: MongoDB, DocumentDB, CouchDB, Couchbase, RavenDB, Firebase, DynamoDB, Cassandra, ScyllaDB, Aerospike, Elasticsearch, OpenSearch, SurrealDB, TypeDB, Redis, Memcached
  • Graph/vector: Neo4j, Memgraph, Pinecone, Chroma, Milvus, Qdrant, Weaviate, LanceDB
  • Streaming/time series: InfluxDB, QuestDB, RisingWave, Kafka, RabbitMQ
  • SaaS: Salesforce, Microsoft Dataverse, Bunny
  • Files: CSV, Excel, Parquet, Avro

Where It Runs

Works in VS Code, Cursor, Windsurf, VSCodium, and other VS Code-based editors. Install from the VS Code Marketplace or OpenVSX. Connections, saved queries, and AI integration are consistent across editors.


Pricing

  • Free for everyone (including commercial use and teams of any size): browsing/querying/editing data, notebooks, ER diagrams, charts, transaction control, read-only connections, query history, favorites, schema-aware Copilot tools, and the MCP server.
  • Pro adds AI assistance, data tooling, sync/sharing, and cloud provider integrations.
  • Team adds role-based feature control and centralized seat management.

Privacy / Telemetry

Anonymous usage data is collected only when VS Code telemetry is enabled. If telemetry is disabled in your VS Code settings, nothing is collected. A privacy policy link is provided.


All information above is taken directly from the project's README.

Related

  • Project
  • Project
  • Project
  • Project
  • Project