インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Pexels をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
概要
Pexels の無料ストックメディア:向き、サイズ、色、ロケールで写真と動画を検索、キュレーション写真、人気動画、個別の写真や動画の詳細、注目コレクションや自分のコレクション。API キーで Pexels API を利用します。
こう聞いてみよう
Pexels のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Pexels をクリック、認証情報を貼り付け、MCP API キーを発行 — 完了です。Docker も
git cloneもローカルサーバーも不要。
Pexels
Pexels の無料ストックメディア:向き、サイズ、色、ロケールで写真と動画を検索、キュレーション写真、人気動画、個別の写真や動画の詳細、注目コレクションや自分のコレクション。API キーで Pexels API を利用します。
セットアップ
このコネクタは Pexels API を通じて、無料のストック写真、動画、コレクションを検索・閲覧します。読み取り専用です。
- pexels.com にサインインし、Image & Video API(https://www.pexels.com/api/new/)を開きます。
- 利用目的に関する短いフォームに記入し、API キーをコピーします。
- キーだけを
PEXELS_API_KEYに貼り付けます。Bearerという語は付けません。コネクタはキーをAuthorizationヘッダーで送信します。 - まず
queryを指定してpexels_search_photosまたはpexels_search_videosを呼び出します。写真はsrcにすぐ使えるサイズが含まれ、動画はvideo_filesに解像度ごとのファイルが並びます。
既定の上限はキーごとに 1 時間あたり 200 リクエスト、1 か月あたり 20,000 リクエストで、超えると Pexels は 429 を返します。Pexels はすべてのアプリに Pexels への見えるリンクの表示と、可能な場合は photographer_url へのリンク付きで撮影者のクレジットを表示するよう求めており、適切にクレジットしていれば申請により無料で上限を引き上げてくれます。pexels_get_collection_media が読めるのは注目コレクションと、キーを作成したアカウントのコレクションだけで、それ以外のコレクションは公開されていても 404 を返します。
前提条件: PEXELS_API_KEY
ローカルでコネクタをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
http://localhost:3000/connectors/store を開き、 Pexels を選択し、前提条件に記載された環境変数を入力します。
利用可能なツール
| Tool | What it does |
|---|---|
pexels_search_photos | Search free stock photos by keyword, with optional orientation, minimum size, colour and locale |
pexels_list_curated_photos | List photos hand-picked by the Pexels team, updated at least hourly |
pexels_get_photo | Get one photo by id: width, height, photographer and profile link, average colour, alt text and image URLs (original, large2x, large… |
pexels_search_videos | Search free stock videos by keyword, with optional orientation, minimum size and locale |
pexels_list_popular_videos | List the currently popular videos on Pexels, optionally limited by minimum width or height and by duration |
pexels_get_video | Get one video by id: width, height, duration, user, preview image, video files (quality, file type, size, link) and preview pictures |
pexels_list_featured_collections | List the collections featured by Pexels with id, title, description and the number of photos and videos |
pexels_list_my_collections | List the collections of the Pexels account that owns the API key, with id, title, description, privacy and media counts |
pexels_get_collection_media | List the photos and videos in one featured collection or one of the key owner's collections, optionally only photos or only videos |
次のステップ
このガイドは役に立ちましたか?