get_type
Pack: pokemon · Endpoint: https://gateway.pipeworx.io/pokemon/mcp
Check type effectiveness matchups and find Pokémon by type (e.g., “fire”, “water”). Returns damage chart and up to 20 Pokémon.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
type | string | yes | Type name (e.g., “fire”, “water”, “electric”) |
Example call
Arguments
{
"type": "fire"
}
curl
curl -X POST https://gateway.pipeworx.io/pokemon/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_type","arguments":{"type":"fire"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_type', {
"type": "fire"
});
More examples
{
"type": "water"
}
Response shape
Always returns: name, damage_relations, pokemon, total_pokemon
| Field | Type | Description |
|---|---|---|
name | string | Type name |
damage_relations | object | |
pokemon | array | Up to 20 Pokémon with this type |
total_pokemon | number | Total Pokémon count with this type |
Full JSON Schema
{
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Type name"
},
"damage_relations": {
"type": "object",
"properties": {
"double_damage_to": {
"type": "array",
"items": {
"type": "string"
},
"description": "Types this type does 2x damage to"
},
"double_damage_from": {
"type": "array",
"items": {
"type": "string"
},
"description": "Types this type takes 2x damage from"
},
"half_damage_to": {
"type": "array",
"items": {
"type": "string"
},
"description": "Types this type does 0.5x damage to"
},
"half_damage_from": {
"type": "array",
"items": {
"type": "string"
},
"description": "Types this type takes 0.5x damage from"
},
"no_damage_to": {
"type": "array",
"items": {
"type": "string"
},
"description": "Types this type cannot damage"
},
"no_damage_from": {
"type": "array",
"items": {
"type": "string"
},
"description": "Types this type takes no damage from"
}
},
"required": [
"double_damage_to",
"double_damage_from",
"half_damage_to",
"half_damage_from",
"no_damage_to",
"no_damage_from"
]
},
"pokemon": {
"type": "array",
"items": {
"type": "string"
},
"description": "Up to 20 Pokémon with this type"
},
"total_pokemon": {
"type": "number",
"description": "Total Pokémon count with this type"
}
},
"required": [
"name",
"damage_relations",
"pokemon",
"total_pokemon"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"pokemon": {
"url": "https://gateway.pipeworx.io/pokemon/mcp"
}
}
}
See Getting Started for client-specific install steps.