At first light, the Thirty Meter Telescope (TMT) near-infrared (NIR) instruments will be fed by a multiconjugate adaptive optics instrument known as the Narrow Field Infrared Adaptive Optics System (NFIRAOS). NFIRAOS will use six laser guide stars to sense atmospheric turbulence in a volume corresponding to a field of view of 2′, but natural guide stars (NGSs) will be required to sense tip/tilt and focus. To achieve high sky coverage (50% at the north Galactic pole), the NFIRAOS client instruments use NIR on-instrument wave front sensors that take advantage of the sharpening of the stars by NFIRAOS. A catalog of guide stars with NIR magnitudes as faint as 22 mag in the J band (Vega system), covering the TMT-observable sky, will be a critical resource for the efficient operation of NFIRAOS, and no such catalog currently exists. Hence, it is essential to develop such a catalog by computing the expected NIR magnitudes of stellar sources identified in deep optical sky surveys using their optical magnitudes. This paper discusses the generation of a partial NIR Guide Star Catalog (IRGSC), similar to the final IRGSC for TMT operations. The partial catalog is generated by applying stellar atmospheric models to the optical data of stellar sources from the Panoramic Survey Telescope and Rapid Response System (Pan-STARRS) optical data and then computing their expected NIR magnitudes. We validated the computed NIR magnitudes of the sources in some fields by using the available NIR data for those fields. We identified the remaining challenges of this approach. We outlined the path for producing the final IRGSC using the Pan-STARRS data. We have named the Python code to generate the IRGSC as irgsctool, which generates a list of NGS for a field using optical data from the Pan-STARRS 3pi survey and also a list of NGSs having observed NIR data from the UKIRT Infrared Deep Sky Survey if they are available. irgsctool is available in the public domain on this GitHub public repository (https://github.com/sshah1502/irgsc), while the generated and validated IRGSC for the 20 test fields and additional Pan-STARRS Medium Deep Survey fields can be found on Zenodo.