Just place this block inside a village and it will give you access to all the trades for the villagers within range.
If the block is within the range of a village it will automatically detect that and show a list of all the villagers in said village. (ie. all EntityVillager within {village radius} blocks from {village center position})
If not, it will show all villagers in a 16 blocks radius around the block.
Show simple GUI information:

L - list of villager types found in the village
A - number of times the recipe can be used with the current inventory
B - maximum number of times the villager allows you to use this recipe
C - click to use the recipe once
D - click to use the recipe the maximum amount of times
E - toggle showing all recipes or only the ones that can be used at least once
Show recipe:

If you feel the need to talk dirty to the developer:
MMD Cat Mods - Discord <-- use this or github issues instead of curse comments
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on CurseForge — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
Villager Market is a free Minecraft Java mod. Downloaded 3,032,160 times (via CurseForge). Download it and open it directly in the game.