We present quantitative analyses of Wolf-Rayet stars in the cores of two giant Hii regions - HD97950 in NGC3603 and R136a in 30 Doradus - based on archive Hubble Space Telescope (HST) spectroscopy. We confirm previous WN6h+abs classifications for components A1, B and C in HD97950, while classifications for R136a1-3 are revised from O3If^*/WN6 to WN5h. From detailed non-local thermodynamic equilibrium analyses, we find that all Wolf-Rayet stars exhibit products of CNO-processed material at their surface since they are rich in both helium (H/He~3-6, by number) and nitrogen (N/He~0.002-0.006). Their luminosities, log(L/Lsolar)=6.0-6.3, are amongst the highest known for Wolf-Rayet stars. Consequently they are very massive stars (M_init>=100Msolar) at a relatively low age (~2Myr), reminiscent of the late WN stars in the Carina Nebula. We obtain a revised distance modulus of 15.03mag (=10.1kpc) to NGC3603 based on available photometry, an updated M_v calibration for early O stars and a reddening of E(B-V)=1.23mag towards its core. From a census of the massive stellar content of the two central clusters we conclude that their global properties are comparable. We evaluate the contribution made by Wolf-Rayet stars to the total Lyman continuum ionizing flux and kinetic energy released into the ISM. We discuss how simple calibrations can be used to estimate stellar luminosities, ionizing fluxes and mass-loss rates of luminous OB stars. Wolf-Rayet stars provide ~20 per cent of the total ionizing flux (~1.3x10^51 Ly photons^-1) within 0.5pc of their cores, and ~60 per cent of the total kinetic energy injected into the ISM (5-6x10^38ergs^-1), despite representing only 10 per cent of the massive stellar population. For the larger R136 cluster in 30 Doradus (r<=10pc), 117 massive stars provide a total ionizing flux of 4x10^51 Ly photons^-1 and release a total kinetic energy of 1.6x10^39 ergs^-1 into the ISM, the latter being dominated by nine WR (43 per cent) and six O3If^*/WN (29 per cent) stars.