ModelFarebeta
Back to AI Toolkit

MCP Toolbox for Databases

Expose configured database queries and schema tools to agents.

ToolkitMCPMCP server

Data & storage · Documentation reviewed 2026-11-10. Not independently tested.

When it helps

Building reusable database toolsets with typed parameters and connection pooling.

What to consider

Connected database permissions determine what queries can do. Generic query tools need careful scoping and read-only users where appropriate.

Getting started

Follow the binary or container setup, configure sources and tools, and connect a client to a development database.

Access & costs

Runs
Local / Self-hosted
External account
Optional
API key
Optional
Costs
Local or service costs

Local databases need no cloud account. Managed database connections may require IAM or other credentials and incur hosting costs.

  • Toolbox binary or container
  • Database connection and scoped credentials

MCP connection

Documented transports
Standard input/output (stdio)
Documented clients
Gemini CLI, Claude Code, Codex

What it can access or do

  • Inspect database schemas
  • Run configured queries and toolsets

SQL access inherits the database role. Start with read-only credentials and explicit tool definitions.

Documentation reviewed, not connection-tested. Model calls made by your assistant can incur separate charges.

Repository evidence

Stars: 16,932 · License: Apache-2.0

Last code push: 2026-11-20

Statistics retrieved: 2026-11-23T00:42:59+00:00

Counts are snapshots, not live rankings. Review the repository license and any hosted-service terms before adopting it.

Adding model calls?

Plan the tokens, retries, and fallback costs before connecting your tools.

Open the planner