There are many places to stay close to UCL. We recommend the YHA Hostels as they’re reliably clean and comfortable at reasonable prices. St Pancras is the closest, but Oxford Street, London Central and St Paul’s are all within a reasonable distance. There are also other non-YHA hostels and hotels available, but we have no personal experience with any of those.
Very local hostels:
YHA London St Pancras (recommended)