Open source · MIT license · v1.3.0

Your database, where your code already is.

DBBase brings the database workflow into VS Code. Connect, query, inspect and edit PostgreSQL, MySQL, MariaDB and Redis without moving between your editor and a separate database application.

or
code --install-extension DBbase.dbbase
orders.sql — workspace
SQLorders.sql
Results42 rows
CSVJSONXLSXSQL
DB: production (postgres)
PostgreSQL MySQL MariaDB Redis
One editor, one workflow

The database tools you need, without the context switch.

DBBase stays close to the way developers already work: connections in the Activity Bar, SQL in normal editor tabs, results in a native panel and data editing in a focused grid.

01

Query without leaving the editor

Keep SQL as persistent scratch files associated with each connection. Run the statement at your cursor with Ctrl + Enter or Cmd + Enter, including multiple statements in the same workflow.

02

Inspect and edit table data

Open a table directly from the DBBase explorer, browse data in a paginated grid, edit values inline, insert rows and delete records with confirmation instead of switching to a separate application.

03

Treat Redis like part of the project

Browse Redis keys with folder-like grouping based on :, then inspect common Redis types in a dedicated editor. The same sidebar can hold relational databases and key-value stores.

04

Export the result, not the whole workflow

Turn query or table results into CSV, JSON, Excel, Markdown or SQL inserts. The export sits next to the data you are already inspecting, so there is no separate import/export tool to manage.

Native MCP server

Give AI tools database context — deliberately.

DBBase includes an MCP server that exposes schema information, table details and read-only SQL access to compatible AI clients. Claude Desktop setup is available directly from the Command Palette.

Schema context. Tables, columns, types and available metadata can be exposed before a query is generated.
Read-only query tool. MCP query execution accepts SELECT and WITH statements and adds a 100-row limit when no LIMIT is present.
Deep table inspection. AI clients can request primary keys, foreign keys, indexes and constraints when they need more context.
dbbase-mcp-serverstdio
$ list_tools
get_schema
Returns tables, columns, types and comments.

inspect_table {"tableName":"orders"}
Returns keys, indexes and constraints.

run_read_query
SELECT status, COUNT(*) FROM orders GROUP BY status

policy SELECT / WITH only · LIMIT 100
Database support

Focused support for the databases you use today.

DBBase keeps each database driver isolated behind a shared interface, so the VS Code workflow stays consistent while each engine keeps its own behavior where it matters.

PostgreSQLAvailable
MySQL / MariaDBAvailable
RedisAvailable
SQLitePlanned
SQL ServerPlanned
Open source by design

Read the code. Change it. Build on it.

DBBase is released under the MIT License. The source, architecture, database drivers and MCP implementation are public on GitHub — so the tool you use to access your databases is open to inspection and contribution.

Start in minutes

Install. Connect. Query.

No project migration and no new desktop workflow. DBBase installs as a normal VS Code extension and lives in the Activity Bar.

01 / INSTALL

Add DBBase to VS Code

Install from the Visual Studio Marketplace or use the VS Code CLI command.

02 / CONNECT

Create a database connection

Open the DBBase Activity Bar, add a connection and choose PostgreSQL, MySQL or Redis.

03 / WORK

Stay in your editor

Open tables, keep SQL scratches and run the query at your cursor with Ctrl/Cmd + Enter.

Less window switching. More time in the code.

DBBase is free, open source and available today for Visual Studio Code.