Over the weekend I made a PouchDB plugin that transparently encrypts and decrypts your data so that only encrypted data is sent during replication, while encrypted data that you receive is automatically decrypted. This way, a server can't (easily) know anything about your data, but you can still query your data as usual.
It's called ComDB: https://github.com/garbados/comdb