MCP directory
DC

Django Chainsaw

by github.com/syrian963 · v0.1.5 · updated Sep 10, 2026

Finds what will hurt in a Django project: cascades, N+1, unsafe migrations, tenant leaks.

PyPI

Run it locally

Install the package and point your AI client at it.

PyPI

uvx django-chainsaw-mcp==0.1.5

Environment variables

  • DJANGO_CHAINSAW_PROJECT_PATHrequired

    Absolute path to the Django project to analyse - the directory containing manage.py, or whichever directory the settings module is importable from. This server must run in an interpreter that can import that project, so install it into the project's own environment rather than an isolated one.

  • DJANGO_CHAINSAW_SETTINGS_MODULErequired

    Dotted path to the settings module, for example myproject.settings. Point it at the settings the site actually runs on: a base or partial module can import cleanly and load no models, and the server says so when that happens.

More from github.com/syrian963

More MCP servers