Skip to main content
Glama
MCP Server Giphy

MCP Server Giphy

by magarcia

MCP サーバー Giphy

鍛冶屋のバッジ CI npmバージョン npmダウンロード ライセンス: MIT

Giphy API 用の MCP サーバー。AI モデルが Giphy から GIF を検索、取得、利用できるようになります。

特徴

  • コンテンツフィルタリング: 適切なコンテンツを確保するために、評価(G、PG、PG-13、R)で結果をフィルタリングします。

  • 最適化された応答形式: AIモデルの使用に最適化された応答データ

  • 複数の検索方法: クエリベース、ランダム、トレンドのGIF検索をサポート

  • 包括的なメタデータ: 各GIFには、寸法、形式、帰属情報などの完全なメタデータが付属しています。

  • ページネーションのサポート: 効率的な API の使用のために結果のサイズとページネーションを制御します

ツール

  1. search_gifs

    • クエリ文字列を使ってGiphyでGIFを検索する

    • 入力:

      • query (文字列): 検索クエリの用語またはフレーズ

      • limit (オプションの数値): 返されるオブジェクトの最大数 (デフォルト: 10、最大: 50)

      • offset (オプションの数値):結果のオフセット(デフォルト:0)

      • rating (オプションの文字列): コンテンツのレーティング(g、pg、pg-13、r)

      • lang (オプションの文字列): 言語コード (デフォルト: en)

    • 戻り値: メタデータを含むGIFオブジェクトの配列

  2. get_random_gif

    • GiphyからランダムなGIFを取得し、オプションでタグでフィルタリングします

    • 入力:

      • tag (オプションの文字列):ランダムな結果を制限するためのタグ

      • rating (オプションの文字列): コンテンツのレーティング(g、pg、pg-13、r)

    • 戻り値: メタデータを含むランダムGIFオブジェクト

  3. get_trending_gifs

    • Giphyで今話題のGIFを入手

    • 入力:

      • limit (オプションの数値): 返されるオブジェクトの最大数 (デフォルト: 10、最大: 50)

      • offset (オプションの数値):結果のオフセット(デフォルト:0)

      • rating (オプションの文字列): コンテンツのレーティング(g、pg、pg-13、r)

    • 戻り値: メタデータ付きのトレンドGIFオブジェクトの配列

Related MCP server: Giphy MCP Server

応答フォーマット

応答内の各 GIF には次のものが含まれます。

  • id : 固有のGiphy識別子

  • title : GIFタイトル

  • url : Giphyウェブサイト上のGIFのURL

  • images : さまざまな画像形式を含むオブジェクト。それぞれ次のようになります:

    • url : 画像ファイルへの直接URL

    • width : 画像の幅

    • height : 画像の高さ

  • 利用可能な場合の追加メタデータ

設定

Smithery経由でインストール

Smithery経由で Claude Desktop 用の mcp-server-giphy を自動的にインストールするには:

npx -y @smithery/cli install mcp-server-giphy --client claude

Giphy APIキー

Giphy APIキーを作成します:

  • Giphy開発者アカウントに登録する

  • APIキーを取得するためのアプリを作成する

  • ニーズに応じて無料プランまたは有料プランからお選びください

環境設定

API キーを使用して.envファイルを作成します。

GIPHY_API_KEY=your_api_key_here

Claude Desktopでの使用

Claude Desktop でこれを使用するには、 claude_desktop_config.jsonに以下を追加します。

{
  "mcpServers": {
    "giphy": {
      "command": "npx",
      "args": ["-y", "mcp-server-giphy"],
      "env": {
        "GIPHY_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

発達

# Install dependencies
npm install

# Build the project
npm run build

# Start the server
npm start

# Run in development mode with hot reloading
npm run dev

# Run tests
npm test

# Use with MCP Inspector
npm run inspector

ライセンス

このMCPサーバーはMITライセンスに基づいてライセンスされています。つまり、MITライセンスの条件に従って、ソフトウェアを自由に使用、改変、配布することができます。詳細については、プロジェクトリポジトリのLICENSEファイルをご覧ください。

Available Tools

3 tools
get_random_gifA

Get a random GIF from Giphy, optionally filtered by tag

Inputs: tag, rating.

search_gifsC

Search for GIFs on Giphy with a query string

Inputs: query (required), limit, offset, rating, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: get_random_gif retrieves a single random GIF, get_trending_gifs fetches trending content, and search_gifs performs query-based searches. There is no overlap in functionality, making tool selection straightforward for an agent.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with 'get' or 'search' verbs and descriptive nouns (random_gif, trending_gifs, gifs). The naming is uniform and predictable across the set.

    Tool Count5/5

    With 3 tools, the server is well-scoped for its purpose of accessing Giphy content. Each tool serves a distinct and essential function (random, trending, search), and there are no extraneous or missing tools for this domain.

    Completeness5/5

    The tool surface covers the core workflows for a Giphy API: retrieving random GIFs, accessing trending content, and searching by query. This provides complete coverage for typical use cases without obvious gaps or dead ends.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      This is an auto-generated Multi-Agent Conversation Protocol server that enables interaction with the Giphy API, allowing users to access and use Giphy's GIF services through natural language commands.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP (Multi-Agent Conversation Protocol) Server that enables interaction with the Giphy API, allowing agents to search, retrieve, and manage GIF animations through natural language commands.
      -
    • -
      license
      Not graded
      quality
      Not graded
      maintenance
      An MCP (Multi-Agent Conversation Protocol) Server that enables interaction with the Giphy API, allowing users to search, retrieve, and manipulate GIF content through natural language commands.
      -