From the English Wikipedia page 
Medze parish (Latvian: Medzes pagasts) is an administrative unit of the Grobiņa Municipality, Latvia. The parish has a population of 1558 (as of 1/07/2010) and covers an area of 109.2 km2.
Parish center - Kapsēde.
Medzes parish was formed around 1900.
Prior to the 2009 reforms it was in Liepāja District.
More information on the Latvian Wikipedia page