We describe an in-fiber interferometer based on a gas-filled hollow-core photonic crystal fiber. Expressions for the sensitivity, figure of merit and refractive index resolution are derived, and values are experimentally measured and theoretically validated using mode field calculations. The refractive indices of nine monoatomic and molecular gases are measured with a resolution of δns < 10-6.