Django Chainsaw runs on your own machine — the client starts it, so there is no endpoint to ping. Last commit 10 Sep 2026.
Finds what will hurt in a Django project: cascades, N+1, unsafe migrations, tenant leaks.
We read the source, 3 min ago · rules 3dff92dd89df
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
module = __import__(settings.SETTINGS_MODULE, fromlist=["__file__"])
result = subprocess.run(
for path in root.rglob("*.py"):
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add django-chainsaw-mcp -- uvx django-chainsaw-mcp
{
"mcpServers": {
"django-chainsaw-mcp": {
"args": [
"django-chainsaw-mcp"
],
"command": "uvx"
}
}
}
[mcp_servers.django-chainsaw-mcp]
command = "uvx"
args = ["django-chainsaw-mcp"]
{
"mcpServers": {
"django-chainsaw-mcp": {
"args": [
"django-chainsaw-mcp"
],
"command": "uvx"
}
}
}
{
"mcpServers": {
"django-chainsaw-mcp": {
"args": [
"django-chainsaw-mcp"
],
"command": "uvx"
}
}
}
This one needs environment variables set before it will start:
DJANGO_CHAINSAW_PROJECT_PATH (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_MODULE (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.).
The author declared them in the registry entry; get the values from the project itself.
Django ORM static analysis MCP. Models, relations, migrations, indexes, signals, N+1.
What breaks when you upgrade a package, and what to use instead - from official docs.
Inspect Mac and AI-tool storage, explain file activity, and clean safely with Trash and Undo.
Reads a migration, Prisma schema, Django model or TypeORM entity and marks every column a subject ac
Point-in-time amendment history for 506 UK legislation provisions.
19 date-aware checks on the [project] metadata that decides whether your next release uploads
Hyperscale Product reads and contract operations over MCP.
Names every column, index, view and seed row in a .sql migration that stores card data, with its PCI
Answers built from our own checks of this server.