Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

SQL

MCP server by limetry Verified · npm:@limetry

Gates write SQL on Postgres and Supabase by checking each action intent against a Limetry policy before it runs. Built for teams that want approval and audit control over agent database writes.

  • Score 79
  • 1 stars
  • 474 a week
  • MIT
  • Updated

Install SQL

Built from the published package, never by AI.

claude mcp add sql -- npx -y @limetry/sql

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install SQL in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the sql block.

About

The SQL package, @limetry/sql, is an MCP server for Postgres and Supabase that works as a write gate. The adapter owns DATABASE_URL. Before a write runs, it submits an action intent to a Limetry server, which returns allow, deny, or approval_required, along with reasons and a signed outcome receipt.

Limetry is open source under the MIT license and can run as a self-hosted node. Policies can allow or block action types and resource patterns, set cost caps, and require approval for high-risk actions. Audit records are privacy-safe by default. The source notes that outcomes are advisory until the agent loop or resource middleware enforces them, so the project suits teams that want governance over agent database writes.

Written from the project's README and checked against it.

What you need

  • A Postgres or Supabase database
  • A DATABASE_URL for the database
  • A Limetry server (self-hosted node)
  • npm to install the published packages

Try asking

  • Check this UPDATE statement against the write policy before running it
  • Ask for approval before any production table change goes through
  • Show the recent audit trail for database write attempts

Good to know

  • Outcomes are advisory by default and must be enforced in the agent loop or middleware
  • Agents can bypass Limetry unless downstream resources reject unverified actions
  • Audit stores a privacy-safe record with audit_mode=minimal by default

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

What you can do with it

  • Gate agent writes to a Postgres database
  • Require approval for risky SQL changes
  • Keep an audit trail of agent database actions

Alternatives to SQL

All alternatives →
Supabase supabase
97

Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.

AAA Local and remote 172k/wk
ArcadeDB MCP Server ArcadeData
94

ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.

AAA Local 1.3k
DBHubbytebase
94

Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.

AAA Local 343k/wk
MCP Toolbox for Databasesgoogleapis
94

MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.

AAA Local 17k
MCP Toolbox for Databasesgoogleapis
94

Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.

AAA Local 17k
mongodb-mcp-servermongodb-js
94

MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.

AAA Local 203k/wk

Compare with Supabase, ArcadeDB MCP Server or DBHub

SQL: common questions

Does Limetry block SQL writes on its own?

No. The source says outcomes are advisory by default. Enforcement has to happen in the agent loop, the adapter, or downstream middleware that rejects actions without a verified evaluation or approval.

What does the audit log store?

Audit stores a privacy-safe record, with audit_mode=minimal as the default. The source advises not to put secrets or chat transcripts in metadata or details.

Does the SQL adapter work with Supabase?

Yes. The source describes @limetry/sql as a Postgres and Supabase MCP write gate that owns DATABASE_URL.

How do I install SQL?

In Claude Code run claude mcp add sql -- npx -y @limetry/sql. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is SQL the official server?

SQL is published by npm:@limetry from its verified domain in the official MCP Registry.

Is SQL free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is SQL safe to use?

It scores 79 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to SQL?

Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.

Does SQL work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Add to stack

Loading.