Provides tools for accessing Product Hunt data including posts, collections, topics, users, votes, and comments, with options to search/filter by topic, date, votes, and more.
Click on "Install 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-mcpshow me today's top 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
A plug-and-play
π¦ Quick Install
pip install product-hunt-mcpRelated MCP server: npm-search-mcp-server
πββοΈ Quick Start Example
# Run the MCP server (requires PRODUCT_HUNT_TOKEN environment variable)
export PRODUCT_HUNT_TOKEN=your_token_here
product-hunt-mcp⨠What is this?
Product Hunt MCP Server connects Product Hunt's API to any LLM or agent that speaks the Model Context Protocol (MCP). Perfect for AI assistants, chatbots, or your own automations!
π Get posts, collections, topics, users
π³οΈ Get votes, comments, and more
π οΈ Use with Claude Desktop, Cursor, or any MCP client
π οΈ Features
Get detailed info on posts, comments, collections, topics, users
Search/filter by topic, date, votes, etc.
Paginated comments, user upvotes, and more
Built with FastMCP for speed and compatibility
π§βπ» Who is this for?
AI/LLM users: Plug into Claude Desktop, Cursor, or your own agent
Developers: Build bots, dashboards, or automations with Product Hunt data
Tinkerers: Explore the MCP ecosystem and build your own tools
π Setup
Prerequisites
Python 3.10+
Product Hunt API token (get one here)
You'll need to create an account on Product Hunt
Navigate to the API Dashboard and create a new application
Use the
Developer Tokenfor the token
Note: When creating a new application on Product Hunt, you will be asked for a
redirect_uri. While the MCP server does not use the redirect URI, it is a required field. You can enter any valid URL, such ashttps://localhost:8424/callback.
Installation
Preferred:
# Install uv if you don't have it
pip install uvInstall from PyPI (recommended)
uv pip install product-hunt-mcp
# or
pip install product-hunt-mcpInstall from GitHub (latest main branch)
uv pip install 'git+https://github.com/jaipandya/producthunt-mcp-server.git'
# or
pip install 'git+https://github.com/jaipandya/producthunt-mcp-server.git'Install locally from source
uv pip install .
# or
pip install .π Usage with Claude Desktop & Cursor
Once installed, the product-hunt-mcp command will be available. Add it to your Claude Desktop or Cursor configuration:
{
"mcpServers": {
"product-hunt": {
"command": "product-hunt-mcp",
"env": {
"PRODUCT_HUNT_TOKEN": "your_token_here"
}
}
}
}Replace
your_token_herewith your actual Product Hunt API token.The token must be set as an environment variable in your Claude Desktop or Cursor config for the server to authenticate.
Always restart your client (Claude Desktop/Cursor) after editing the config file.
Tip: On macOS, Claude Desktop may not always find the
product-hunt-mcpcommand if it's not in the default PATH. If you encounter issues, you can provide the full path to the executable. After installing, run:which product-hunt-mcpUse the output path in your Claude Desktop config, replacing
"command": "product-hunt-mcp"with the full path (e.g.,"command": "/Users/youruser/.local/bin/product-hunt-mcp").
Finding your configuration file
Claude Desktop:
Windows:
%APPDATA%\claude-desktop\config.jsonmacOS:
~/Library/Application Support/claude-desktop/config.jsonLinux:
~/.config/claude-desktop/config.json
Cursor:
Windows:
%APPDATA%\Cursor\User\settings.jsonmacOS:
~/Library/Application Support/Cursor/User/settings.jsonLinux:
~/.config/Cursor/User/settings.json
Docker
You can also run the server using Docker:
# Build the Docker image
docker build -t product-hunt-mcp .
# Run the Docker container (interactive for MCP)
docker run -i --rm -e PRODUCT_HUNT_TOKEN=your_token_here product-hunt-mcpFor Claude Desktop/Cursor integration with Docker, use this configuration:
{
"mcpServers": {
"product-hunt": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "PRODUCT_HUNT_TOKEN=your_token_here", "product-hunt-mcp"],
"env": {}
}
}
}Security Note: Your
PRODUCT_HUNT_TOKENis sensitive. Do not share it or commit it to version control.
π οΈ MCP Tools
Tool | Description | Key Parameters |
get_post_details | Get info about a specific post |
|
get_posts | Get posts with filters |
|
get_comment | Get info about a specific comment |
|
get_post_comments | Get comments for a post |
|
get_collection | Get info about a collection |
|
get_collections | Get collections with filters |
|
get_topic | Get info about a topic |
|
search_topics | Search topics |
|
get_user | Get info about a user |
|
get_viewer | Get info about the authenticated user | None |
check_server_status | Check server/API status & authentication | None |
ποΈ Project Structure
product-hunt-mcp/
βββ src/
β βββ product_hunt_mcp/ # Main package directory
β βββ __init__.py
β βββ cli.py # Command-line entry point
β βββ api/ # API clients & queries
β βββ schemas/ # Data validation schemas
β βββ tools/ # MCP tool definitions
β βββ utils/ # Utility functions
βββ pyproject.toml # Project metadata, dependencies, build config
βββ README.md
βββ CONTRIBUTING.md
βββ CHANGELOG.md
βββ Dockerfile
βββ ... (config files, etc.)π Rate Limiting
The Product Hunt API has rate limits that this client respects. If you encounter rate limit errors, the client will inform you when the rate limit resets. You can check your current rate limit status using the get_api_rate_limits or check_server_status tools.
π Troubleshooting
Missing token: Ensure your
PRODUCT_HUNT_TOKENis correctly set as an environment variable.Connection issues: Verify your internet connection and that the Product Hunt API is accessible.
Rate limiting: If you hit rate limits, wait until the reset time or reduce your query frequency.
Claude Desktop/Cursor not finding the server: Verify the path to your Python executable and restart the client.
π€ Contributing
PRs and issues welcome!
See
pyproject.tomlfor dev dependencies.
π Links
π Notes
This project is not affiliated with Product Hunt.
The Product Hunt API is subject to change.
π License
MIT