Houzeric commited on
Commit
277f301
·
verified ·
1 Parent(s): dfaecf7

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +31 -30
README.md CHANGED
@@ -1,55 +1,56 @@
1
  ---
2
- title: PokeAPI-MCP
3
- emoji: 🐾
4
- colorFrom: red
5
- colorTo: yellow
6
  sdk: gradio
7
  sdk_version: 5.32.1
8
  app_file: app.py
9
  pinned: false
10
  license: mit
11
- short_description: Expose full access to PokéAPI as MCP.
12
- tags: [mcp-server-track, pokeapi, pokemon, agent, api-wrapper]
13
  ---
14
 
15
- # 🐾 PokeAPI-MCP Agent Access to the Entire PokéAPI
16
 
17
- **PokeAPI-MCP** is a modular Gradio-based agent toolset that exposes nearly all major endpoints of the [PokéAPI v2](https://pokeapi.co/docs/v2) via a Multi-Component Protocol (MCP) interface. It allows agents to query real-time Pokémon data like species, stats, types, evolutions, and much more without writing a single line of API code.
18
 
19
- ## 🎥 Demo Video
20
 
21
- ▶️ [Watch the demo](https://youtu.be/Hyovc5FYOYo)
22
 
 
23
 
24
- ## 🎯 What This App Does
25
 
26
- - Wraps all key PokéAPI endpoints (species, evolution, moves, items, abilities, etc.)
27
- - Exposes each endpoint as a Gradio `Interface`, usable via MCP
28
- - Dynamically generates JSON outputs for agent-friendly consumption
29
- - Supports queries by both name and numeric ID
30
- - Provides automatic error handling and clean descriptions for each tool
 
31
 
32
  ## ✨ Available Tools
33
 
34
- - 🔍 `get_pokemon` full data about a Pokémon
35
- - 📖 `get_pokemon_species` flavor text, gender rate, evolution chain
36
- - 🧠 `get_ability`, `get_stat`, `get_type` detailed mechanics
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
- ...and more.
44
 
45
- ## 🔧 Tech Stack
46
 
47
- - **Gradio** – for exposing interfaces and MCP support
48
- - **requests** – lightweight HTTP client for API access
49
- - **PokéAPI v2** – the full public REST API of the Pokémon world
 
 
50
 
51
- ## 💻 Run Locally
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