Labsco
jaipandya logo

Product Hunt

โ˜… 47

from jaipandya

Discover and search for the latest products and tech using the Product Hunt API.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredNeeds API keys

๐Ÿš€ Product Hunt MCP Server

PyPI version License: MIT Python 3.10+ Docker Ready MCP Compatible

A plug-and-play MCP server for Product Hunt


โœจ 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

๐Ÿ› ๏ธ MCP Tools

ToolDescriptionKey Parameters
get_post_detailsGet info about a specific postid or slug, comments_count, comments_after
get_postsGet posts with filterstopic, order, count, featured, posted_before, posted_after
get_commentGet info about a specific commentid (required)
get_post_commentsGet comments for a postpost_id or slug, order, count, after
get_collectionGet info about a collectionid or slug
get_collectionsGet collections with filtersfeatured, user_id, post_id, order, count
get_topicGet info about a topicid or slug
search_topicsSearch topicsquery, followed_by_user_id, order, count
get_userGet info about a userid or username, posts_type, posts_count
get_viewerGet info about the authenticated userNone
check_server_statusCheck server/API status & authenticationNone

๐Ÿ—๏ธ 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.


๐Ÿค Contributing

  • PRs and issues welcome!
  • Please follow PEP8 and use ruff for linting.
  • See pyproject.toml for dev dependencies.

๐ŸŒ Links


๐Ÿ“ Notes

  • This project is not affiliated with Product Hunt.
  • The Product Hunt API is subject to change.

๐Ÿ“œ License

MIT