MCP Alchemy
Universal SQLAlchemy MCP supporting PostgreSQL, MySQL, MariaDB, SQLite, Oracle, MS SQL Server, and more with relationship inspection.
Delv Safety Grade: C
Score 62/100 · assessed 2026-04-28
MCP Alchemy is a community-maintained SQLAlchemy wrapper by solo developer Rune Kaagaard. It provides broad database access across PostgreSQL, MySQL, Oracle, MS SQL Server and others through a single MCP interface. The package ships via PyPI with uvx installation, which is standard and reasonably verifiable. However, it grants full read and write access to any database you point it at via DB_URL, making it extremely powerful but also high-stakes. A misconfigured connection string or compromised credentials could expose production data. The solo maintainer structure means limited review and a single point of failure. The repository shows reasonable documentation and the relationship inspection feature demonstrates thoughtful design. No known security incidents, but the broad database permissions and single-maintainer model warrant careful credential management and network isolation in production environments.
Lethal Trifecta (prompt-injection exposure)
ONE OF THREEGeneric SQL bridge. Inherits the DB risk.
Green flags
- Standard PyPI distribution via uvx with versioning
- Open source with clear documentation on GitHub
- Relationship inspection shows thoughtful schema understanding
- No known security incidents or credential leaks
- Supports SQLite for safe local testing
Red flags
- Full database write access with no built-in scoping or read-only mode
- Solo maintainer with limited bus factor and review depth
- DB_URL env var exposes full connection string including credentials
- Supports production databases (Oracle, MS SQL) with enterprise risk profile
Permissions requested
Install
uvx --from mcp-alchemy --refresh-package mcp-alchemy mcp-alchemy
DB_URLReview
Install this if you regularly work with multiple databases or need to explore unfamiliar schemas. It turns Claude into a surprisingly capable database assistant. Skip it if you're happy writing raw SQL or only ever touch one SQLite file.
Good at
- Supports nearly every SQL database through SQLAlchemy, so you're not locked to one vendor.
- Relationship inspection means Claude understands foreign keys and can suggest sensible joins without hand-holding.
- Multi-database support lets you query across PostgreSQL, SQLite, and others in the same session.
- Simple setup if you're familiar with connection strings. No complex configuration files.
Watch out
- Introspection can be slow on databases with hundreds of tables or complex schemas.
- No built-in guardrails against destructive queries. You're responsible for permissions and sanity checks.
- Hosts beyond Claude Desktop and Cursor require manual MCP server configuration.
- Assumes you understand SQL well enough to verify what Claude generates.
Use cases
- multi-database dashboards
- schema discovery
- cross-DB joins via staging
- large dataset analysis
Getting started
Works with
Similar MCPs
- NeonNeon's official MCP for serverless Postgres. Manage projects, branches, and run SQL against any of your databases.
- SupabaseSupabase's official MCP — query Postgres, manage auth, inspect storage buckets, all from your agent.
- PostgresQuery Postgres databases with natural language. Read-only access by default - the agent sees your schema and runs SELECT queries safely.
- ClickHouseClickHouse MCP for fast analytical queries. Built by ClickHouse Inc, supports cluster topology discovery.