Koskamo

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.

ORM Lens MCP logo, by FROWNINGdevCommunity listingLocal stdioSource reviewed; not executedPublished by FROWNINGdev
You need:pip install "orm-lens[mcp]"
Vendor documentation

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

Community listingRegistry 1.15.0
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

django-orm-lens 1.15.0

pypiuvx
django-orm-lens package definition
{
  "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.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "orm-lens-mcp": {
      "command": "uvx",
      "args": [
        "django-orm-lens==1.15.0",
        "django-orm-lens-mcp"
      ]
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "orm-lens-mcp": {
      "command": "uvx",
      "args": [
        "django-orm-lens==1.15.0",
        "django-orm-lens-mcp"
      ]
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "orm-lens-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "django-orm-lens==1.15.0",
        "django-orm-lens-mcp"
      ]
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "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.