mcpField
P
producthunt

producthunt

github.com/resciencelabマーケティング・グロース1.9k2.7k 回インストール今日更新
リポジトリ

producthunt について

producthuntは、公式GraphQL APIを通じてProduct Huntの投稿、トピック、ユーザー、コレクションを取得するスキルです。トピック、日付、ユーザーなどで絞り込むスクリプトを備えています。

主な機能

  1. 01slugまたはIDで投稿を取得
  2. 02注目投稿やトピック別投稿を検索
  3. 03トピックの検索と一覧表示
  4. 04ユーザーと投稿履歴を取得
  5. 05コレクションと注目コレクションを取得
  6. 06投稿コメントを取得

活用シーン

  1. 01当日の注目プロダクトを閲覧
  2. 02トピック内のプロダクトを検索
  3. 03ユーザーの投稿履歴を確認
  4. 04投稿コメントやコレクションを調査

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/resciencelab/opc-skills --skill producthunt

インストール後、Claude Code で/producthuntを入力して読み込まれたか確認します。

同梱ファイル

SKILL.md と一緒にインストールされる参考資料やスクリプト。

.claude-plugin/
plugin.json
scripts/
credential.py
get_collection.py
get_collections.py
get_post_comments.py
get_post.py
get_posts.py
get_topic.py
get_topics.py
get_user_posts.py
get_user.py
producthunt_api.py

詳細

ProductHunt Skill

公式 GraphQL API を使って、Product Hunt の投稿、トピック、ユーザー、コレクションを取得します。

前提条件

~/.zshrc にアクセストークンを設定します。

export PRODUCTHUNT_ACCESS_TOKEN="your_developer_token"

トークンはこちらから取得できます:https://www.producthunt.com/v2/oauth/applications

クイックチェック:

cd <skill_directory>
python3 scripts/get_posts.py --limit 3

コマンド

すべてのコマンドはスキルディレクトリから実行します。

投稿
python3 scripts/get_post.py chatgpt                    # Get post by slug
python3 scripts/get_post.py 12345                      # Get post by ID
python3 scripts/get_posts.py --limit 20                # Today's featured posts
python3 scripts/get_posts.py --topic ai --limit 10     # Posts in topic
python3 scripts/get_posts.py --after 2026-01-01        # Posts after date
python3 scripts/get_post_comments.py POST_ID --limit 20
トピック
python3 scripts/get_topic.py artificial-intelligence  # Get topic by slug
python3 scripts/get_topics.py --query "AI" --limit 20 # Search topics
python3 scripts/get_topics.py --limit 50              # Popular topics
ユーザー
python3 scripts/get_user.py rrhoover                  # Get user by username
python3 scripts/get_user_posts.py rrhoover --limit 20 # User's posts
コレクション
python3 scripts/get_collection.py SLUG_OR_ID          # Get collection
python3 scripts/get_collections.py --featured --limit 20

API 情報

コメント