Static-analysis MCP server for Django models. 5 read-only tools. No DB, no boot, no creds.
Static-analysis MCP server for Django models. 5 read-only tools. No DB, no boot, no creds.
Your entire model graph — live in your editor sidebar, gating your CI, and answering your AI agent over MCP. All from static parsing: no database, no runserver, no working venv.
Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| uses | actions/checkout@v4 |
| repo | https://github.com/FROWNINGdev/django-orm-lens |
| run | | |
| list_apps | Every Django app in the workspace with model counts |
| list_models | Flat app.Model list, optional app filter |
| describe_model | Full field / relation / Meta detail for one model |
| find_relations | Inbound + outbound relations for one model |
| cascade_preview | Blast radius of one delete(), grouped by on_delete |
| er_diagram | ER diagram — mermaid / dbml / d2 / plantuml / dot |
| describe_migration_dependency | Per-app migration DAG: roots, leaves, cross-app deps |
| suggest_indexes | Meta.indexes proposals from observed QuerySet usage |
| signal_graph | Sender→signal→handler graph from @receiver decorators |
| nplusone_scan | Static N+1 findings for the whole workspace |
{
"mcpServers": {
"django-orm-lens": {
"command": "django-orm-lens-mcp",
"env": {
"DJANGO_ORM_LENS_ROOT": "/abs/path/to/your/project"
}
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
| Variable | Description | Required |
|---|---|---|
| DJANGO_ORM_LENS_ROOT | Declared in the maintainer’s client configuration. | Check documentation |
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Use Microsoft’s Playwright MCP server to navigate pages, inspect accessibility snapshots, fill forms and capture browser screenshots.
Connect GitHub MCP to repositories, issues and pull requests with GitHub’s hosted service or a locally run server.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Search Linear issues and projects, inspect work context and manage updates through Linear’s hosted MCP server with OAuth.