Connects Claude to PostgreSQL, MySQL, SQLite, Oracle, and SQL Server with read-only access enforced at the AST level via SQLGlot parsing. The execute tool lets you batch multiple named queries in a single call and returns TSV-formatted results to save tokens, though you can switch to JSON if needed. Pre-register connections in your MCP config with environment variable references for passwords, or let the agent call login on demand. Also exposes search_objects for schema exploration and includes per-query timing in responses. Useful when you want agents querying production databases without wrestling with one-query-at-a-time patterns or worrying about accidental writes.
claude mcp add --transport stdio agentic-eng-a2db uvx a2db