Skip to main content
Glama

product-hunt-mcp

by jaipandya

get_user

Retrieve user details by ID or username, with optional access to their posts. Specify type and count of posts, and use pagination for additional results. Requires either ID or username to proceed.

Instructions

Retrieve user information by ID or username, with optional retrieval of their posts. Parameters: - id (str, optional): The user's unique ID. - username (str, optional): The user's username. - posts_type (str, optional): Type of posts to retrieve. Valid values: MADE (default), VOTED. - posts_count (int, optional): Number of posts to return (default: 10, max: 20). - posts_after (str, optional): Pagination cursor for next page of posts. At least one of `id` or `username` must be provided. Returns: - success (bool) - data (dict): If successful, contains user details and optionally their posts. - error (dict, optional) - rate_limits (dict) Notes: - Returns an error if neither `id` nor `username` is provided, or if the user is not found.

Input Schema

NameRequiredDescriptionDefault
idNo
posts_afterNo
posts_countNo
posts_typeNo
usernameNo

Input Schema (JSON Schema)

{ "properties": { "id": { "default": null, "title": "Id", "type": "string" }, "posts_after": { "default": null, "title": "Posts After", "type": "string" }, "posts_count": { "default": null, "title": "Posts Count", "type": "integer" }, "posts_type": { "default": null, "title": "Posts Type", "type": "string" }, "username": { "default": null, "title": "Username", "type": "string" } }, "title": "get_userArguments", "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