search_characters
Pack: rick-and-morty · Endpoint: https://gateway.pipeworx.io/rick-and-morty/mcp
Search Rick and Morty characters by name with optional filters for status (alive/dead/unknown), species (Human/Alien/etc.), and gender. Returns up to 20 matching characters per page with status, species, origin, current location, and episode appearances.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | no | Character name to search for (partial match, e.g., “rick”, “beth”) |
status | string | no | Filter by status: “alive”, “dead”, or “unknown”. |
species | string | no | Filter by species (e.g., “Human”, “Alien”, “Mythological Creature”). |
gender | string | no | Filter by gender: “female”, “male”, “genderless”, or “unknown”. |
page | number | no | Page number (1-based, default 1). API returns 20 per page. |
Example call
Arguments
{
"name": "rick"
}
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":"search_characters","arguments":{"name":"rick"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('search_characters', {
"name": "rick"
});
More examples
{
"name": "morty",
"status": "alive",
"species": "Human",
"gender": "male"
}
Response shape
| Field | Type | Description |
|---|---|---|
found | boolean | Whether any characters matched the search |
count | number | Number of matching characters |
characters | array | List of matching characters |
hint | string | Hint message when no results found |
total | number | Total number of matching characters |
pages | number | Total number of pages |
page | number | Current page number |
has_more | boolean | Whether there are more pages |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean",
"description": "Whether any characters matched the search"
},
"count": {
"type": "number",
"description": "Number of matching characters"
},
"characters": {
"type": "array",
"description": "List of matching characters",
"items": {
"type": "object",
"properties": {
"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 no results found"
},
"total": {
"type": "number",
"description": "Total number of matching characters"
},
"pages": {
"type": "number",
"description": "Total number of pages"
},
"page": {
"type": "number",
"description": "Current page number"
},
"has_more": {
"type": "boolean",
"description": "Whether there are more pages"
}
}
}
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.