get_episode

Pack: rick-and-morty · Endpoint: https://gateway.pipeworx.io/rick-and-morty/mcp

Get a single Rick and Morty episode by numeric ID. Returns title, code (e.g. “S01E03”), air date, and the list of characters that appear.

Parameters

NameTypeRequiredDescription
idnumberyesEpisode ID. Example: 1 = Pilot.

Example call

Arguments

{
  "id": 1
}

curl

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

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('get_episode', {
  "id": 1
});

Response shape

FieldTypeDescription
foundbooleanWhether episode was found
idnumberEpisode ID
namestringEpisode title
codestringEpisode code (e.g., S01E03)
air_datestringAir date
character_countnumberNumber of characters in episode
character_idsarrayCharacter IDs
urlstringAPI URL
hintstringHint message when episode not found
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean",
      "description": "Whether episode was found"
    },
    "id": {
      "type": "number",
      "description": "Episode ID"
    },
    "name": {
      "type": "string",
      "description": "Episode title"
    },
    "code": {
      "type": "string",
      "description": "Episode code (e.g., S01E03)"
    },
    "air_date": {
      "type": "string",
      "description": "Air date"
    },
    "character_count": {
      "type": "number",
      "description": "Number of characters in episode"
    },
    "character_ids": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "Character IDs"
    },
    "url": {
      "type": "string",
      "description": "API URL"
    },
    "hint": {
      "type": "string",
      "description": "Hint message when episode not found"
    }
  }
}

Connect

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

{
  "mcpServers": {
    "rick-and-morty": {
      "url": "https://gateway.pipeworx.io/rick-and-morty/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build June 26, 2026