CLI, MCP server, GitHub Action and pre-commit hook for sqlike: deterministic SQL analysis and query-equivalence checking. Tokenizes locally, so your real table names and values never leave your machine.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add sqlike --env SQLIKE_API_KEY='<SQLIKE_API_KEY>' -- npx -y @sqlike/mcp~/.codex/config.toml
[mcp_servers.sqlike]
command = "npx"
args = ["-y", "@sqlike/mcp"]
env = { SQLIKE_API_KEY = "<SQLIKE_API_KEY>" }
# codex mcp add sqlike --env SQLIKE_API_KEY='<SQLIKE_API_KEY>' -- npx -y @sqlike/mcp~/.cursor/mcp.json
{
"mcpServers": {
"sqlike": {
"command": "npx",
"args": [
"-y",
"@sqlike/mcp"
],
"env": {
"SQLIKE_API_KEY": "<SQLIKE_API_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"sqlike": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@sqlike/mcp"
],
"env": {
"SQLIKE_API_KEY": "<SQLIKE_API_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"sqlike": {
"command": "npx",
"args": [
"-y",
"@sqlike/mcp"
],
"env": {
"SQLIKE_API_KEY": "<SQLIKE_API_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"sqlike": {
"command": "npx",
"args": [
"-y",
"@sqlike/mcp"
],
"env": {
"SQLIKE_API_KEY": "<SQLIKE_API_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"sqlike": {
"command": "npx",
"args": [
"-y",
"@sqlike/mcp"
],
"env": {
"SQLIKE_API_KEY": "<SQLIKE_API_KEY>"
}
}
}
}Environment variables
SQLIKE_API_KEY
Replace the placeholders with your own credentials and keep them out of version control.