# Pagila MCP Server

> Use this tool when you need to interact with the Pagila sample PostgreSQL database using natural language or SQL queries, enabling safe data retrieval and text-to-SQL conversion for efficient data analysis. It solves problems of complex query formulation and data extraction, providing a user-friendly interface for executing SELECT operations. Ideal for use cases requiring ad-hoc data querying and exploration, it accepts natural language inputs and returns relevant data outputs.

Canonical page: https://skillsregistry.net/skills/karthikingithub-pagila-mcp  
JSON: https://api.skillsregistry.net/v1/skills/karthikingithub-pagila-mcp

## Description

Enables interaction with the Pagila sample PostgreSQL database through natural language queries and SQL execution, supporting safe SELECT operations and text-to-SQL conversion.

## Trust

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

## Facts

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

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/grywqrg6od)
- **Repository:** <https://github.com/karthikingithub/pagila-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": "karthikingithub-pagila-mcp"
    }
  }
}
```

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