I'm not sure that this is fully doable with the current CAM-KP Frontend, but:
If we could agree on what the input/output format should look like, I might be able to write it into browser JavaScript.
It might be easier to create a command-line JavaScript tool that bulk-queries CAM-KP. We would still need to agree on input and output formats, but otherwise this might be easier to write and work with.
I'm not sure that this is fully doable with the current CAM-KP Frontend, but: