# sqlfluff-mcp-server

> sqlfluff-mcp-server — gswartwood-sqlfluff-mcp-server. Use this tool when you need to lint, fix, and parse SQL code, enabling automated code review and formatting for improved database query quality. It solves problems of inconsistent SQL code style, syntax errors, and formatting issues, providing a standardized interface for MCP-aware clients. The tool accepts SQL code as input and outputs linting results, fixed code, and parse trees.

Canonical page: https://skillsregistry.net/skills/gswartwood-sqlfluff-mcp-server  
JSON: https://api.skillsregistry.net/v1/skills/gswartwood-sqlfluff-mcp-server

## Description

MCP server that exposes SQLFluff's linting, fixing, and parsing capabilities, enabling MCP-aware clients to lint and fix SQL directly.

## Trust

- **Trust score (0–1):** 0.70
- **Verification tier:** verified
- **Last scanned:** 2026-08-29

## Facts

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

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/dcuf1cype0)
- **Repository:** <https://github.com/gswartwood/sqlfluff-mcp-server>

## 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": "gswartwood-sqlfluff-mcp-server"
    }
  }
}
```

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