search_characters
Pack: rickmorty · Endpoint: https://gateway.pipeworx.io/rickmorty/mcp
Search for Rick and Morty characters by name. Returns character IDs, names, species, and status (alive/dead/unknown).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
name | string | yes | Character name to search for (e.g. “Rick”, “Morty”, “Beth”). |
Example call
Arguments
{
"name": "Rick"
}
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":"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"
}
Response shape
Always returns: count, pages, characters
| Field | Type | Description |
|---|---|---|
count | number | Total number of characters matching the search |
pages | number | Total number of pages available |
characters | array | List of matching characters |
Full JSON Schema
{
"type": "object",
"properties": {
"count": {
"type": "number",
"description": "Total number of characters matching the search"
},
"pages": {
"type": "number",
"description": "Total number of pages available"
},
"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": "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"
]
}
}
},
"required": [
"count",
"pages",
"characters"
]
}
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.