Static Django ORM analysis over MCP for inspecting models, relations, migrations, indexes, and signals without a database.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Django Orm Lens.
FROWNINGdev/django-orm-lens MCP server gives an AI client a static view of a Django project's ORM structure. It extracts information from the project's source code rather than querying a live database or booting the Django application. That makes it suitable for repository analysis when the database is unavailable, the project environment is incomplete, or loading the application settings is undesirable.
The exposed data includes Django apps, models, fields, and model relationships. Relationship details include foreign keys, many-to-many and one-to-one associations, on_delete behavior, and related names. The server also analyzes migration dependencies, possible cascade effects, index opportunities, and signal connections.
The MCP package uses the same static parser core as the project's other distribution surfaces. An MCP client sends a schema question to the server, and the server reads the Django project files under the configured root. Results are returned as analysis of the source rather than as runtime observations from Django or the database.
This design avoids several runtime requirements. The material states that the server does not need a database, a running runserver process, a working virtual environment, a settings module, or credentials for its static scan. It therefore fits code review, repository exploration, and architecture questions where source-level structure is the relevant ground truth.
Install the MCP extra from PyPI with:
Configure DJANGO_ORM_LENS_ROOT with the absolute path to the Django project being analyzed. The README describes MCP setup as a JSON client configuration that points this variable at the project root, but the supplied material does not provide the complete configuration block or a separate server launch command.
The package is described as MIT-licensed and does not require an API key, account, paid service, or database credentials. The same project also provides a CLI and editor extensions, but those are separate distribution surfaces from the MCP interface.
The listing identifies these read-only tools:
listapps โ inspect Django applications.listmodels โ enumerate models.describemodel โ inspect model structure and fields.findrelations โ examine foreign-key, many-to-many, and one-to-one relationships.cascadepreview โ review deletion and cascade behavior.erdiagram โ represent the model graph as an entity-relationship diagram.describemigrationdependency โ inspect migration dependency relationships.suggestindexes โ identify missing or useful indexes from the analyzed ORM structure.signalgraph โ inspect signal connections across the project.FROWNINGdev/django-orm-lens MCP server is read-only: the supplied description does not indicate tools for changing source files, applying migrations, mutating database records, or running queries against a database.
Static analysis cannot provide live database state or runtime behavior that is not represented in the parsed project source. In particular, this MCP server should not be treated as a database inspection tool or as a replacement for executing Django migrations and queries.
The README names Cursor, Windsurf, Claude Code, Aider, Zed, and Continue as agent or editor surfaces for the broader project. The provided material does not specifically confirm Claude Desktop compatibility. FROWNINGdev/django-orm-lens MCP server is best matched to agents that need repository-local Django schema context without application startup.
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/frowningdev-django-orm-lens)<a href="https://allmcps.com/mcp/frowningdev-django-orm-lens"><img src="https://allmcps.com/api/badge/frowningdev-django-orm-lens?style=directory" alt="Django Orm Lens on AllMCPs" /></a>