# deepsql

> deepsql — deepsqlai-deepsql. Use this tool when you need to analyze and optimize your PostgreSQL or MySQL database using natural language queries. Deepsql solves problems such as schema exploration, slow query analysis, and index recommendations, providing outputs like generated dashboards and queries. It takes plain English inputs and is ideal for use cases where self-hosted and air-gapped database analysis is required.

Canonical page: https://skillsregistry.net/skills/deepsqlai-deepsql  
JSON: https://api.skillsregistry.net/v1/skills/deepsqlai-deepsql

## Description

The database agent for Postgres and MySQL - Point it at PostgreSQL or MySQL and ask questions in plain English — schema exploration, query generation, slow query analysis, index recommendations, generated dashboards. Self-hosted and air-gapped.

## Trust

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

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** container
- **Runtime environment:** vm
- **License:** Apache-2.0
- **Updated:** 2026-09-27

## Source

- **Source listing:** [GitHub](https://github.com/DeepSQLAI/deepsql)

## 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": "deepsqlai-deepsql"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/deepsqlai-deepsql` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/deepsqlai-deepsql/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
