localhost-search v1.0
This add-on adds https://localhost/?q= as a search engine.
You will need to first run a search server of your own choosing on localhost. Then, configure your search preferences (in about:preferences, see screenshot), such that https://localhost/?q= is one of the possible search engines for your URL bar and search bar.
Search away!