The invention relates to a device for metering a granular or grainy material in a distributor machine, comprising a housing; an inlet opening which is formed on the housing and through which a granular or grainy material can be introduced in the housing for metering; an outlet opening which is formed on the housing and through which the granular or grainy material can be discharged out of the housing after metering; a metering space which is formed in the housing in such a way that granular or grainy material in the housing can be moved from the inlet opening via the metering space to the outlet opening; a metering wheel which is arranged in the metering space on a drive shaft, and which is configured to meter the granular or grainy material supplied via the inlet opening; a mounting opening which is formed on the housing and via which the metering wheel can be exchangeably mounted in the metering space; and a mounting component which is detachably arranged in the mounting opening in a mounted position, and this in turn is arranged at least partially welded onto the housing, wherein the mounting component has a receiving unit for detachably receiving the metering wheel, in such a way that the metering wheel received on the receiving unit is mounted on the drive shaft when arranging the mounting component in the mounted position, and in such a way that, when detaching the mounting component from the mounted position, the metering wheel is forcibly detached from the drive shaft (6), such that the metering wheel can be removed from the metering space in this way and can be detached from the housing together with the mounting component. A distributor machine is also provided for distributing a granular or grainy material, such as seeds, fertiliser or grit.