Skip to main content
Glama

product-hunt-mcp

by jaipandya

get_collections

Retrieve filtered collections from Product Hunt using criteria like featured status, user ID, post ID, and sorting order. Supports pagination and returns up to 20 collections per request.

Instructions

Retrieve a list of collections with optional filters. Parameters: - featured (bool, optional): Only return featured collections if True. - user_id (str, optional): Filter to collections created by this user ID. - post_id (str, optional): Filter to collections that include this post ID. - order (str, optional): Sorting order. Valid values: FOLLOWERS_COUNT (default), NEWEST. - count (int, optional): Number of collections to return (default: 10, max: 20). - after (str, optional): Pagination cursor for next page. Returns: - success (bool) - data (dict): If successful, contains: - collections (list): List of collection objects (id, name, etc.) - pagination (dict): { end_cursor, has_next_page } - error (dict, optional) - rate_limits (dict) Notes: - If no collections match, `collections` will be an empty list.

Input Schema

NameRequiredDescriptionDefault
afterNo
countNo
featuredNo
orderNoFOLLOWERS_COUNT
post_idNo
user_idNo

Input Schema (JSON Schema)

{ "properties": { "after": { "default": null, "title": "After", "type": "string" }, "count": { "default": 10, "title": "Count", "type": "integer" }, "featured": { "default": null, "title": "Featured", "type": "boolean" }, "order": { "default": "FOLLOWERS_COUNT", "title": "Order", "type": "string" }, "post_id": { "default": null, "title": "Post Id", "type": "string" }, "user_id": { "default": null, "title": "User Id", "type": "string" } }, "title": "get_collectionsArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jaipandya/producthunt-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server