LocalFree

SQL Preview MCP server

fadnavismehul/sql-preview

Run governed SQL queries and inspect database schemas from MCP agents.

320 npm downloads / month

Install SQL Preview in Claude Code

Claude Code
claude mcp add sql-preview -- npx -y sql-preview
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "sql-preview": {
      "command": "npx",
      "args": [
        "-y",
        "sql-preview"
      ]
    }
  }
}

Frequently asked questions

What does the SQL Preview MCP server do?

Run governed SQL queries and inspect database schemas from MCP agents.

Is the SQL Preview MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does SQL Preview run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add SQL Preview to Claude Code?

Run: claude mcp add sql-preview -- npx -y sql-preview

More databases MCP servers

View all