# SqlAugur

SqlAugur lets AI clients inspect SQL Server with read-only queries, schema tools, diagrams, and diagnostics. It fits projects that need database access through MCP.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed · ★ 8
- Author: mbentham
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/mbentham/SqlAugur
- Updated: 2026-10-13
- HTML: https://affpapa.org/en/nevibecode/mcp/sqlaugur

## What it does

SqlAugur connects an MCP client to one or more named SQL Server connections. Only `SELECT` statements and CTEs are accepted. Each query is parsed into a complete T-SQL AST with Microsoft's parser, so comment-based tricks, string-literal escapes, and encoding workarounds are rejected before execution.

The server can map schemas, document tables, show dependencies, create PlantUML or Mermaid ER diagrams, and inspect estimated or actual execution plans. Optional integrations cover First Responder Kit, DarlingData, and `sp_WhoIsActive`. Tools are exposed progressively, while throughput and concurrency limits help contain repeated query calls.

The global tool requires the .NET 10.0 runtime. Store server connections in `appsettings.json`, then add `sqlaugur` to the MCP client configuration. The global installation cannot proceed without the required .NET runtime.

## Install

### Claude Code (native platform)

**Install**
- The MCP registry has no launch command for it: see the repository README

## When to use it
- run read-only SQL queries against a configured server
- inspect tables, keys, defaults, and constraints
- generate a PlantUML or Mermaid ER diagram
- examine an estimated or actual query plan
- diagnose SQL Server with optional DBA tools

## Example prompts
- Inspect the `production` database schema and list its keys and constraints.
- Run a read-only query that finds the latest rows in the target table.
- Create a Mermaid ER diagram for this database and explain its relationships.

## Similar
- [World Monitor](https://affpapa.org/en/nevibecode/mcp/world-monitor.md) — MCP server · ★ 89609
- [Scrapling MCP Server](https://affpapa.org/en/nevibecode/mcp/scrapling-mcp-server.md) — MCP server · ★ 89899
- [MCP Toolbox for Databases](https://affpapa.org/en/nevibecode/mcp/googleapis-mcp-toolbox-for-databases.md) — MCP server · ★ 16730
- [PostHog MCP Server](https://affpapa.org/en/nevibecode/mcp/posthog-mcp-server.md) — MCP server · ★ 40459
- [dbx](https://affpapa.org/en/nevibecode/mcp/dbx.md) — MCP server · ★ 27844
- [Metabase](https://affpapa.org/en/nevibecode/mcp/metabase.md) — MCP server · ★ 49863

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
