What you may wish to consider is a "strainer." The ones I've seen (at work, mostly) are an inline fitting with a stainless steel sleeve inside. The sleeve is a screen of a particular mesh size. There are numerous mesh sizes available, so you can pick the best one for your application. You may even wish to have a couple (or more) in series to trap the finer particles.
McMaster-Carr carries them, and has a variety of screens available. You may wish to have one or two extra screens on hand for each strainer you have.
They do need to be cleaned periodically, which is easily done by shutting off the line, removing the screen cover plate, and removing the screen. You then either replace the screen with a clean one, or you clean the one you removed. This is usually done by brushing it off with a wire brush, rinsing it, then putting it back in. Once a clean screen is installed, you put everything back together and turn the water back on.
Here's link to some info on the McMaster Carr website (about halfway down the page):
http://www.mcmaster.com/#about-strainers/=f2zmnl