Skip to content
appsgit

ORM Lens

ORM Lens is an MCP server that adds database tools to AI assistants such as Claude Desktop, Claude Code and Cursor. Django and SQLAlchemy static analysis: models, relations, migrations, Alembic, N+1. It has 110 GitHub stars, is released under the MIT license and runs locally with uvx orm-lens.

github.com/FROWNINGdev/orm-lens (opens in a new tab)

Data as of from the GitHub API and the official MCP registry; description from the project's repository. Report an error

Install ORM Lens

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "orm-lens": {
      "command": "uvx",
      "args": [
        "orm-lens"
      ]
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --transport stdio orm-lens -- uvx orm-lens

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "orm-lens": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "orm-lens"
      ]
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "servers": {
    "orm-lens": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "orm-lens"
      ]
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

About ORM Lens

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 models and migrations, SQLAlchemy models and Alembic revisions.

  • developer-tools
  • django
  • er-diagram
  • orm
  • python
  • vscode-extension
  • schema-visualization
  • ai-agents
  • mcp
  • mcp-server

FAQ

ORM Lens FAQ

Still curious? Email info@appsgit.com.

How do I install the ORM Lens MCP server?

Add the command uvx orm-lens to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is ORM Lens free?

The server is open source under the MIT license, so running it is free. It does not declare any required API key.

Is ORM Lens actively maintained?

The most recent commit was on Nov 15, 2026. The latest release is v0.22.0, published Nov 11, 2026. appsgit only lists MCP servers with a commit in the last six months.