This thesis presents the development of a novel analysis instrument for performing highly sensitive electrochemistry mass spectrometry (EC-MS) measurements in real-time. The instrument is based on a micofabricated membrane chip which is used to establish a direct loss-free coupling between wet electrochemistry and the vacuum of a mass spectrometer, thereby enabling a high detection probability of volatile analyte species by the mass spectrometer. The instrument exhibits a higher sensitivity than conventional differential electrochemical mass spectrometry (DEMS), while maintaining a fast response time, making it highly suitable for electrochemistry studies. Incorporating the membrane chip into a stagnant thin-layer electrochemistry cell, 100% collection efficiency is ensured, which makes it possible to utilize the full dynamic range of a standard MS, and thereby analyze desorption phenomena during electrochemical measurements with sub-monolayer sensitivity. The membrane chip furthermore makes it possible to directly control the dissolved gas atmosphere experienced by the working electrode by dosing gases through the membrane. Thereby reactant gases can be introduced, either for steady-state electrocatalytic measurements, or by transiently perturbing the system with single pulses of reactant gas injections. The capabilities of the instrumentation are demonstrated by studying electrochemical hydrogen evolution (HER), oxygen evolution (OER), CO oxidation and CO stripping on polycrystalline platinum. The latter two are made possible by the transient and steady-state introduction of CO reactant gas, respectively, through the membrane. A mass transport model is used to describe the analyte transport from the surface of an electrode, through the stagnant thin-layer cell, through the membrane chip and into the mass spectrometer. By applying this model to HER, OER, CO oxidation and CO stripping experiments, it is demonstrated possible to match anticipated mass spectrometer signals based on current measurements on the electrode, to the actual measured mass spectrometer signal. This mapping function thereby directly couples mass spectrometer data with faradaic currents on the electrode surface. The EC-MS instrumentation presented herein is utilized to discover a new electrocatalytic phenomenon during electrochemical CO reduction: By exposing a copper catalyst to dioxygen prior to constant-potential electrolysis, a new reaction pathway towards methane production is temporarily established. The phenomenon is shown only to affect the formation of methane, leaving ethylene and hydrogen formation unaffected. Using density functional theory (DFT) it is demonstrated that adsorbed oxygen on surface sites adjacent to undercoordinated kink sites destabilizes the binding energy of CO, while stabilizing the binding energy of CHO due to a geometric tilting effect. This causes the initial protonation towards methane, which is otherwise known to be rate-limiting on kink sites, to become energetically favorable.