You'll need an Electrum server for that.
Since it's on the same machine and you'll probably use it for personal use only, your best choice would be
Electrs.
There's also the very lightweight "
Electrum Personal Server" (
EPS link) but it's quite outdated and haven't been updated for 3years now.
What are your thoughts on Fulcrum[1] as an alternative to Electrs? Performance wise, per Sparrow Wallet analysis[2], it seems that there's no match for it:
For this reason, Fulcrum emerges as a clear winner in this benchmark. Although it takes slightly longer to index than Electrs, once that indexing is complete the benefits of a scalable and performant server will greatly outweigh this once-off cost, not only in query speed and reliability but in prolonging hardware lifespan.
[1]
https://github.com/cculianu/Fulcrum[2]
https://sparrowwallet.com/docs/server-performance.html