MCP Toolbox for Databases
A self-hosted MCP server that gives AI agents database access through ready-made or restricted custom tools, licensed under Apache 2.0.

MCP Toolbox for Databases connects coding assistants and AI agents to databases. It's for developers who want assistants to inspect data during development or use defined database actions in applications.
- Database exploration: Give Claude Code, Codex, Gemini CLI and Google Antigravity tools to inspect schemas, execute SQL and generate code informed by your database.
- Restricted custom actions: Define tools with predefined logic for structured queries, semantic search and natural-language-to-SQL tasks, with restricted access and integrated authentication.
- Shared agent tools: Reuse centrally managed tools across agents and applications, with integrations for ADK, LangChain, LangGraph, LlamaIndex and Genkit.
- Testing and monitoring: Test tools and authorized parameters in the built-in UI, and collect traces and metrics through OpenTelemetry.
Supported databases include PostgreSQL, MySQL, SQL Server, Oracle, MongoDB, Redis, Elasticsearch, ClickHouse and Neo4j. It also connects to external services such as BigQuery, Cloud SQL, Spanner and Snowflake. Python and JavaScript/TypeScript SDKs support custom applications.
The open-source server uses the Apache 2.0 license and runs on macOS, Windows, Linux or Docker. macOS supports Apple Silicon and Intel hardware. Running Toolbox locally doesn't move connected cloud databases onto your machine; those remain external services.