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.
code --install-extension DBbase.dbbase
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.
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.
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.
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.
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.
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.
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.
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.
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.
Add DBBase to VS Code
Install from the Visual Studio Marketplace or use the VS Code CLI command.
Create a database connection
Open the DBBase Activity Bar, add a connection and choose PostgreSQL, MySQL or Redis.
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.