Costco's giving is focused on Children, Education and Health and Human Services. Their grants are generally program or event based. Applicants must be IRS 501(c)(3) non profit organizations in the markets where they do business. Most friends or library foundations with 501c3 status would qualify, but not individual schools or government-run libraries.
For more information, visit the FAQ webpage and access the application.