A molecular flytrap for the selective binding of citrate and other tricarboxylates in water.