Pokemon Champions Battle Assistant

Pokemon Champions Battle Assistant

Enables live battle statistics queries and precise damage calculations for Pokemon Champions, supporting Japanese and English names, multiple formats, and environmental factors.

Category
Visit Server

README

Pokemon Champions Battle Assistant - MCP Server

This project is a Model Context Protocol (MCP) server for the Pokemon Champions Battle Assistant, built using @hono/mcp and the @modelcontextprotocol/sdk.

It allows LLMs (like Claude) to query live battle statistics and perform damage calculations directly on your local system or remote host.


๐Ÿ›  Setup & Installation

1. Requirements

  • Node.js v20+
  • The repository [PokemonChampions_Battle-assistant-tool](file:///home/mekabu0551/poke-api-poc/PokemonChampions_Battle-assistant-tool) cloned and populated with databases.

2. Install dependencies

In the root directory, run:

npm install

3. Build & Start the Server

To compile the TypeScript code and start the Hono server:

# Start in development mode (with hot-reloading)
npm run dev

# Or build and run the production server
npm run build
npm start

The server will start listening on http://localhost:8787.


๐Ÿ”Œ Connecting to an MCP Client (e.g., Claude Desktop)

To connect Claude Desktop to your local Hono MCP server, add the following configuration to your claude_desktop_config.json:

{
  "mcpServers": {
    "pokemon-champions": {
      "url": "http://localhost:8787/mcp"
    }
  }
}

๐Ÿงฐ Available Tools

Once connected, the following tools will be made available to your LLM:

1. get_pokemon_metadata

  • Description: Returns base stats, types, English name, and ID of a given Pokemon.
  • Parameters:
    • pokemon_name (string, required): Japanese or English name of the Pokemon (e.g., "ใ‚ฌใƒ–ใƒชใ‚ขใ‚น", "garchomp").

2. get_battle_statistics

  • Description: Returns popularity statistics of moves, items, natures, ev spreads, and abilities for a specific Pokemon in the current environment.
  • Parameters:
    • pokemon_name (string, required)
    • format ("Singles" | "Doubles", default: "Doubles")
    • season (string, optional)

3. calculate_damage

  • Description: Performs a precise Level 50 damage calculation between two Pokemon, factoring in nature, stats, items (like ใ“ใ ใ‚ใ‚Šใƒใƒใƒžใ‚ญ, ใจใคใ’ใใƒใƒงใƒƒใ‚ญ), ranks, weather, and terrain.
  • Parameters:
    • attacker (object, required): Attacker details (name, evs, nature, ranks, item, teratype).
    • defender (object, required): Defender details (name, evs, nature, ranks, item, teratype).
    • move (string, required): Move name (e.g., "ใ˜ใ—ใ‚“").
    • environment (object, optional): Weather and Terrain settings.

๐Ÿ“ Key Code Files

  • [package.json](file:///home/mekabu0551/poke-api-poc/package.json) โ€” Project configuration and dependencies.
  • [tsconfig.json](file:///home/mekabu0551/poke-api-poc/tsconfig.json) โ€” TypeScript settings.
  • [src/index.ts](file:///home/mekabu0551/poke-api-poc/src/index.ts) โ€” The MCP server implementation.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured