A gas chromatograph may do for the mineral content, assuming you can get small enough representative samples.
The organic carbon content is a different thing, no idea how to do. It'll be quite tricky as it doesn't dissolve in water and is usually not very homogeneous so you need larger sample (as in, by the bucket).