random_gif

Pack: giphy · Endpoint: https://gateway.pipeworx.io/giphy/mcp

Get a random GIF, optionally filtered by tag (e.g., “cats”). Returns title, URL, rating, and image URLs.

Parameters

NameTypeRequiredDescription
tagstringnoOptional tag to filter by, e.g. “dogs” or “anime”

Example call

Arguments

{
  "tag": "dogs"
}

curl

curl -X POST https://gateway.pipeworx.io/giphy/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"random_gif","arguments":{"tag":"dogs"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('random_gif', {
  "tag": "dogs"
});

Response shape

Always returns: id, title, url, rating, gif_url, fixed_height_url, downsized_url, width, height

FieldTypeDescription
idstringGIF ID
titlestringGIF title
urlstringGIF page URL on Giphy
ratingstringContent rating (e.g., ‘g’, ‘pg’, ‘pg-13’, ‘r’)
gif_urlstringOriginal GIF URL
fixed_height_urlstringFixed-height GIF URL
downsized_urlstringDownsized GIF URL
widthnumberOriginal GIF width in pixels
heightnumberOriginal GIF height in pixels
Full JSON Schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "GIF ID"
    },
    "title": {
      "type": "string",
      "description": "GIF title"
    },
    "url": {
      "type": "string",
      "description": "GIF page URL on Giphy"
    },
    "rating": {
      "type": "string",
      "description": "Content rating (e.g., 'g', 'pg', 'pg-13', 'r')"
    },
    "gif_url": {
      "type": "string",
      "description": "Original GIF URL"
    },
    "fixed_height_url": {
      "type": "string",
      "description": "Fixed-height GIF URL"
    },
    "downsized_url": {
      "type": "string",
      "description": "Downsized GIF URL"
    },
    "width": {
      "type": "number",
      "description": "Original GIF width in pixels"
    },
    "height": {
      "type": "number",
      "description": "Original GIF height in pixels"
    }
  },
  "required": [
    "id",
    "title",
    "url",
    "rating",
    "gif_url",
    "fixed_height_url",
    "downsized_url",
    "width",
    "height"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "giphy": {
      "url": "https://gateway.pipeworx.io/giphy/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build May 9, 2026