Product Hunt MCP Server
Provides tools for accessing and querying Product Hunt data, including posts, collections, users, topics, comments, goals, maker groups, and viewer information via the Product Hunt API v2 (GraphQL).
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Product Hunt MCP Server Get today's featured Product Hunt posts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Product Hunt MCP Server
An MCP (Model Context Protocol) server that provides access to Product Hunt data through the Product Hunt API v2 (GraphQL).
Quick Start
npx @yilin-jing/producthunt-mcpRelated MCP server: graphql-mcp
Features
This MCP server provides comprehensive access to Product Hunt data including:
Post Operations
get_post - Get a Product Hunt post by ID or slug
get_posts - Get posts with filtering and ordering options
search_posts - Search posts by query
Collection Operations
get_collection - Get a collection by ID or slug
get_collections - Get collections with filtering options
User Operations
get_user - Get a user by ID or username
get_user_posts - Get posts made by a specific user
get_user_voted_posts - Get posts upvoted by a specific user
Topic Operations
get_topic - Get a topic by ID or slug
get_topics - Get topics with filtering options
Comment Operations
get_comment - Get a comment by ID
get_post_comments - Get comments on a specific post
Goal Operations
get_goal - Get a maker goal by ID
get_goals - Get maker goals with filtering options
Maker Group Operations
get_maker_group - Get a maker group (Space) by ID
get_maker_groups - Get maker groups with filtering options
Viewer Operations
get_viewer - Get the authenticated user information
Installation
Using npx (Recommended)
No installation required! Just configure Claude Desktop to use the server directly via npx.
Global Installation
npm install -g @yilin-jing/producthunt-mcpLocal Development
git clone https://github.com/Jing-yilin/producthunt-mcp-server.git
cd producthunt-mcp-server
npm install
npm run buildConfiguration
Environment Variables
Variable | Description |
| Your Product Hunt API access token (required) |
| HTTP/HTTPS proxy URL (optional) |
Getting an Access Token
Create a new application or use an existing one
Generate a Developer Token for simple scripts, or implement OAuth for user-based access
Claude Desktop Configuration
Add to your Claude Desktop config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
Using npx (Recommended)
{
"mcpServers": {
"producthunt": {
"command": "npx",
"args": ["-y", "@yilin-jing/producthunt-mcp"],
"env": {
"PRODUCTHUNT_ACCESS_TOKEN": "your-access-token-here"
}
}
}
}Using Global Installation
{
"mcpServers": {
"producthunt": {
"command": "producthunt-mcp",
"env": {
"PRODUCTHUNT_ACCESS_TOKEN": "your-access-token-here"
}
}
}
}Usage Examples
Get Today's Featured Posts
Get the featured posts from Product Hunt todayGet a Specific Product
Get the Product Hunt post for "ChatGPT"Get User Information
Get the Product Hunt profile for username "rrhoover"Get Posts by Topic
Get the latest AI products on Product HuntGet Collections
Get the featured collections on Product HuntAPI Reference
Post Endpoints
get_post
Get a Product Hunt post by ID or slug.
Parameters:
id(string, optional): Post IDslug(string, optional): Post slug
get_posts
Get posts with filtering and ordering.
Parameters:
featured(boolean, optional): Filter by featured posts onlytopic(string, optional): Filter by topic slugpostedAfter(string, optional): Filter posts after this date (ISO 8601)postedBefore(string, optional): Filter posts before this date (ISO 8601)order(string, optional): Order by 'FEATURED_AT', 'NEWEST', 'RANKING', 'VOTES'first(integer, optional): Number of posts to return (default: 10, max: 20)after(string, optional): Cursor for pagination
search_posts
Search posts by query.
Parameters:
query(string, required): Search queryfirst(integer, optional): Number of posts to returnafter(string, optional): Cursor for pagination
Collection Endpoints
get_collection
Get a collection by ID or slug.
Parameters:
id(string, optional): Collection IDslug(string, optional): Collection slug
get_collections
Get collections with filtering.
Parameters:
featured(boolean, optional): Filter by featured collectionsuserId(string, optional): Filter by user IDpostId(string, optional): Filter by post IDorder(string, optional): Order by 'FEATURED_AT', 'FOLLOWERS_COUNT', 'NEWEST'first(integer, optional): Number of collections to returnafter(string, optional): Cursor for pagination
User Endpoints
get_user
Get a user by ID or username.
Parameters:
id(string, optional): User IDusername(string, optional): Username
get_user_posts
Get posts made by a user.
Parameters:
username(string, required): Usernamefirst(integer, optional): Number of posts to returnafter(string, optional): Cursor for pagination
get_user_voted_posts
Get posts upvoted by a user.
Parameters:
username(string, required): Usernamefirst(integer, optional): Number of posts to returnafter(string, optional): Cursor for pagination
Topic Endpoints
get_topic
Get a topic by ID or slug.
Parameters:
id(string, optional): Topic IDslug(string, optional): Topic slug
get_topics
Get topics with filtering.
Parameters:
search(string, optional): Search topics by nameorder(string, optional): Order by 'FOLLOWERS_COUNT', 'NEWEST'first(integer, optional): Number of topics to returnafter(string, optional): Cursor for pagination
Comment Endpoints
get_comment
Get a comment by ID.
Parameters:
id(string, required): Comment ID
get_post_comments
Get comments on a post.
Parameters:
postId(string, optional): Post IDpostSlug(string, optional): Post slugorder(string, optional): Order by 'NEWEST', 'VOTES_COUNT'first(integer, optional): Number of comments to returnafter(string, optional): Cursor for pagination
Goal Endpoints
get_goal
Get a maker goal by ID.
Parameters:
id(string, required): Goal ID
get_goals
Get maker goals with filtering.
Parameters:
userId(string, optional): Filter by user IDmakerGroupId(string, optional): Filter by maker group IDcompleted(boolean, optional): Filter by completion statusorder(string, optional): Order by 'COMPLETED_AT', 'DUE_AT', 'NEWEST'first(integer, optional): Number of goals to returnafter(string, optional): Cursor for pagination
Maker Group Endpoints
get_maker_group
Get a maker group (Space) by ID.
Parameters:
id(string, required): Maker Group ID
get_maker_groups
Get maker groups with filtering.
Parameters:
userId(string, optional): Filter by user IDorder(string, optional): Order by 'GOALS_COUNT', 'LAST_ACTIVE', 'MEMBERS_COUNT', 'NEWEST'first(integer, optional): Number of groups to returnafter(string, optional): Cursor for pagination
Viewer Endpoints
get_viewer
Get the authenticated user information and their data.
No parameters required.
Pagination
All list endpoints support cursor-based pagination using the after parameter. The response includes a pageInfo object with:
hasNextPage(boolean): Whether there are more resultshasPreviousPage(boolean): Whether there are previous resultsstartCursor(string): Cursor for the first itemendCursor(string): Cursor for the last item (use this for theafterparameter)
Rate Limits
The Product Hunt API has rate limits. Please refer to the official documentation for current limits.
Publishing
To publish a new version to npm:
npm version patch # or minor, major
npm publishLicense
MIT
Credits
Uses Product Hunt API v2 (GraphQL)
Built with Model Context Protocol SDK
Available Tools
17 toolsget_collectionB
Get a Product Hunt collection by ID. Returns cleaned data in TOON format.
Inputs: id (required), save_dir.
get_collectionsC
Get Product Hunt collections. Returns cleaned data in TOON format.
Inputs: featured, userId, postId, order, +4 more.
get_commentB
Get a comment by ID. Returns cleaned data in TOON format.
Inputs: id (required), save_dir.
get_goalA
Get a maker goal by ID. Returns cleaned data in TOON format.
Inputs: id (required), save_dir.
get_goalsC
Get maker goals. Returns cleaned data in TOON format.
Inputs: userId, makerGroupId, completed, order, +4 more.
get_maker_groupC
Get a maker group by ID. Returns cleaned data in TOON format.
Inputs: id (required), save_dir.
get_maker_groupsB
Get maker groups. Returns cleaned data in TOON format.
Inputs: userId, order, first, after, +2 more.
get_postA
Get a Product Hunt post by ID or slug. Returns cleaned data in TOON format.
Inputs: id, slug, save_dir.
get_post_commentsB
Get comments on a post. Returns cleaned data in TOON format.
Inputs: postId, postSlug, order, first, +3 more.
get_postsC
Get Product Hunt posts with filters. Returns cleaned data in TOON format.
Inputs: featured, topic, postedAfter, postedBefore, +5 more.
get_topicB
Get a Product Hunt topic by ID or slug. Returns cleaned data in TOON format.
Inputs: id, slug, save_dir.
get_topicsC
Get Product Hunt topics. Returns cleaned data in TOON format.
Inputs: search, order, first, after, +2 more.
get_userA
Get a Product Hunt user by ID or username. Returns cleaned data in TOON format.
Inputs: id, username, save_dir.
get_user_postsC
Get posts made by a user. Returns cleaned data in TOON format.
Inputs: username (required), first, after, save_dir, +1 more.
get_user_voted_postsB
Get posts upvoted by a user. Returns cleaned data in TOON format.
Inputs: username (required), first, after, save_dir, +1 more.
get_viewerB
Get authenticated user info. Returns cleaned data in TOON format.
Inputs: save_dir.
search_postsB
Search Product Hunt posts. Returns cleaned data in TOON format.
Inputs: query (required), first, after, save_dir, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Each tool targets a distinct entity or query (collections, comments, goals, posts, etc.), with no overlapping purposes. The descriptions make it clear what each tool retrieves.
All tools follow a consistent 'get_<entity>' pattern, with variations like 'get_post_comments' and 'get_user_voted_posts' maintaining the verb_noun structure. 'search_posts' is the only deviation but still fits the naming convention.
With 17 tools covering various entities (collections, posts, users, topics, etc.) and subtypes (comments, goals, maker groups), the count is well-scoped for a Product Hunt data retrieval server.
The tool set is thorough for read operations but lacks any mutation (create, update, delete) or voting/commenting actions. As a read-only explorer it is complete, but for a full Product Hunt integration, significant gaps exist.
Maintenance
Related MCP Connectors
Product Hunt MCP — wraps the Product Hunt GraphQL API v2 (api.producthunt.com)
Product Hunt launches, votes, makers, comments via the official API. Pay per result.
Query Fathom Analytics sites, stats, current visitors and events, and manage sites and events.
Manage Memberful members, subscriptions, plans, passes and coupons via the GraphQL API.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to access Product Hunt data via GraphQL API, including posts, products, and rankings. Part of the Pipeworx MCP gateway.312 npmMIT
- AlicenseBqualityDmaintenanceExposes any GraphQL API as a single tool for executing queries and mutations with authentication support.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying Open Collective public data: collective info, members, transactions, and events.303 npmMIT
- AlicenseAqualityCmaintenanceEnables policy-aware access to the Productive.io API v2 for managing projects, tasks, time tracking, resource planning, financials, CRM, and reports, with safe defaults and staged writes for sensitive operations.12Apache 2.0