Finds what will hurt in a Django project: cascades, N+1, unsafe migrations, tenant leaks.
Connect Runs on your machine
claude mcp add django-chainsaw-mcp -e DJANGO_CHAINSAW_PROJECT_PATH=<DJANGO_CHAINSAW_PROJECT_PATH> -e DJANGO_CHAINSAW_SETTINGS_MODULE=<DJANGO_CHAINSAW_SETTINGS_MODULE> -- uvx django-chainsaw-mcp==0.1.5
{
"mcpServers": {
"django-chainsaw-mcp": {
"command": "uvx",
"args": [
"django-chainsaw-mcp==0.1.5"
],
"env": {
"DJANGO_CHAINSAW_PROJECT_PATH": "<DJANGO_CHAINSAW_PROJECT_PATH>",
"DJANGO_CHAINSAW_SETTINGS_MODULE": "<DJANGO_CHAINSAW_SETTINGS_MODULE>"
}
}
}
}
{
"mcpServers": {
"django-chainsaw-mcp": {
"command": "uvx",
"args": [
"django-chainsaw-mcp==0.1.5"
],
"env": {
"DJANGO_CHAINSAW_PROJECT_PATH": "<DJANGO_CHAINSAW_PROJECT_PATH>",
"DJANGO_CHAINSAW_SETTINGS_MODULE": "<DJANGO_CHAINSAW_SETTINGS_MODULE>"
}
}
}
}
{
"servers": {
"django-chainsaw-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"django-chainsaw-mcp==0.1.5"
],
"env": {
"DJANGO_CHAINSAW_PROJECT_PATH": "<DJANGO_CHAINSAW_PROJECT_PATH>",
"DJANGO_CHAINSAW_SETTINGS_MODULE": "<DJANGO_CHAINSAW_SETTINGS_MODULE>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
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. |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 10 Sep 2026 |
| Last updated | 10 Sep 2026 |
| Registry name | io.github.syrian963/django-chainsaw-mcp |
More other servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
