The main thing to worry about in water is total coliform, fecal coliform. Then you have nitrates, lead/copper if you have such pipes, pfos if you have said factories in the area. For farms the main one is nitrates and the coliforms.
Local labs will test them for about 30-50 per test. Or you can buy the test strips to give you an idea of what's going on.
A basic filtration would be a 30 micron filter, followed by a 5 micron filter, then an activated carbon filter. Activated carbon also pulls out pfos and taste and odors like low levels of sulfur. Any iron or manganese will need a special type of filter unit. Same with hard ess. That's usually in well water.
You can get a uv light if you have the voltage for it or sit it out in sunlight.
If you want to stick to that municipal water quality I suggest get a basic filtration going for your shower and grey/black water, then get you a simple reverse osmosis system for your drinking water. You can plumb the reverse osmosis(RO)filters under the sink and also plumb it to your ice maker on your fridge.
They have cheap basic water test kits. Gives you an idea of what's going on with your water. I seen folks build filtration ponds where each ponds contains filtration media that trickles into another pond. They add combinations of fish and plants to clean up the water.
Phytoremediation is a big key to pulling out or storing toxic chemicals from soil and waters. There so many common and so call invasive plants that pull out heavy metals and toxins in the soil. They utilize this is constructed wetlands and wetland restoration. And Superfund sites.