Best SQLAlchemy MCP Servers
SQLAlchemy is a SQL toolkit and Object-Relational Mapping (ORM) library for Python that provides a full suite of well-known enterprise-level persistence patterns
Why this server?
Reads SQLAlchemy models or mappings to provide cross-framework analysis beyond Django's app registry.
AlicenseAqualityAmaintenanceEnables developers to analyze Django projects for risky code patterns such as cascade delete impact, N+1 queries, unsafe migrations, and unscoped tenant reads through MCP tools and a CLI.3773 PyPIMITWhy this server?
Offers tools to analyze and optimize ORM-generated queries, helping to identify and fix performance issues in SQLAlchemy code
AlicenseBqualityDmaintenanceAn open source Model Context Protocol server for PostgreSQL that provides database health analysis, index tuning, query plan exploration, and safe SQL execution for AI agents throughout the development process.9MITWhy this server?
Extracts data models from SQLAlchemy models.
AlicenseAqualityCmaintenanceEnables developers and product owners to scan a codebase and extract a readable business overview—features, roles, access control, data model, and endpoints—along with findings on missing or inconsistent rules, and generate shareable HTML or Markdown reports and diagrams.92MITWhy this server?
Provides live documentation for the SQLAlchemy SQL toolkit and ORM.
AlicenseAqualityCmaintenanceIt enables AI engineers to retrieve real-time official documentation for 45+ libraries, search across frameworks, and extract code examples directly inside MCP-compatible assistants, eliminating stale training data and outdated API usage.5MITWhy this server?
Extracts SQLAlchemy models and their relations from Python code.
AlicenseAqualityCmaintenanceExtracts deterministic architecture maps from codebases for AI agents, enabling queries about blast radius, routes, security findings, and production readiness without sending code anywhere.6MITWhy this server?
Reads SQLAlchemy model definitions to generate Entity-Relationship diagrams and detect drift between the schema and existing diagrams.
AlicenseAqualityCmaintenanceMCP server that reads your database schema from SQL DDL, Prisma, Drizzle, TypeORM, or SQLAlchemy, generates a Mermaid ER diagram, and writes it into your documentation, with drift detection to keep diagrams up-to-date.51MITWhy this server?
Helps identify and fix performance issues in SQLAlchemy ORM code, optimizing query execution plans and suggesting appropriate indexes to improve performance.
AlicenseAqualityDmaintenancePostgres Pro is an open source Model Context Protocol (MCP) server built to support you and your AI agents throughout the entire development process—from initial coding, through testing and deployment, and to production tuning and maintenance.93,313MITWhy this server?
Audits SQLAlchemy usage against the resolved version, promoting 2.0-style queries, DeclarativeBase, mapped_column, and session.execute(select(...)) while flagging incompatible or deprecated patterns.
AlicenseAqualityCmaintenanceEnables AI coding agents to inspect project dependency versions, resolve version constraints, and audit Python code for deprecated or incompatible APIs using authoritative evidence and local AST analysis.319 npmMITWhy this server?
Scaffolds SQLAlchemy models and database configuration.
AlicenseAqualityDmaintenanceAn MCP server that scaffolds full-stack projects with consistent structure, Docker setup, CI/CD pipelines, and database configuration.6MIT