Quarry
Safety-railed database access: Postgres, MySQL, SQLite, Redis.
Connector by yiminspace · GitHub account verified by the MCP Registry
Install
Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.
npx agentmarket install connector/yiminspace-quarry
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: database-access
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.
- Tools
- 7 read · 1 write · 0 delete · 1 not yet classified
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Tools by what they do 9
Read from the source code; the running server may list different tools.
Read 7 · Look things up without changing anything.
describe_saved_querydescribe_tableexec_sqllist_connectionslist_saved_querieslist_tablesping_connection
Write 1 · Create, change, send or run things.
save_query
Not yet classified 1 · We could not tell from the name and description.
run_saved_query
Network hosts it talks to 2
github.com· found in codeyiminspace.github.io· found in code
Files it touches
/opt/homebrew/bin/redis-cli/opt/homebrew/opt/postgresql@13/bin/psql- Your home directory (~)
~/.cache/quarry/gui-cache.json~/.config/quarry~/my-workspace~/workspace/.../dbq
Tools (9)
Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].
describe_saved_queryRead a saved query's SQL, parameters, tags, source metadata and file path without executing it.
describe_tableColumn names, types and nullability for one table.
exec_sqlExecute SQL (or a redis command) against a database and get a structured result {columns, rows, rowCount, truncated, elapsedMs}. READ-ONLY by default: writes/DDL fail with code 8 unless you pass write=true AND the server was started with --write; a configured production connection additionally requires confirm_prod=true. SELECTs without LIMIT get an automatic LIMIT (max_rows, default 500).
list_connectionsList all configured database connections, grouped into project folders and env-sets (same logical db across dev/prod/...). Start here to learn which `db` keys exist.
list_saved_queriesList the workspace's saved named queries (name, target db, params).
list_tablesList tables of a database (or keys for a redis connection).
ping_connectionProbe one configured connection using SELECT 1 / Redis PING / openCypher RETURN 1. Returns ok, elapsed_ms and a sanitized failure category. Does not run saved SQL or change configuration. Timeout bounds connection setup and probe execution separately, not total wall time.
run_saved_queryRun a saved named query by name, with `params` as {name: value}.
save_querySave SQL to a workspace query file WITHOUT executing or validating SQL. Available without server --write (that flag controls database writes only). Existing files require overwrite=true. With multiple workspaces, pass an exact workspace path from list_connections.workspaces; db must belong to it. Query names must be unique across configured workspaces.
Compare and alternatives
Featured in
Signals
- Stars
- 4
- Forks
- 0
- Open issues
- 0
- Weekly downloads
- 475
- Last commit
- Oct 20, 2026 (8 days ago)
- Last release
- Oct 20, 2026 (8 days ago)
- Last package publish
- Oct 20, 2026 (8 days ago)
From GitHub (fetched Oct 24, 2026) and the package registry.
Details
- Registry name
io.github.yiminspace/quarry- Version
- 1.11.0
- Auth
- No auth
- Packages
- pypi quarry-db
- License
- MIT
- Repository
- github.com/yiminspace/quarry
- Website
- yiminspace.github.io/quarry/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
Cite this page
Quarry MCP server. Agent Mart. https://agentmart.dev/connectors/yiminspace-quarry (last updated 2026-10-24)