Zoe,
A birth in 1805 is well before the start of statutory birth registration in Ireland (1864). So you need to rely on church records, where they exist. You don’t say what denomination your McGrath family was but I presume RC. If Denis came from Co. Down, then unfortunately I don’t know of any parishes in the county that have baptism records that go back to 1805. So if you don’t have any information on where in the county that he came from, that combined with the general lack of church records makes it very difficult indeed.
It’s a very common surname in Co Down, so that doesn’t help either. (541 McGrath in the 1901 census, plus 47 McGraw, and there are other variants too).