# SQL Query MCP Server

> Use this tool when you need to generate SQL queries from plain English or visualize database results. It solves problems related to complex query formulation and data analysis by allowing users to interact with PostgreSQL databases using natural language. The tool takes English queries as input and outputs SQL queries and visualized results, ideal for users who struggle with SQL syntax or need to quickly explore database contents.

Canonical page: https://skillsregistry.net/skills/rajeevchandra-mcp-ollama-postgres  
JSON: https://api.skillsregistry.net/v1/skills/rajeevchandra-mcp-ollama-postgres

## Description

A FastMCP server that enables natural language querying of PostgreSQL databases through LLM integration, allowing users to generate SQL queries from plain English and visualize the results.

## Trust

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

## Facts

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

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/hbriqbw2w5)
- **Repository:** <https://github.com/rajeevchandra/mcp-ollama-postgres>

## 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": "rajeevchandra-mcp-ollama-postgres"
    }
  }
}
```

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