A2db

•
2
•

Provides AI agents with safe, read-only access to various databases through a command-line interface and Model Context Protocol server.

A2db streamlines how AI agents interact with databases, offering a secure and efficient solution for data retrieval. Unlike other tools that require repetitive connection details and return cumbersome results, A2db allows for pre-configured connections, batch execution of multiple named queries in a single call, and delivers clean, structured JSON output with compact TSV data. It prioritizes security with strict SQLGlot-enforced read-only access, ensuring agents cannot perform write operations, and keeps sensitive credentials secure by referencing environment variables.

主な機能

01Provides clean JSON output with compact TSV data for LLM efficiency
02Supports pre-configured database connections for immediate agent querying
03Bundles all necessary drivers for PostgreSQL, SQLite, MySQL, Oracle, and SQL Server
04Enforces read-only database access using SQLGlot AST parsing
05Executes multiple named queries in a single batch call
061 GitHub stars

ユースケース

01Automating database queries and schema exploration in CI/CD pipelines
02Enabling AI agents to safely query database information without write access
03Simplifying data retrieval for AI agents through pre-configured connections and batch processing