# ORM Lens (MCP server)

> 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.

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.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/FROWNINGdev/orm-lens |
| GitHub stars | 110 |
| License | MIT |
| Language | Python |
| Transport | stdio |
| Packages | pypi: orm-lens |
| Remote URL | none |
| Needs API key | no |
| Official | no |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Databases |
| Latest release | v0.22.0 (Nov 11, 2026) |
| Last commit | Nov 15, 2026 |
| MCP registry name | io.github.FROWNINGdev/orm-lens |

## Install

### Claude Desktop (claude_desktop_config.json)

```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

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

### Cursor (.cursor/mcp.json)

```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)

```json
{
  "servers": {
    "orm-lens": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "orm-lens"
      ]
    }
  }
}
```

Config formats checked against the official docs on 2026-10-07.

## Similar MCP servers

- [Dynoxide](https://appsgit.com/mcp-servers/dynoxide): A DynamoDB emulator with an MCP server exposing 35 DynamoDB tools to coding agents. (112 stars, Apache-2.0)
- [flowR](https://appsgit.com/mcp-servers/flowr): Static dataflow analysis, program slicing, linting, and dependency extraction for R code. (108 stars, GPL-3.0)
- [SAP HANA CLI](https://appsgit.com/mcp-servers/sap-hana-cli): 150+ SAP HANA database tools as MCP tools for AI assistants. (115 stars, Apache-2.0, official)
- [Knolo](https://appsgit.com/mcp-servers/knolo): Verified, local-first retrieval over pinned Knolo Knowledge Images. (108 stars, Apache-2.0, official)
- [Tiger MCP](https://appsgit.com/mcp-servers/tiger-mcp): Provides programmatic access to Tiger Cloud services, databases, and documentation. (127 stars, Apache-2.0, needs API key)
- [Firenook](https://appsgit.com/mcp-servers/firenook): Local Firebase emulators for coding agents: Firestore, Auth, Storage, Functions, logs, rules checks. (106 stars, Apache-2.0, official)

---

Canonical page: https://appsgit.com/mcp-servers/orm-lens
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
