Spaces:
Sleeping
Sleeping
Upload README.md
Browse files
README.md
CHANGED
|
@@ -1,55 +1,56 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 5.32.1
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
| 11 |
-
short_description:
|
| 12 |
-
tags: [mcp-server-track,
|
| 13 |
---
|
| 14 |
|
| 15 |
-
#
|
| 16 |
|
| 17 |
-
**
|
| 18 |
|
| 19 |
-
|
| 20 |
|
| 21 |
-
|
| 22 |
|
|
|
|
| 23 |
|
| 24 |
-
## 🎯
|
| 25 |
|
| 26 |
-
-
|
| 27 |
-
-
|
| 28 |
-
-
|
| 29 |
-
-
|
| 30 |
-
-
|
|
|
|
| 31 |
|
| 32 |
## ✨ Available Tools
|
| 33 |
|
| 34 |
-
-
|
| 35 |
-
-
|
| 36 |
-
-
|
| 37 |
-
- 🎒 `get_item`, `get_berry` — held/useable item details
|
| 38 |
-
- 🧬 `get_evolution_chain` — structured evolution trees
|
| 39 |
-
- 🌍 `get_region`, `get_location` — geographical data
|
| 40 |
-
- 🗺️ `get_pokedex`, `get_generation`, `get_version`, `get_version_group`
|
| 41 |
-
- 🧬 `get_egg_group`, `get_pokemon_form`, `get_pokemon_shape`, `get_pokemon_color`, `get_pokemon_habitat`
|
| 42 |
|
| 43 |
-
|
| 44 |
|
| 45 |
-
##
|
| 46 |
|
| 47 |
-
- **Gradio** –
|
| 48 |
-
- **
|
| 49 |
-
- **PokéAPI v2** –
|
|
|
|
|
|
|
| 50 |
|
| 51 |
-
##
|
| 52 |
|
| 53 |
```bash
|
|
|
|
|
|
|
| 54 |
pip install -r requirements.txt
|
| 55 |
python app.py
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Pokémon Card Analyzer MCP
|
| 3 |
+
emoji: 🧠
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
sdk_version: 5.32.1
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
license: mit
|
| 11 |
+
short_description: Get info from pokemon.
|
| 12 |
+
tags: [mcp-server-track, pokemon, ocr, api, agent, card-recognition, battle-simulation]
|
| 13 |
---
|
| 14 |
|
| 15 |
+
# 🧠 Pokémon Card Analyzer MCP
|
| 16 |
|
| 17 |
+
**Pokémon Card Analyzer MCP** is a Multi-Component Program (MCP) built with Gradio that combines OCR, PokéAPI data, and AI-driven logic to analyze Pokémon trading cards and simulate battle scenarios.
|
| 18 |
|
| 19 |
+
With this tool, agents can recognize physical cards from images, retrieve stats, estimate levels from HP, and generate detailed info sheets. It also supports manual input — and even lets agents simulate Pokémon fights!
|
| 20 |
|
| 21 |
+
## 🎥 Demo Video
|
| 22 |
|
| 23 |
+
▶️ [Watch the full demo](https://youtu.be/h6TefG1tILs)
|
| 24 |
|
| 25 |
+
## 🎯 Features
|
| 26 |
|
| 27 |
+
- 🖼️ **Image OCR Recognition** – Detect Pokémon name and HP from real-world card scans or webcam images
|
| 28 |
+
- 🌍 **Multi-language Support** – Translate card names (e.g., French → English) using a custom dictionary
|
| 29 |
+
- 📊 **Level Estimation** – Estimate Pokémon level from observed HP based on official stat formulas
|
| 30 |
+
- 📘 **PokéAPI Integration** – Retrieve evolution chains, base stats, move sets, descriptions, and more
|
| 31 |
+
- ✍️ **Manual Entry Mode** – Input name + level or HP manually to simulate virtual Pokémon sheets
|
| 32 |
+
- ⚔️ **Battle Simulation Ready** – Export usable stats to plug into AI battle logic (Claude, etc.)
|
| 33 |
|
| 34 |
## ✨ Available Tools
|
| 35 |
|
| 36 |
+
- `manual_mcp_hp` – Estimate Pokémon level based on HP
|
| 37 |
+
- `manual_mcp_level` – View Pokémon sheet by entering level directly
|
| 38 |
+
- `ocr_mcp` – Upload or scan a card to auto-extract data and get a full PokéAPI-powered report
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
+
Each tool is accessible via an individual Gradio `Interface`, MCP-compatible and agent-friendly.
|
| 41 |
|
| 42 |
+
## 🛠 Tech Stack
|
| 43 |
|
| 44 |
+
- **Gradio MCP** – Modular agent interface with multi-function routing
|
| 45 |
+
- **EasyOCR** – Lightweight text recognition from images
|
| 46 |
+
- **PokéAPI v2** – Official Pokémon REST API
|
| 47 |
+
- **ChromaDB + OpenCLIP** *(optional)* – Vector database for reverse image search
|
| 48 |
+
- **Claude/OpenAI** *(demo)* – Battle simulation logic for agent-based combat
|
| 49 |
|
| 50 |
+
## 📦 Run Locally
|
| 51 |
|
| 52 |
```bash
|
| 53 |
+
git clone https://github.com/your-username/pokemon-mcp
|
| 54 |
+
cd pokemon-mcp
|
| 55 |
pip install -r requirements.txt
|
| 56 |
python app.py
|