# sql-mcp

> sql-mcp — teghoz-sql-mcp. Use this tool when you need to explore and query databases, or run arbitrary SELECT queries on SQL Server and PostgreSQL. It solves problems related to database discovery, schema analysis, and ad-hoc querying, providing a read-only interface to access database objects and execute queries. The tool takes database connections as input and outputs query results, making it ideal for use cases that require data inspection and analysis without modifying the underlying data.

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

## Description

A read-only MCP server for SQL Server and PostgreSQL that enables exploring and querying databases (schemas, tables, views, procedures, indexes, foreign keys) and running arbitrary SELECT queries.

## Trust

- **Trust score (0–1):** 0.68
- **Verification tier:** scanned
- **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/a3n87ol6cm)
- **Repository:** <https://github.com/teghoz/sql-mcp>

## 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": "teghoz-sql-mcp"
    }
  }
}
```

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