A device for detecting a presence or concentration of an analyte on an egg shell or in an egg, the device comprising an emitter, wherein the emitter is configured to emit light into the egg, a detector, wherein the detector is configured to receive light emitted from an indicator molecule within the egg, a controller configured to analyze a change in a detectable quality of the indicator molecule based on the presence or concentration of the analyte.