Statically analyzes Django models without a database: ER diagrams, N+1 detection, missing indexes and migration risks.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add django-orm-lens -- uvx django-orm-lens~/.codex/config.toml
[mcp_servers.django-orm-lens]
command = "uvx"
args = ["django-orm-lens"]
# codex mcp add django-orm-lens -- uvx django-orm-lens~/.cursor/mcp.json
{
"mcpServers": {
"django-orm-lens": {
"command": "uvx",
"args": [
"django-orm-lens"
]
}
}
}.vscode/mcp.json
{
"servers": {
"django-orm-lens": {
"type": "stdio",
"command": "uvx",
"args": [
"django-orm-lens"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"django-orm-lens": {
"command": "uvx",
"args": [
"django-orm-lens"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"django-orm-lens": {
"command": "uvx",
"args": [
"django-orm-lens"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"django-orm-lens": {
"command": "uvx",
"args": [
"django-orm-lens"
]
}
}
}