プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Pexels

作者:developer-ishanバージョン 1.0.2i★ 3iパソコンで動く
レジストリ名io.github.developer-ishan/pexels

インストール方法

What it does

MCP server for searching Pexels stock photos, videos, and curated collections.

  • Connects パソコンで動く
  • Account or key Needs PEXELS_API_KEY
  • Category デザイン・画像・音声

インストール

使っているAIアプリを選んで、設定をコピーしてください。

チェック 3/3 合格 · あなたのパソコンで動きます

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

Pexels のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

  1. Node.js を入れる

    1 回だけ。Node.js が必要なすべてのサーバーで使えます

    Node.js のダウンロードページを開く ↗

  2. Pexels に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。

    キーの取り方は下の提供元 README にあります

  3. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  4. この設定を貼り付けて保存

    {
      "mcpServers": {
        "pexels": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-pexels"
          ],
          "env": {
            "PEXELS_API_KEY": "your-value"
          }
        }
      }
    }

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

  5. Claude を終了してもう一度開く

  6. 試してみる

    Pexels を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Pexels を使っていると言うか、回答に Pexels のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Pexels につなげません

Pexels はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · Pexels につなげるアプリを使う

  • Pexels のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • Pexels のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
  • Pexels のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)
  • Pexels のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)

B · デザイン・画像・音声 の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

Pexels のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)

  1. Node.js を入れる

    1 回だけ。Node.js が必要なすべてのサーバーで使えます

    Node.js のダウンロードページを開く ↗

  2. Pexels に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。

    キーの取り方は下の提供元 README にあります

  3. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  4. このコマンドを貼り付けて Enter

    claude mcp add --scope user pexels --env PEXELS_API_KEY=your-value -- npx -y mcp-pexels

    Enter の前に「your-value」を自分のキーに書き換えてください

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

  5. Claude Code で /mcp と入力

    Pexels が一覧にあり、接続済みと表示されれば OK です

  6. 試してみる

    Pexels を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Pexels を使っていると言うか、回答に Pexels のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

Pexels のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)

  1. Node.js を入れる

    1 回だけ。Node.js が必要なすべてのサーバーで使えます

    Node.js のダウンロードページを開く ↗

  2. Pexels に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。

    キーの取り方は下の提供元 README にあります

  3. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  4. キーを入力

    Pexels の設定で PEXELS_API_KEY が空です。自分のキーを入れて保存します

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

  5. Cursor の AI チャットを Agent モードで開く

  6. 試してみる

    Pexels を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Pexels を使っていると言うか、回答に Pexels のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

Pexels のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Node.js を入れてください(1 回だけ)

  1. Node.js を入れる

    1 回だけ。Node.js が必要なすべてのサーバーで使えます

    Node.js のダウンロードページを開く ↗

  2. Pexels に登録してキーを作る

    提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。

    キーの取り方は下の提供元 README にあります

  3. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  4. キーを入力

    Pexels の設定で PEXELS_API_KEY が空です。自分のキーを入れて保存します

    キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください

  5. VS Code の AI チャットを Agent モードで開く

  6. 試してみる

    Pexels を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Pexels を使っていると言うか、回答に Pexels のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?Pexels を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user pexels --env PEXELS_API_KEY=your-value -- npx -y mcp-pexels

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "pexels": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-pexels"
      ],
      "env": {
        "PEXELS_API_KEY": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "pexels": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-pexels"
      ],
      "env": {
        "PEXELS_API_KEY": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "pexels": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-pexels"
      ],
      "env": {
        "PEXELS_API_KEY": "your-value"
      }
    }
  }
}

自分で入力する値

  • PEXELS_API_KEY 秘密 必須 env
    Pexels API key. Get one for free at https://www.pexels.com/api/. Free tier: 200 req/hour, 20,000 req/month.

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
529/週
接続方法
パソコンで動く
最新バージョンi
1.0.2
レジストリ公開日i
2026年5月19日
コードの最終更新i
2026年5月19日
作者
developer-ishan
パッケージ
npm: mcp-pexels
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月12日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント developer-ishan で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:6 か月前

  • ✓ 合格

    ライセンスがある

    MITを使用

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

Google でログインして投稿

ユーザーレビュー

まだレビューはありません

Google でログインしてレビューを書く

デザイン・画像・音声のほかのサーバーとの比較i

  • このカテゴリのほかの2966件のうち88%よりスターが多い
  • このカテゴリのほかの2966件のうち7%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの2966件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Pexelsは安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:PEXELS_API_KEY

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は6 か月前、最新バージョン(1.0.2)がレジストリに届いたのは6 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Figma Context MCP, AutoClip, Next AI Draw.io

同じカテゴリのほかの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Figma Context MCP

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

作者:GLips広く使われている↓ 15.2万/週★ 1.6万5 か月前更新

パソコンで動く

AutoClip

