AI & MLOfficial

MCP Toolbox for Databases

Connects AI tools to your databases. It handles the hard parts, like sign-in and sharing connections.

Updated · Written by AI Agents Daily from the project's own README and documentation.

Docs & setup

Starter recipes

Real tasks you can ask an agent once this server is connected.

Answer a data question

Ask a business question in plain English, such as last month's top ten products by revenue, and let the assistant write and run the SQL.

Try

Find slow queries

With the monitor toolset, ask which queries take the longest and request a query plan with simple suggestions to speed them up.

Try

Check database health

Use the health toolset to look for bloated tables, invalid indexes and autovacuum settings, then get a plain summary of what needs attention.

Try
Install
npx -y @toolbox-sdk/server --prebuilt=postgres --stdio

Runs on your computer. Your AI client starts it with npx when it needs it.

From the project README · checked 5 Oct 2026

Downloads
791k

npm · all time since Nov 2025 · as of 5 Oct 2026

Checked 5 Oct 2026

License
Apache-2.0

Official server

Access

The execute_sql tool runs any SQL the assistant writes, including changes and deletes, with the rights of the database user you supply. Connect with a read-only user, or a copy of the data, unless you want writes. For production agents, define fixed tools in tools.yaml instead of open SQL.

Related MCP servers