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. The django orm lens mcp server wraps that behind the Model Context Protocol, so an assistant can use it through 14 defined tools rather than through you.
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.
django-orm-lens on PyPI is all you need. Most clients run it directly, so configuration is a few lines and a restart.
Everything the assistant can do here goes through one of these:
uses — actions/checkout@v4repo — https://github.com/FROWNINGdev/django-orm-lensrun — |list_apps — Every Django app in the workspace with model countslist_models — Flat app.Model list, optional app filterdescribe_model — Full field / relation / Meta detail for one modelfind_relations — Inbound + outbound relations for one modelcascade_preview — Blast radius of one delete(), grouped by on_deleteer_diagram — ER diagram — mermaid / dbml / d2 / plantuml / dotdescribe_migration_dependency — Per-app migration DAG: roots, leaves, cross-app depssuggest_indexes — Meta.indexes proposals from observed QuerySet usagesignal_graph — Sender→signal→handler graph from @receiver decoratorsThis sits in the payments and commerce group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Django ORM Lens's toolset — uses, repo, run and 11 more — is a fair guide to whether it matches your workflow. It is maintained by FROWNINGdev; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| 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 |
| Client | How to enable |
{
"mcpServers": {
"django-orm-lens": {
"command": "uvx",
"args": ["django-orm-lens"]
}
}
}Add to claude_desktop_config.json, then restart Claude Desktop.
Payments infrastructure meets AI — customers, invoices, subscriptions and current API docs from Stripe's server.
Build for Shopify with current APIs — the official Dev MCP server for schema-accurate storefront and admin code.
Give your AI assistant a supervised window into your Interactive Brokers account — balances, positions, live quotes and orders.
Invoices, payments and disputes through PayPal's official server — commerce operations by conversation.
Enables querying and listing Azure resources and costs directly from an MCP client.
Empowers LLMs with Bitcoin Lightning Network payment capabilities via the ZBD API.