Quarry runs on your own machine — the client starts it, so there is no endpoint to ping. 394 installs a week from pypi. Last commit 30 Nov 2026.
Safety-railed database access: Postgres, MySQL, SQLite, Redis. Read-only by default.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add quarry -- uvx --from quarry-db==2.0.1 qy mcp
{
"mcpServers": {
"quarry": {
"command": "uvx",
"args": [
"--from",
"quarry-db==2.0.1",
"qy",
"mcp"
]
}
}
}
[mcp_servers.quarry]
command = "uvx"
args = ["--from", "quarry-db==2.0.1", "qy", "mcp"]
{
"mcpServers": {
"quarry": {
"command": "uvx",
"args": [
"--from",
"quarry-db==2.0.1",
"qy",
"mcp"
]
}
}
}
{
"servers": {
"quarry": {
"type": "stdio",
"command": "uvx",
"args": [
"--from",
"quarry-db==2.0.1",
"qy",
"mcp"
]
}
}
}
We read the source, 8 h ago · rules 995398eba69f
A value the model can set ends up inside a file or shell call. That is not a flaw by itself — for a terminal server it is the job — but it is where things go wrong when it is not.
proc = subprocess.run(cmd, capture_output=True, text=True, timeout=15)
Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.
proc = subprocess.run(cmd, input=sql, capture_output=True, text=True, timeout=timeout, env=env)
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
proc = subprocess.run(cmd, input=sql, capture_output=True, text=True, timeout=timeout, env=env)
if tokio::time::Instant::now()>=next_update {
next_update=tokio::time::Instant::now()+Duration::from_secs(1800);
paths.extend(sorted(w.queries_dir.rglob("*.sql")))
files.extend(ssh_home / name for name in ("id_rsa", "id_ecdsa", "id_ed25519"))
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
That is not a flaw by itself — but it is where things go wrong when it is not the job. We re-read this code on every release. Watch it and you hear from us the day another one appears.
Explore and query PostgreSQL, SQL Server, Oracle, MySQL, SQLite and more. Read-only by default.
An MCP server for read-only access to the PDQ Deploy SQLite database.
Security-first MySQL MCP server: read-only by default, with a fail-closed SQL classifier.
MCP server for database connectivity with PostgreSQL, MySQL and SQLite.
Persistent semantic memory for SQL databases. Postgres, MySQL, MSSQL, SQLite.
A MCP server provides SQL database access with support for PostgreSQL, MySQL, and SQLite.
Safe, read-only database access for AI agents. 5 databases, batch queries, SQLGlot.
Minimal, read-only, PII-safe MCP server for SQL databases.
Answers built from our own checks of this server.