Two microporous metal-organic frameworks formulated as H2In3O(OH)3(1,3-bdc)3 (1) and HIn(1,4-bdc)2 (2) (bdc = benzenedicarboxylic) were designed and synthesized. Compound 2 shows a high adsorption selectivity for CO2 over N2 as well as a high stability.