Skip to main content
Glama

product-hunt-mcp

by jaipandya

get_post_details

Fetch detailed Product Hunt post data, including name, description, votes, makers, topics, media, and paginated comments, using the post's ID or slug.

Instructions

Retrieve detailed information about a specific Product Hunt post by ID or slug. Parameters: - id (str, optional): The post's unique ID. - slug (str, optional): The post's slug (e.g., "product-hunt-api"). - comments_count (int, optional): Number of comments to return (default: 10, max: 20). - comments_after (str, optional): Pagination cursor for fetching the next page of comments. At least one of `id` or `slug` must be provided. Returns: - success (bool): Whether the request was successful. - data (dict): If successful, contains: - id, name, description, tagline, votes, makers, topics, media, and - comments (paginated): { edges: [...], pageInfo: { endCursor, hasNextPage } } - error (dict, optional): If unsuccessful, contains error code and message. - rate_limits (dict): API rate limit information. Notes: - If neither `id` nor `slug` is provided, an error is returned. - If the post is not found, an error is returned. - The dedicated `get_post_comments` tool is deprecated; use this tool for paginated comments.

Input Schema

NameRequiredDescriptionDefault
comments_afterNo
comments_countNo
idNo
slugNo

Input Schema (JSON Schema)

{ "properties": { "comments_after": { "default": null, "title": "Comments After", "type": "string" }, "comments_count": { "default": 10, "title": "Comments Count", "type": "integer" }, "id": { "default": null, "title": "Id", "type": "string" }, "slug": { "default": null, "title": "Slug", "type": "string" } }, "title": "get_post_detailsArguments", "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