@dennisk2025/pokeapi-random-pokemon-fact
v1.0.0
Published
Fetches a random Pokémon and provides interesting real data such as its type, height, weight, base stats, and an image, using the free and public PokeAPI.
Readme
pokeapi-random-pokemon-fact
Fetches a random Pokémon and provides interesting real data such as its type, height, weight, base stats, and an image, using the free and public PokeAPI.
Installation
You can use this MCP server easily with npx (no install required):
npx @dennisk2025/pokeapi-random-pokemon-factOr, to install it globally:
npm install -g @dennisk2025/pokeapi-random-pokemon-factOr as a dependency in your project:
npm install @dennisk2025/pokeapi-random-pokemon-factAdding to Claude Desktop
Add the following configuration to your Claude Desktop config file at:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"pokemon": {
"command": "npx",
"args": ["@dennisk2025/pokeapi-random-pokemon-fact"]
}
}
}Usage
Start the server using npx (or as configured in Claude Desktop):
npx @dennisk2025/pokeapi-random-pokemon-factAvailable Tools
get_random_pokemon_fact
- Description: Retrieves a random Pokémon and returns its name, types, height, weight, stats (like HP and attack), and official artwork image.
- Parameters: None
Example Tool Call
Method: get_random_pokemon_fact
Input:
{}Expected Output:
{
"name": "pikachu",
"types": ["electric"],
"height": 4,
"weight": 60,
"stats": {
"hp": 35,
"attack": 55,
...
},
"image": "https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/25.png"
}Note: Every call returns a different random Pokémon!
License
MIT
