Two non-interpenetrated and isomorphous MOFs with nia topology, cationic JUC-101 and anionic JUC-102, are synthesized by connecting a trigonal prismatic metal cluster with an octahedral organic ligand. JUC-101 obtains a BET surface area of 3742 m(2) g(-1) and can absorb 4.18 wt% of H2 at 30 atm and 77 K, while JUC-102 can absorb cationic dye molecules and release them under the triggering of ions.