# ChatSQL MCP Server

> Use this tool when you need to translate natural language queries into SQL commands for PostgreSQL databases. It solves the problem of complex query formulation by allowing users to ask questions in plain language, converting them into executable SQL queries using Google Gemini and executing via FastMCP. Ideal for users who want to access database information without needing to write SQL code, providing a user-friendly interface for data retrieval.

Canonical page: https://skillsregistry.net/skills/thomasjerard-chatsql  
JSON: https://api.skillsregistry.net/v1/skills/thomasjerard-chatsql

## Description

Enables natural language queries to PostgreSQL by converting questions to SQL using Google Gemini and executing via FastMCP.

## Trust

- **Trust score (0–1):** 0.69
- **Verification tier:** scanned
- **Last scanned:** 2026-09-01

## Facts

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

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/ww1ciuo193)
- **Repository:** <https://github.com/thomasjerard/ChatSQL>

## 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": "thomasjerard-chatsql"
    }
  }
}
```

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