mcp-unsplash

πŸ“ Collections and topics

Browse and search curated collections and Unsplash's editorial topics.

Every tool here accepts page (default 1) and, where it lists things, per_page (1 to 30, default 10).

Collections

ToolParametersReturns
list_collectionspage, per_pageArray of collection summaries
get_collectionidOne collection summary
get_collection_photosid, page, per_page, orientationArray of photo summaries
search_collectionsquery, page, per_pagetotal, total_pages, results
get_collection_relatedidArray of related collection summaries

A collection summary contains id, title, description, total_photos, a cover_photo (a photo summary, or null), the curating author and a link to the collection page.

orientation is landscape, portrait or squarish.

To pull a random image from a collection, pass its ID to random_photo via collections (see Photos).

Topics

ToolParametersReturns
list_topicspage, per_page, order_byArray of topic summaries
get_topicid_or_slugOne topic summary
get_topic_photosid_or_slug, page, per_page, orientationArray of photo summaries

order_by for list_topics is one of featured, latest, oldest or position.

A topic summary contains id, slug, title, description, total_photos, a cover_photo (or null) and a link. Topics can be addressed by either their ID or their slug, so get_topic_photos works with a slug such as nature.

On this page