Hi Nellie
There are 2 submitted records on the IGI for your James -
Middle Paisley, Renfrew - parents Matthew Muir and Margaret Stevenson.
Have you looked on ScotlandsPeople (pay to view) for a birth/baptism record.
http://www.scotlandspeople.gov.ukYou can search for free but have to pay to check the finding.
Searching for a James Muir 1822/23 in Middle Paisley, gives 1 match - but the record does not appear if I specify father mat* or mother margaret
Trish
Edit: There are 4 children born to Mat* and Margaret Muir 1824-1829 in Middle Paisley and 1 marriage between Mathew Muir and Margaret 1821 - but it doesn't appear to be Stevenson?
Sorry I have no credits to check