Of course you can buy it, and it is not so expensive. But it is so simple and you can make it by yourself.
Step 1: Parts
To build this mechanical end-stop switch you will need :
1) 1x micro switch roller lever eBay
2) 1x 10k 0805 resistor
3) 1x 120R 0805 resistor
4) 1x 0.1uF 0805 ceramic capacitor
5) 1x led 1206
6) 0R 1206 jumper ( resistor)
7) copper board or perforated breadboard
Step 2: PCB Board and Schematic Diagram
Design printed circuit board (PCB), I was used ,,Sprint-Layout" software.