Pokemon-MCP-Server

Pokemon-MCP-Server

3.4

The Pokemon MCP Server Demo is a Model Context Protocol server that interfaces with the PokéAPI to provide Pokémon data and functionalities for LLMs.

The Pokemon MCP Server Demo is designed to connect with the PokéAPI, allowing users to fetch detailed Pokémon data, list popular Pokémon, and create tournament squads. Utilizing the FastMCP library and httpx, this server provides a standardized protocol that integrates seamlessly with LLMs and AI agents. The server is built to be user-friendly and efficient, making it an ideal tool for developers and enthusiasts looking to incorporate Pokémon data into their applications. With Python 3.8+ and Node.js as prerequisites, the server is easy to set up and run, offering a robust platform for Pokémon-related data retrieval and management.

Features

  • Get detailed info about any Pokémon
  • Create a powerful tournament squad
  • List popular Pokémon picks

Usage with Different Platforms

mcp

bash
# Clone the repo
git clone https://github.com/your-username/pokemon-mcp-server
cd pokemon-mcp-server

# Create a virtual environment
python -m venv venv
.\venv\Scripts\Activate  # On Windows
# source venv/bin/activate  # On macOS/Linux

# Install dependencies
pip install httpx "mcp[cli]"

uv

bash
# Create a new directory for our project
uv init pokemon
cd pokemon

# Create virtual environment and activate it
uv venv
.venv\Scripts\activate  # On Windows
# source .venv/bin/activate  # On macOS/Linux

# Install dependencies
uv add mcp[cli] httpx

# Create our server file
new-item pokemon.py  # On PowerShell