0
You need to find natural dungeons or caves. There will be a chance that a monster spawner will be in there.
The mob spawner cage's official item number is: 52
Make sure that the light level is above 7, and that there is grass near the spawner.
Unfortunately, using the /give command will only give you a pig spawner.
Right click on the weapon spawner.