querytuner

AI-powered SQL query diagnostics across PostgreSQL, MySQL, Oracle, SQL Server and SQLite. No database connection required

A new way for AI to search for data
View on GitHub
40GitHub stars
334commits on master
1forks
v0.3.0latest release, 2026-08-28

Python 61.9%, JavaScript 37.7%, HTML 0.2%, Dockerfile 0.1% · created 2026-02-15 · last push 2026-10-28

What XERJ indexed

Snapshot

171 files · 1.7 MB

Only backend/app/tools, backend/tests, docs, frontend/src/components at commit 713653061b (2026-10-23). master is 80 commits ahead.

Selected work

“ddl and parser bug fixes”. 8 files, 538 lines in backend, frontend.

Licence

The repository

MIT

LICENSE file checked at the pinned commit; the author agreed to inclusion.

The XERJ corpus

MIT, with credit

The author agreed by email on 2026-10-29. Same terms as the repository. Answers name the repo, the commit and the file:line.

selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution

developer-toolsdevopsfastapilangchainllmmysqloraclepostgresql

Example questions

Inside the indexed corpus

Licence on GitHub and in the corpus

GitHub reported MIT for AutoShiftOps/querytuner on 2026-10-31, and the LICENSE file at commit 713653061b was reviewed as MIT. They match, so answers from this corpus carry the same terms as the live repository.

Contributors

Sudhakararao Sajja (@devops-den) has 1 selected repository on the hub.

Using XERJ with querytuner

The prompt

Paste it into your AI agent. It clones AutoShiftOps/querytuner at the pinned commit and indexes it on your machine.

Search the GitHub repository AutoShiftOps/querytuner with XERJ (https://hub.xerj.org/corpus/autoshiftops--querytuner).
Run these in a shell, in order, and check each result before the next:
1. xerj --help  (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh
2. git clone https://github.com/AutoShiftOps/querytuner querytuner && git -C querytuner checkout 713653061b3f99a779d96a6d3142e1e514e23c6b
3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data
4. xerj autoindex ./querytuner --url http://127.0.0.1:9200 --prefix querytuner --progress plain
5. xerj autoindex map --url http://127.0.0.1:9200
Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt
Licence: MIT. Keep the copyright notice and credit the authors.

Related

Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.