ORM Lens MCP
A static analysis MCP server for Django and SQLAlchemy that provides ER diagrams, N+1 detection, schema drift checks, and migration-risk linting without requiring a database connection or application boot. It offers read-only tools for AI agents to query schema ground truth.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Generate ER diagrams from static model parsing
- Detect N+1 query loops in code
- Lint migrations for schema drift and risk
- Answer schema questions via MCP tools
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
django-orm-lens 1.15.0
{
"version": "1.15.0",
"transport": "stdio",
"identifier": "django-orm-lens",
"runtimeHint": "uvx",
"registryType": "pypi",
"packageArguments": [
{
"type": "positional",
"value": "django-orm-lens-mcp"
}
],
"runtimeArguments": [
{
"type": "positional",
"value": "django-orm-lens[mcp]"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"orm-lens-mcp": {
"command": "uvx",
"args": [
"django-orm-lens==1.15.0",
"django-orm-lens-mcp"
]
}
}
}Cline
{
"mcpServers": {
"orm-lens-mcp": {
"command": "uvx",
"args": [
"django-orm-lens==1.15.0",
"django-orm-lens-mcp"
]
}
}
}VS Code
{
"servers": {
"orm-lens-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"django-orm-lens==1.15.0",
"django-orm-lens-mcp"
]
}
}
}Claude Desktop
{
"mcpServers": {
"orm-lens-mcp": {
"command": "uvx",
"args": [
"django-orm-lens==1.15.0",
"django-orm-lens-mcp"
]
}
}
}Let your agent find its tools
Find servers like ORM Lens MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.