get_character
Pack: rickmorty · Endpoint: https://gateway.pipeworx.io/rickmorty/mcp
Get full character details by ID. Returns name, species, status, origin world, current location, and episode list.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | number | yes | Character ID (e.g. 1 for Rick Sanchez). |
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_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
Always returns: id, name, status, species, type, gender, origin, location, image, episode_count
| Field | Type | Description |
|---|---|---|
id | number | Character ID |
name | string | Character name |
status | string | Character status (alive, dead, or unknown) |
species | string | Character species |
type | string | null | Character type or subspecies |
gender | string | Character gender |
origin | string | Character origin location name |
location | string | Character current location name |
image | string | URL to character image |
episode_count | number | Number of episodes character appears in |
Full JSON Schema
{
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "Character ID"
},
"name": {
"type": "string",
"description": "Character name"
},
"status": {
"type": "string",
"description": "Character status (alive, dead, or unknown)"
},
"species": {
"type": "string",
"description": "Character species"
},
"type": {
"type": [
"string",
"null"
],
"description": "Character type or subspecies"
},
"gender": {
"type": "string",
"description": "Character gender"
},
"origin": {
"type": "string",
"description": "Character origin location name"
},
"location": {
"type": "string",
"description": "Character current location name"
},
"image": {
"type": "string",
"description": "URL to character image"
},
"episode_count": {
"type": "number",
"description": "Number of episodes character appears in"
}
},
"required": [
"id",
"name",
"status",
"species",
"type",
"gender",
"origin",
"location",
"image",
"episode_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.