orm-lens: ER diagrams, N+1 detection, schema drift & migration-risk linting for Django and SQLAlchemy

by FROWNINGdev · MCP Server · ★ 112

Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h

How to install orm-lens

uvx orm-lens scan -f table   # every app and model at a glance
uvx orm-lens nplusone        # N+1 loops, with the select_related / selectinload to add

Taken from the project's README on GitHub.

Security audit verdict: SAFE · quality 64/100

None of the 44 rules matched — no credential harvesting, no data exfiltration, no curl-pipe-shell installer. Scanned against 44 published rules built on the SlowMist agent-security taxonomy, refreshed every 8 hours.

The quality score combines nine heuristic checks of the repo and its README: completeness, clarity, specificity, examples, structure, agent readiness, step-by-step content, instruction quality and security notes. It rates how well the project explains itself to an agent, not the code.

ai-agentsalembicdeveloper-toolsdjangodjango-migrationsdjango-ormer-diagramfastapiflaskmcp

Quick Facts

Stars112
Forks48
LanguagePython
CategoryMCP Server
LicenseMIT
Quality Score64/100
Open Issues12
Last Updated2026-11-19
Created2026-07-12
Platformscli, mcp, python, vscode
Est. Tokens~25k

About orm-lens

English · Русский · Español · 中文 ORM Lens ER diagrams, N+1 detection and migration-risk checks for Django and SQLAlchemy — without booting either. 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 , no working venv. Django models and migrations, SQLAlchemy models and Alembic revisions.

Compatible Skills

These tools work well together with orm-lens for enhanced workflows:

  • django-ai-plugins — semantic(0.34)+complementary+shared_fw(django)+same_lang+similar_pop+shared_platform (70%)
  • django-ninja-aio-crud — semantic(0.49)+shared_fw(django)+rare_topics+same_lang+similar_pop+shared_platform (69%)

orm-lens alternative? Top 6 similar tools

Looking for a orm-lens alternative? If you're comparing orm-lens with other mcp server tools, these 6 projects are the closest alternatives on Agent Skills Hub — ranked by topic overlap, star count, and community traction.

  • roam-code by Cranot · ⭐ 515

    Local codebase intelligence CLI + MCP server for AI coding agents: SQLite code graph, 28 languages, 287 comman

  • mcp-anything by gabrielekarra · ⭐ 60

    One command to turn any codebase into an MCP server

  • OmoiOS by kivo360 · ⭐ 80

    Turn feature specs into merged PRs with a self-supervising swarm of coding agents — parallel execution, isolat

  • scalekit-sdk-python by scalekit-inc · ⭐ 63

    Python SDK for Scalekit — auth stack for agents. SAML, OIDC, SCIM, MCP Auth, agent auth, tool-calling.

  • tree-sitter-analyzer by aimasteracc · ⭐ 61

    Cross-language-safe code-intelligence MCP for AI agents: 13 languages, family-gated call graph, blast radius,

  • django-ninja-aio-crud by caspel26 · ⭐ 53

    Async dynamic CRUD framework for Django Ninja — built-in auth, filtering, pagination, automatic serialization,

More MCP Server Tools

Explore other popular mcp server tools:

View all MCP Server tools →

Popular Python Agent Tools

How this security grade is produced

Grades come from a rule-based scan built on the SlowMist agent-security taxonomy: 44 published rules, covering credential harvesting, data exfiltration, curl | sh installers and more. It is a first-layer scan, not a manual audit — we say so rather than overstate it.

The scale of the problem is documented independently: Liu et al. (2026), in a study of 31,132 agent skills, report that 26.1% contain security vulnerabilities. Our own full-catalog census is published as a citable open dataset.

Sources & who's responsible:

View on GitHub → Browse MCP Server tools