get_character

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

Get a single Rick and Morty character by numeric ID. Returns name, status, species, origin, current location, episode appearances, and image URL.

Parameters

NameTypeRequiredDescription
idnumberyesCharacter ID (1-826+). Example: 1 = Rick Sanchez.

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_character","arguments":{"id":1}}}'

TypeScript (@pipeworx/sdk)

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

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

More examples

{
  "id": 2
}

Response shape

FieldTypeDescription
foundbooleanWhether character was found
idnumberCharacter ID
namestringCharacter name
statusstringStatus: alive, dead, or unknown
speciesstringSpecies name
typestring | nullCharacter type/subspecies
genderstringGender
originstringOrigin location name
locationstringCurrent location name
imagestringImage URL
episode_countnumberNumber of episodes appeared in
episode_idsarrayEpisode IDs
urlstringAPI URL
hintstringHint message when character not found
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean",
      "description": "Whether character was found"
    },
    "id": {
      "type": "number",
      "description": "Character ID"
    },
    "name": {
      "type": "string",
      "description": "Character name"
    },
    "status": {
      "type": "string",
      "description": "Status: alive, dead, or unknown"
    },
    "species": {
      "type": "string",
      "description": "Species name"
    },
    "type": {
      "type": [
        "string",
        "null"
      ],
      "description": "Character type/subspecies"
    },
    "gender": {
      "type": "string",
      "description": "Gender"
    },
    "origin": {
      "type": "string",
      "description": "Origin location name"
    },
    "location": {
      "type": "string",
      "description": "Current location name"
    },
    "image": {
      "type": "string",
      "description": "Image URL"
    },
    "episode_count": {
      "type": "number",
      "description": "Number of episodes appeared in"
    },
    "episode_ids": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "description": "Episode IDs"
    },
    "url": {
      "type": "string",
      "description": "API URL"
    },
    "hint": {
      "type": "string",
      "description": "Hint message when character 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