Pineapple weed (Matricaria discoidea DC.) is a widespread plant in Europe and North America. In ethnomedicine, it is well-known for its anti-inflammatory and spasmolytic activities. The aim of this research was to develop novel methods of M. discoidea processing to obtain essential oil and dry extracts and to investigate their phytochemical compositions. Moreover, the molecular docking of the main substances and the in vivo studies on their soporific and analgesic activities were conducted. The essential oil and two dry extracts from M. discoidea were prepared. A total of 16 phenolic compounds (seven flavonoids, seven hydroxycinnamic acids, and two phenolic acids) in the dry extracts were identified by means of UPLC-MS/MS. In the essential oil, nine main terpenoids were identified by gas chromatography (GC). It was shown that phenolic extraction from the herb was successful when using 70% ethanol in a triple extraction method and at a ratio of 1:14–1:16. The in vivo studies with rodents demonstrated the analgesic activity of the M. discoidea extracts and improvements in the sleep of animals. The dry extracts of M. discoidea did not show any toxicity. The molecular docking analysis showed a high probability of COX-1,2 inhibition and NMDA receptor antagonism by the extracts.