Connect Claude Code or Gemini CLI to your PostgreSQL database so you can explore tables and run queries in plain English.
Define custom AI agent tools in a YAML file that let an LLM run safe, structured queries against BigQuery or Cloud SQL without backend code.
Build a production AI agent with LangChain or LlamaIndex that has authenticated, connection-pooled access to multiple enterprise databases.
Prototype a natural-language-to-SQL interface over any supported database using the prebuilt list_tables and execute_sql tools.
Requires a running database and an MCP-compatible AI client, Google Cloud databases need IAM credentials configured before connecting.
MCP Toolbox for Databases is an open-source server that lets AI assistants and AI agents talk to enterprise databases. MCP stands for Model Context Protocol, a way of giving AI clients a standard set of tools they can call on. This project plays that role for databases: instead of writing custom glue every time you want an AI to read your tables or run a query, you point it at the Toolbox. It is described as serving a dual purpose. The build-time side is a ready-to-use MCP server with prebuilt generic tools such as list_tables and execute_sql, so you can connect an MCP-compatible client like Gemini CLI, Google Antigravity, Claude Code, or Codex and immediately explore a database in plain English. The run-time side is a framework for building your own production-grade tools, using a tools.yaml file where you declare sources (the databases you want to expose) and tools (the actions an agent is allowed to take, such as structured queries, semantic search, or natural-language-to-SQL). It comes with connection pooling, integrated authentication, and observability through OpenTelemetry. Client SDKs are available for Python, JavaScript/TypeScript, Go, and Java, with integrations documented for the Agent Development Kit, LangChain, and LlamaIndex. Supported databases include Google Cloud's AlloyDB, BigQuery, Cloud SQL, Spanner, Firestore, and Knowledge Catalog, plus PostgreSQL, MySQL, SQL Server, Oracle, MongoDB, Redis, Elasticsearch, CockroachDB, ClickHouse, Couchbase, Neo4j, Snowflake, and Trino. The repository was previously named genai-toolbox. It is written in Go and licensed Apache 2.0. The full README is longer than what was provided.
← googleapis on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.