Public log

@sqlike/mcp

Gives an agent a second opinion on the SQL it writes: validity, anti-patterns, index advice, and whether a rewrite changed the results. Postgres, MySQL, MariaDB, SQLite, SQL Server and DuckDB. Queries are tokenized before they leave the machine.

npm · fingerprint 8cf54ab1c1ec027a20cc6adc · repository · RSS

2tools
3recorded versions
10dtracked
changed 5d ago

What changed

Changed 2026-11-27 16:48 UTC

1 description rewritten.

--- pinned/analyze
+++ observed/analyze
  {
-   "description": "Use when you write, edit, or review a SQL query and want it checked before it runs. Returns SQLike's deterministic analysis as JSON: validity errors, anti-patterns, rewrites, and schema and index advice. Optional inputs: schema DDL for column and type checks, table row counts (stats) so severity follows volume, an EXPLAIN plan so index findings are confirmed or dismissed by what the planner did, and dialect (postgres by default, mysql, mariadb, sqlite, mssql, duckdb). DuckDB is columnar, so its severities and index advice differ. The query is tokenized on the machine before it is sent: identifiers and literals are replaced with placeholders. A query that does not parse is answered locally with a parse-error finding that names the mistake, or the construct SQLike does not support yet, and nothing is sent. A query that holds text that cannot be masked is refused. On that refusal, ask the user whether to send the raw query, and only then call again with allow_raw=true",
+   "description": "Use when you write, edit, or review a SQL query and want it checked before it runs. Returns SQLike's deterministic analysis as JSON: validity errors, anti-patterns, rewrites, and schema and index advice. Optional inputs: schema DDL for column and type checks, table row counts (stats) so severity follows volume, an EXPLAIN plan so index findings are confirmed or dismissed by what the planner did, and dialect (postgres by default, mysql, mariadb, sqlite, mssql, duckdb). DuckDB is columnar, so its severities and index advice differ. The query is tokenized on the machine before it is sent: identifiers and literals are replaced with placeholders. A query that does not parse is answered locally with a parse-error finding that names the mistake, or the construct SQLike does not support yet, and nothing is sent. A query that holds text that cannot be masked is refused, and nothing is sent",
    "inputSchema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
-       "allow_raw": {
-         "default": false,
-         "description": "Only matters when the query holds text that cannot be masked, such as a password in\n`ALTER USER`. Set true to send the raw SQL to the server anyway. The default, false,\nrefuses. Ask the user before setting it.",
-         "type": "boolean"
-       },
        "dialect": {
          "default": null,
          "description": "SQL dialect: \"postgres\" (default), \"mysql\", \"sqlite\", \"mssql\", \"mariadb\", or \"duckdb\".",

Changed 2026-11-23 18:15 UTC

1 description rewritten.

--- pinned/diff
+++ observed/diff
  {
-   "description": "Use to check that two SQL queries are equivalent, whenever you rewrite, refactor, or optimize a query and need to know it still returns the same results. Reading the two queries does not prove that. Returns SQLike's deterministic verdict as JSON: an overall result (Equivalent, EquivalentWithNotes, Differs, Undecided or NotComparable), a confidence level, and a report per property (columns, rows, cardinality, order). Undecided does not mean equivalent. If one query is invalid (a missing table or column, an ambiguous reference) the pair is Differs, because a query that does not run cannot return the same rows as one that does. If both are invalid it is NotComparable, with a reason for each. A query that does not parse is refused with the reason: the mistake, or the construct SQLike does not support yet. Both queries share one optional schema DDL. Dialect is postgres by default, or mysql, mariadb, sqlite, mssql, duckdb. Columns are compared in order (the SQL standard), so moving a column is a difference. Pass columns \"by_name\" when the caller reads columns by name.",
+   "description": "Use to check that two SQL queries are equivalent, whenever you rewrite, refactor, or optimize a query and need to know it still returns the same results. Reading the two queries does not prove that. Returns SQLike's deterministic verdict as JSON: an overall result (Equivalent, EquivalentWithNotes, Differs, Undecided or NotComparable), a confidence level, and a report per property (columns, rows, cardinality, order). Undecided does not mean equivalent. If one query is invalid (a missing table or column, an ambiguous reference) the pair is Differs, because a query that does not run cannot return the same rows as one that does. If both are invalid it is NotComparable, with a reason for each. A query that does not parse is refused with the reason: the mistake, or the construct SQLike does not support yet. Both queries share one optional schema DDL. Dialect is postgres by default, or mysql, mariadb, sqlite, mssql, duckdb. Columns are compared in order (the SQL standard), so moving a column is a difference. Pass columns \"by_name\" when the caller reads columns by name. Two queries that sort their rows by different keys are Undecided, since the rows can arrive in another sequence; pass ignore \"order\" when the caller does not depend on row order.",
    "inputSchema": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
+       "ignore": {
+         "default": null,
+         "description": "\"order\" when the caller does not depend on the order the rows arrive in: two queries that\nsort differently are then a note rather than undecided.",
+         "type": [
+           "string",
+           "null"
+         ]
+       },
        "schema": {
          "default": null,
          "description": "Optional schema DDL both queries resolve against. There is one schema, because a comparison\nover two different schemas has no defined answer.",

Current tools

Show all 2 tool fingerprints
analyze
479105cde25920c3
diff
8a497f656ab60b47

Watch this server yourself

If you run this server, put the proxy in front of it. It pins these exact fingerprints on first connect and stops the session if they move.

npx -y mcp-pin@0.2.4 -- <your @sqlike/mcp command>

Or subscribe to this page's RSS feed to be told when it changes.

Badge

mcp-pin status badge for @sqlike/mcp

The badge states one fact about time and nothing else. It never claims a server is safe.

[![mcp-pin](https://mcp-pin.gautamkhosla.com/badge/02a9f5924e1ceaf9.svg)](https://mcp-pin.gautamkhosla.com/servers/02a9f5924e1ceaf9.html)