Disclosed is device for in vivo monitoring to detect infection associated with a prosthetically implanted device, such as a prosthetic knee. The device includes a sensor to detect the presence of one or more proteins secreted by body tissues in response to infection. The sensor may include a surface with a molecular imprint of the protein connected with a potentiometric or amperometric measuring device to detect when the protein bonds with the implanted surface. The device further includes an inductive coil coupled with a corresponding coil located outside the body. Electrical power for operating the measuring device and other circuitry is provided by inductive coupling between the coils. Signals indicating whether the protein is detected are communicated from the device to the external circuitry connected with the external coil.