Mmcp.market

Sqlike MCP server

by orifisher2·io.github.orifisher2/sqlike-mcp·v0.1.1

SQL static analysis & query-equivalence for Postgres, MySQL, SQLite, and SQL Server

B83/100grade B
What users say
No reviews yet
Be the first
Safety scan
B83/100

full report

Adoption
Growing

6 stars40 downloads/wk

Reviews

Write one

Nobody has reviewed Sqlike yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Sqlike tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.9 · 2026-09-25 · same rubric, same numbers if you re-run it

no findings
  • Code scan2 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 2 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 83/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

What the publisher says

From the Sqlike repository's README, as published. We do not edit it. Read it on GitHub

sqlike: MCP server and CLI

Check your SQL before it runs, and check whether a rewrite still returns the same results.

sqlike reads a query and tells you what is wrong with it: validity errors, anti-patterns, rewrites it can apply for you, and index advice. It also compares two queries and reports whether the second one still returns the same results. There is no model anywhere in the analysis, so the same query always gets the same answer.

This repository holds the clients: an MCP server, a CLI, and the library they share. They tokenize your SQL locally, so identifiers and literals are masked before anything leaves your machine, and forward only the tokenized query. The analysis engine is not in this repo. It runs server-side and is closed.

Dialects: Postgres, MySQL, MariaDB, SQLite, SQL Server, and DuckDB. Each rule carries a verdict measured on that engine, so the severity you get is that database's behaviour and not Postgres by inheritance. DuckDB is the columnar one: it has no general-purpose secondary index, so the ten index advisors are replaced there by four columnar ones.

Why

A lot of SQL is written by an AI now, and the SQL it writes reads well more often than it runs correctly. A LEFT JOIN turns into an INNER and rows quietly disappear. A WHERE goes missing and the UPDATE hits every row. Two tables get joined on the wrong key. None of it looks wrong on the page, and none of it shows up until it has already done something.

sqlike is the check in between. It flags unsafe patterns from a catalog of 171 rules, each one verified against a real database before it ships, and it decides whether a rewrite preserves results. That second check is sound rather than complete: it certifies the rewrites it can prove, and when it cannot prove one it answers Undecided instead of guessing. Undecided never means equivalent.

Because nothing is generated, there is no retry loop, no per-token cost, and no variance between two runs on the same input. The equivalence check normalizes rather than solves, so it answers in about a millisecond where the state-of-the-art academic prover takes hundreds. That is measured head to head, including the queries where the prover wins.

Install the MCP server

Add it to any MCP client (Claude Code, Claude Desktop, Cursor, and so on):

{
  "mcpServers": {
    "sqlike": { "command": "npx", "args": ["-y", "@sqlike/mcp"] }
  }
}

Or install it through Smithery. Set SQLIKEAPIKEY if you have a key and want the higher rate limits. Without one you get the anonymous tier, which needs no signup.

Tools

analyze

Static analysis of one query: validity, anti-patterns, suggested rewrites, and schema and index advice. Returns the JSON analysis envelope.

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

Install directly

Runs npx -y @sqlike/mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add sqlike-mcp -- npx -y @sqlike/mcp
Add to Cursor

Sqlike: common questions

Is Sqlike MCP server safe?
Mostly: it is graded B (83/100). Read the Sqlike safety report
How do I install Sqlike?
It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
Does Sqlike need an API key?
Yes. The registry entry asks for SQLIKE_API_KEY.
Is Sqlike maintained?
The last commit was 4 days ago (2026-09-23). The latest release is v0.1.1.
What can I use instead of Sqlike?
Servers from other publishers that do the same job: DBHub MCP server, Amnesic MCP server and Quarry MCP server. Compare all Sqlike alternatives.

Alternatives to Sqlike

Same job from other publishers: the closest match first, then the best rated.

All Sqlike alternatives →
  • DBHub
    Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
    A
  • Amnesic
    Persistent semantic memory for SQL databases. Postgres, MySQL, MSSQL, SQLite.
    A
  • Quarry
    Safety-railed database access for agents: Postgres, MySQL, Redis. Read-only by default.
    A
  • gadak
    Ask a local SQLite mirror of your Jira and Confluence: SQL, full-text search, issue detail.
    A
  • PostgreSQL (hardened, read-only)
    Read-only PostgreSQL over MCP. Writes refused at the parsed SQL, plus a READ ONLY transaction.
    C

More from orifisher2 →