Skip to content
MCP server
Registry

quarry MCP Server

Safety-railed database access: Postgres, MySQL, SQLite, Redis. Read-only by default.

quarry scores 66 (Good), licensed MIT and written in Python. It installs as a local process. It does not declare tools yet. Filed under Databases. GitHub shows 5 stars. Package registries report about 122 downloads a week. Install configs are generated for 10 clients. Being listed in the registry is not the same as being vendor-official.

by wangggymMITPython5 stars
Trust score
66Good
Trust score 66 of 100, Good

Good trust

66 of 100 from six public signals. Nobody can buy a point.

  • Listed in the official MCP registry.
  • OSI-style license: mit.
How we score trust
Scorecard

License, quality and maintenance

How grades work
Trust breakdown

Where the 66 comes from

22 + 20 + 3 + 10 + 4 + 7 = 66. Each factor is capped, so no single signal can carry a listing.

Registry22 / 30

Active in the official MCP registry, plus a known vendor namespace.

Registry: 22 of 30 points.
Maintenance20 / 20

How recently the repository saw a commit or release.

Maintenance: 20 of 20 points.
Popularity3 / 20

GitHub stars and weekly downloads, on a log scale.

Popularity: 3 of 20 points.
License10 / 10

A clear, OSI-style open-source license.

License: 10 of 10 points.
Security4 / 10

Not archived, a secure install path, a pinned version.

Security: 4 of 10 points.
Docs7 / 10

A real summary, a README with depth, listed tools.

Docs: 7 of 10 points.

Install

Pick your client, copy the config, paste it in.

Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.

~/Library/Application Support/Claude/claude_desktop_config.json
{  "mcpServers": {    "wangggym-quarry": {      "command": "uvx",      "args": [        "quarry-db"      ]    }  }}

Environment variables

This server does not declare environment variables.

Tools show up when the registry metadata or the repository README lists them. Public READMEs are read directly. A GitHub token is used only when one is already configured.

About

Quarry 2

A native database workbench: one reusable Rust kernel, CLI, browser GUI and MCP. PostgreSQL, MySQL, SQLite, Redis and experimental Neptune; explicit query/write policies, SSH tunnels, saved queries, local Docker services and a SQL assistant.

Install

Quarry 2.x ships as a native Rust executable.

curl -fsSL https://yiminspace.github.io/quarry/install.sh | sh
qy --version
qy gui

Or download a native archive and SHA256SUMS from GitHub Releases. The native executable needs neither Python nor a Rust toolchain. Supported: macOS/Linux arm64/x86_64; Linux glibc 2.28+. See install and upgrade.

Installer-managed copies can download new stable versions in the background. The next launch activates the verified update. Run qy update to update now.

Use

Run qy gui stop from another terminal to shut down the local standalone GUI. Use the same --config, --workspace, --host, and --port overrides as at launch. If you started with --port 0, use the port in the printed GUI URL.

qy --workspace /path/to/workspace connections
qy --workspace /path/to/workspace exec shop --env dev --sql 'SELECT 1'
qy --workspace /path/to/workspace mcp

Workspaces contain connections.toml and reusable SQL query files. Actual credentials remain local. GUI queries stay read-only; CLI writes require --write and production confirmation. MCP writes require both server and request authorization. SQLite opens existing files; it never invents a database when a connection path is wrong. Assistant proposals never execute themselves.

Ordinary queries use native database drivers. SSH needs system ssh; Local services need Docker, and PostgreSQL schema sync needs pg_dump/psql.

Rust and Python

Rust owns main and all 2.x distribution. quarry-core, quarry-runtime, quarry-local, quarry-assistant and quarry-service can be embedded directly in host applications. Architecture.

For a hosted workbench, the official Docker image serves the GUI, authentication, read-only API and execution from one configuration file. Use a built-in administrator or configure an existing platform's IAM. Standalone qy runs locally with its own workspaces. See the hosting guide for deployment, access grants and offline behavior. The Rust SDK remains available for advanced embedding.

Python 1.11.0 is preserved at its tag and the protected archive/python-1.x branch. Python import APIs do not ship in 2.x. The Python source retained in this checkout is a development/test baseline, not a runtime dependency or published Python implementation. Existing configuration, saved queries and histories are read by Rust. See upgrade instructions before changing installer ownership.

Build and verify

For frontend development, start the Rust workbench and Vite in separate terminals.

qy gui --no-browser
cd web
npm ci
npm run dev

Open the Vite URL ending in /quarry/. Vite reloads frontend changes and forwards /api to the local Rust workbench on port 8765. If qy gui uses a different port, start Vite with QUARRY_DEV_API_PORT=<port> npm run dev.

For a native build and the existing test workflow:

cd web && npm ci && npm run build && cd ..
cargo build --release --locked -p quarry-cli
cargo test --workspace --all-targets --locked

GUI feature matrix · Compatibility · Verification boundaries · 中文

Frequently asked questions

What is quarry MCP Server?

Safety-railed database access: Postgres, MySQL, SQLite, Redis. Read-only by default.

How do I install quarry MCP Server in Claude Desktop, Cursor, or VS Code?

Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. quarry MCP Server runs locally from the PyPI package quarry-db with the command uvx quarry-db.

Is quarry MCP Server free and open source?

Yes. quarry MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.

Does quarry MCP Server support remote (HTTP) connections?

No remote endpoint is listed for quarry MCP Server. It runs locally on your machine over stdio, started by your MCP client.

How is quarry MCP Server's trust score calculated?

quarry MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.

Reviews

No reviews yet

—Be the first to review

5 star0 reviews at 5 stars
4 star0 reviews at 4 stars
3 star0 reviews at 3 stars
2 star0 reviews at 2 stars
1 star0 reviews at 1 stars

No published reviews yet. Used it? Tell the next person how it went.

Add badge to your README

Paste either snippet into the repository README. The image links to this listing.

Listed on MCPpedia

Top 5 MCP servers

Daily or weekly. Confirm by email, unsubscribe any time.

How often

Manage this listing

Claim this server