# django-mcp-sql

> Use this tool when you need to securely query a PostgreSQL database from an LLM agent, providing a read-only SQL interface with defense-in-depth security layers to prevent malicious queries. It solves problems related to safe data access and retrieval, allowing agents to fetch data without compromising database security. The tool accepts SQL queries as input and returns query results as output, ideal for use cases where LLM agents require controlled access to sensitive data.

Canonical page: https://skillsregistry.net/skills/thepapermen-django-mcp-sql  
JSON: https://api.skillsregistry.net/v1/skills/thepapermen-django-mcp-sql

## Description

Provides a read-only PostgreSQL SQL surface for LLM agents via MCP, with defense-in-depth security layers for safe database queries.

## Trust

- **Trust score (0–1):** 0.60
- **Verification tier:** unverified

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-06-12

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/z3ic4xrupm)
- **Repository:** <https://github.com/thepapermen/django-mcp-sql>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "thepapermen-django-mcp-sql"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/thepapermen-django-mcp-sql` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/thepapermen-django-mcp-sql/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