Clip long videos into short clips with covers and captions. Local CLI and MCP.

作者:zhouxiaoka広く使われている↓ 205/週★ 1万15 日前更新

パソコンで動く

Next AI Draw.io

draw.io diagrams your AI agent draws on a live browser canvas that you can also edit by hand

作者:DayuanJiang広く使われている↓ 2.2万/週★ 3.7万 リポジトリ全体のスター5 日前更新

パソコンで動く

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

mcp-pexels — Pexels MCP server for Claude, Cursor, and other AI agents

A [Model Context Protocol](https://modelcontextprotocol.io) server that exposes the [Pexels API](https://www.pexels.com/api/) — free stock photos, videos, and curated collections — as MCP tools that any compatible AI client (Claude Desktop, Claude Code, Cursor, Cline, Continue, etc.) can call directly from a chat.

📦 npm: mcp-pexels · 🏷 Latest release: v1.0.0 · 💻 Source: developer-ishan/mcp-pexels

Photos & videos provided by Pexels.

Drop-in config

{

"mcpServers": { "pexels": { "command": "npx", "args": ["-y", "mcp-pexels"], "env": { "PEXELS_API_KEY": "your_key_here" } } } }

Paste into your MCP client's config, restart, and the nine pexels_* tools are live. Get a free key at https://www.pexels.com/api/.


Table of contents

  • What can you build with this?
  • Capabilities — nine tools
  • Connect to your MCP client
  • Claude Desktop
  • Claude Code
  • Cursor
  • Cline (VS Code)
  • Continue.dev
  • Generic / other clients
  • Example prompts
  • How it compares
  • FAQ
  • Requirements
  • Development
  • Releasing
  • Contributing
  • Attribution & License

What can you build with this?

Once mcp-pexels is connected to an AI client, the agent can pull royalty-free photos and videos straight into its workflow. A few concrete uses:

  • Slide-deck and document illustration — "Find me a landscape photo of mountains at sunset for slide 3" → the agent searches Pexels, picks one, and embeds it.
  • Blog post / social media drafting — "Suggest three thumbnail options for an article about remote work" → returns three Pexels URLs with photographer credit.
  • Background research for video editing — "Show me popular drone footage under 30 seconds in 4K" → uses pexels_popular_videos with size and duration filters.
  • Mood boards — "Build me a mood board of warm-toned coffee shop photos" → searches with color: "orange".
  • Coding agents — generate CSS/HTML with realistic placeholder imagery instead of lorem-pixel boxes.
  • Curated collections — pull a specific Pexels collection (e.g. company-owned shots tagged on Pexels) into the agent's context.

Because every response includes a _rateLimit object, the agent can self-throttle and respect the Pexels free-tier quota (200 req/hour, 20 000/month).


Capabilities — nine tools

DomainToolWhat it does
Photospexels_search_photosSearch photos by query with orientation / size / color / locale filters.
Photospexels_curated_photosFetch the Pexels team's real-time curated photo feed.
Photospexels_get_photoRetrieve a single photo by its numeric id.
Videospexels_search_videosSearch videos by query with orientation / size / locale filters.
Videospexels_popular_videosFetch popular videos with optional width / height / duration constraints.
Videospexels_get_videoRetrieve a single video by its numeric id.
Collectionspexels_featured_collectionsList Pexels featured collections.
Collectionspexels_my_collectionsList the authenticated user's own collections.
Collectionspexels_collection_mediaRetrieve the photos and videos inside a specific collection.

Each tool response is the raw Pexels JSON merged with a top-level _rateLimit field exposing limit, remaining, and reset (UNIX timestamp).

See docs/tools/ for per-tool parameter tables and example payloads.


Connect to your MCP client

All paths below use npx -y mcp-pexels — no global install required. Replace your_key_here with a real Pexels API key.

Claude Desktop

Option 1 — one-click `.mcpb` install (recommended). Download the latest mcp-pexels-*.mcpb from the Releases page, double-click the file, paste your Pexels API key when Claude Desktop prompts, and click Install.

Option 2 — manual JSON config. Edit claude_desktop_config.json:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json
{

"mcpServers": { "pexels": { "command": "npx", "args": ["-y", "mcp-pexels"], "env": { "PEXELS_API_KEY": "your_key_here" } } } }

Restart Claude Desktop.

Claude Code
claude mcp add pexels -e PEXELS_API_KEY=your_key_here -- npx -y mcp-pexels

Or edit ~/.claude.json directly and add the same mcpServers block as above.

Cursor

Edit ~/.cursor/mcp.json (global) or .cursor/mcp.json (per-project):

{

"mcpServers": { "pexels": { "command": "npx", "args": ["-y", "mcp-pexels"], "env": { "PEXELS_API_KEY": "your_key_here" } } } }

Cline (VS Code)

Open the Cline extension settings → MCP Servers → Edit Settings. Add:

{

"mcpServers": { "pexels": { "command": "npx", "args": ["-y", "mcp-pexels"], "env": { "PEXELS_API_KEY": "your_key_here" } } } }

Continue.dev

In ~/.continue/config.json:

{

"experimental": { "modelContextProtocolServers": [ { "transport": { "type": "stdio", "command": "npx", "args": ["-y", "mcp-pexels"], "env": { "PEXELS_API_KEY": "your_key_here" } } } ] } }

Generic / other clients

If your client supports stdio MCP servers it just needs command, args, and env. Use the same shape as Cursor / Claude Desktop above. For inspector / debugging:

export PEXELS_API_KEY=your_key_here

npx -y @modelcontextprotocol/inspector npx -y mcp-pexels

This opens a browser UI where you can call each tool interactively.


Example prompts

Once connected, try prompts like:

  • *"Find me five landscape photos of mountains at golden hour. Make sure they're at least full HD."*
  • *"Get me popular Pexels videos shorter than 15 seconds, 1080p or higher, of city traffic."*
  • *"Pull photo id 2014422 and tell me the photographer."*
  • *"List the featured Pexels collections — I want one I can browse for cooking photos."*
  • *"Search videos of 'forest' in portrait orientation; pick the highest-quality HD file for me."*
  • *"Show me Pexels photos with predominantly orange tones suitable for a fall-themed newsletter header."*

The agent will pick the appropriate tool, send the right parameters, and include photographer/videographer credit as part of its answer.


How it compares

mcp-pexelsRaw Pexels REST APIImage-only general MCP servers
Photos✅✅varies
Videos✅✅usually ❌
Collections✅✅❌
Rate-limit headers exposed to agent✅❌ (raw headers, agent must parse)❌
Zod-validated input✅❌varies
npx-installable, zero config✅❌varies
Type-safe TS source✅n/avaries
MIT-licensed✅n/avaries

If you only need photos and you already have a generic image MCP server wired up, that may be enough. If you want first-class video and collection support with rate-limit awareness, this is purpose-built for it.


FAQ

How do I get a Pexels API key?

Sign up at https://www.pexels.com/api/ — keys are issued instantly and the free tier allows 200 requests/hour and 20 000 requests/month.

Does this cost anything?

No. The Pexels API is free, the npm package is free (MIT), and mcp-pexels itself does not call any paid service.

Will this work offline?

No — the server is a thin wrapper over the Pexels HTTPS API and requires network access.

Can I use Pexels content commercially?

Yes, per the Pexels license, but you must attribute the platform and (when possible) the photographer. See Attribution.

Does it work with Claude.ai (browser)?

Claude.ai's web product doesn't yet support stdio MCP servers — only Claude Desktop, Claude Code, and the API do. Anthropic is rolling out browser MCP support, so this should change.

Is there a hosted / SaaS version?

No. Run it locally via npx. Because Pexels API keys are per-user, hosting a shared instance doesn't make sense.

How do I update to a newer version?

npx always fetches the latest published version. If you've installed globally, run npm update -g mcp-pexels.

Can I add more Pexels endpoints?

The Pexels API surface is fully implemented (9/9 endpoints as of Pexels API v1). New endpoints will be added via PR — see Contributing.

Does it work with @modelcontextprotocol/inspector?

Yes:

export PEXELS_API_KEY=your_key_here

npx -y @modelcontextprotocol/inspector npx -y mcp-pexels

How is rate limiting handled?

Every tool response includes a _rateLimit object with limit, remaining, and reset (UNIX timestamp). The agent can read this and self-throttle. If Pexels returns 429, the server surfaces it as a PexelsApiError so the agent sees the failure.

Where does my API key go?

It is read from the PEXELS_API_KEY env var on the local process. It never leaves your machine except in Authorization headers to api.pexels.com. Nothing is logged.


Requirements

  • Node.js ≥ 20 (uses native fetch and --env-file)
  • A free Pexels API key — request one here

Development

git clone https://github.com/developer-ishan/mcp-pexels.git

cd mcp-pexels npm install echo "PEXELS_API_KEY=your_key_here" > .env

npm test # 42 mocked vitest cases, no network npm run build # tsc → dist/ npm run dev # tsx watch npm run test:watch # vitest in watch mode npm start # node --env-file=.env dist/index.js

Project layout
src/

├── index.ts # MCP server entrypoint (stdio) ├── http/ │ ├── client.ts # PexelsClient (injectable fetch for tests) │ └── types.ts # PexelsApiError, RateLimit, PexelsResponse ├── tools/ │ ├── index.ts # composes the three domain factories │ ├── photos.ts # 3 photo tools │ ├── videos.ts # 3 video tools │ └── collections.ts # 3 collection tools └── types/ ├── tool.ts # defineTool helper + ToolDefinition ├── photos.ts ├──

冒頭だけを表示しています。続きはリポジトリで読めます