Zoo Animals MCP Server
Zoo Animals MCP Server
A Model Context Protocol (MCP) server that provides zoo animal information using RapidAPI's Zoo Animals API.
Features
Get random zoo animals with detailed information
Search for specific animals by name
Filter animals by type (mammal, bird, reptile, etc.)
Comprehensive animal data including:
Name and Latin name
Physical characteristics (size, weight)
Habitat and geographic range
Diet and active time
Lifespan information
High-quality images
Usage
The server provides three tools:
get_random_animals(count: int = 5)
Get random zoo animals.
Parameters:
count: Number of animals to fetch (1-10, default: 5)
Returns:
Detailed information about random animals
search_animal(name: str)
Search for a specific animal by name.
Parameters:
name: Animal name to search for (e.g., "lion", "elephant")
Returns:
Comprehensive information about the found animal
get_animals_by_type(animal_type: str)
Get animals by their type/category.
Parameters:
animal_type: Type of animals (e.g., "mammal", "bird", "reptile")
Returns:
List of animals of the specified type
Installation
Install dependencies:
pip install -r requirements.txtRun the server:
python server.pyAPI
This MCP server uses RapidAPI's Zoo Animals API which provides comprehensive animal data from zoos worldwide.