Django Chainsaw

io.github.syrian963/django-chainsaw-mcp

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "django-chainsaw-mcp": {
      "command": "uvx",
      "args": [
        "django-chainsaw-mcp"
      ],
      "env": {
        "DJANGO_CHAINSAW_PROJECT_PATH": "<your DJANGO_CHAINSAW_PROJECT_PATH>",
        "DJANGO_CHAINSAW_SETTINGS_MODULE": "<your DJANGO_CHAINSAW_SETTINGS_MODULE>"
      }
    }
  }
}
Environment variables
  • DJANGO_CHAINSAW_PROJECT_PATHrequiredAbsolute 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_MODULErequiredDotted 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.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
0.1.5
Registry
active
Published
9/10/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that Django Chainsaw is listed here — it’s also the link we check for a free listing.

Django Chainsaw — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-syrian963-django-chainsaw-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Django Chainsaw — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Django Chainsaw — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-syrian963-django-chainsaw-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.