get_episode
Pack: rickmorty · Endpoint: https://gateway.pipeworx.io/rickmorty/mcp
Get episode details by ID. Returns title, air date, season and episode number, and character appearances.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | number | yes | Episode ID (e.g. 1 for “Pilot”). |
Example call
Arguments
{
"id": 1
}
curl
curl -X POST https://gateway.pipeworx.io/rickmorty/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
Always returns: id, name, air_date, episode, character_count
| Field | Type | Description |
|---|---|---|
id | number | Episode ID |
name | string | Episode title |
air_date | string | Episode air date |
episode | string | Season and episode number (e.g., S01E01) |
character_count | number | Number of characters appearing in this episode |
Full JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Episode ID"
},
"name": {
"type": "string",
"description": "Episode title"
},
"air_date": {
"type": "string",
"description": "Episode air date"
},
"episode": {
"type": "string",
"description": "Season and episode number (e.g., S01E01)"
},
"character_count": {
"type": "number",
"description": "Number of characters appearing in this episode"
}
},
"required": [
"id",
"name",
"air_date",
"episode",
"character_count"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"rickmorty": {
"url": "https://gateway.pipeworx.io/rickmorty/mcp"
}
}
}
See Getting Started for client-specific install steps.