# Qorx: how much surrounding code should a local retrieval tool return?

Source: https://gitshowcase.com/forum/discuss/qorx-how-much-surrounding-code-should-a-local-retrieval-tool-return/
Site: GitShowcase Forum, category Show Your Project for Feedback
Published: 2026-11-24. Updated: 2026-11-24. Replies: 0.

## Question by Marvin, 2026-11-24

I maintain Qorx, a local repository indexing tool for coding assistants, and would appreciate feedback on its retrieval and docs. The open-source Rust CLI includes an MCP server; Qorx Void is the separate Windows app.

One concrete lookup: where does Express reject a relative path passed to res.sendFile() without options.root? In the pinned Express source, lib/response.js lines 396–398 check for a root and an absolute path, then throw the TypeError: https://github.com/expressjs/express/blob/cf6722bf89a86905281d9160b6482e08166b5ef0/lib/response.js#L396-L398

Qorx indexes the repository locally and returns matching source lines with paths and line numbers, so I can inspect the evidence. A short match is a starting point: I still check the surrounding function when context matters.

Repo and instructions: https://github.com/bbrainfuckk/qorx
Windows app and trial: https://apps.microsoft.com/detail/9NDC66CH9VL8

I'd especially like feedback on two questions: how much surrounding code should a retrieval result include when the match falls inside a long function, and what is missing from the README for a first MCP setup?

---
Cite as: GitShowcase Forum, "Qorx: how much surrounding code should a local retrieval tool return?", https://gitshowcase.com/forum/discuss/qorx-how-much-surrounding-code-should-a-local-retrieval-tool-return/, accessed 2026-11-24.
