pokemon-battle-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pokemon-battle-mcp Calculate damage from Garchomp to Landorus-T."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Pokémon Battle Helper MCP Server
A TypeScript MCP server for Pokémon Champions battle assistance.
For the canonical design, data sources, battle model, tool schemas, solver behavior, and test strategy, see Architecture.md.
Tools
The server registers these MCP tools:
get_meta_snapshotget_pokemon_optionscalculate_statscheck_damage_matchupoptimize_offensive_spreadoptimize_survival_spreadoptimize_speed_spreadget_speed_tiers
All tools expose input/output schemas through MCP tools/list.
Related MCP server: Pokémon VGC Damage Calculator MCP Server
Install / build / test
Requires Node.js 22.18 or newer. Installation downloads a pinned Pokémon Showdown source snapshot and builds its runtime data modules locally.
npm install
npm run build
npm testnpm test runs a pretest build and includes MCP stdio e2e tests that start dist/index.js, connect with the real @modelcontextprotocol/sdk client, call tools, and verify tool schemas.
Run as an MCP server
npm run build
node dist/index.jsExample MCP client config:
{
"mcpServers": {
"pokemon-battle": {
"command": "node",
"args": ["/absolute/path/to/pokemon-battle-mcp/dist/index.js"]
}
}
}Live meta defaults
The implementation uses Pikalytics English live data for Pokémon Champions Regulation M-C (Season M-6). The current provider dataset is the Showdown doubles ladder. Default meta URL shape:
https://www.pikalytics.com/api/p/2026-09/gen9championsvgc2026regmc-1760
https://www.pikalytics.com/api/p/2026-09/gen9championsvgc2026regmc-1760/garchompget_meta_snapshot and get_pokemon_options accept optional format request fields (single/double; default double). Pikalytics' gen9championsvgc2026regmc key is the Champions M-C Showdown doubles ladder, so format currently does not change the queried dataset. The season/regulation key (gen9championsvgc2026regmc) and rating cutoff (1760) are internal constants; update them when the live regulation changes. The data month (YYYY-MM) is discovered automatically — a preferred month is tried first, then recent months are probed newest-first — because Pikalytics serves the literal JSON false for months without data.
Pokémon name handling
All tools accept any common spelling of a Pokémon name and normalize it server-side (see src/utils/pokemon-name.ts):
Showdown forme names and aliases:
Basculegion-F,lando-t,Urshifu-Rapid-Strike.PokeAPI/Pikalytics-style slugs:
basculegion-female,urshifu-rapid-strike.Space/punctuation variants:
Rotom Wash,Sirfetch'd.
Material corrections (e.g. basculegion-female -> Basculegion-F) are reported in inputCorrections. For get_pokemon_options, a base-species request resolves to the only matching meta forme when unambiguous (Floette -> Floette-Mega, with a formeResolved correction); if several formes are ranked, the tool returns an error listing the candidates. When Pikalytics has no page for the requested forme and base-forme data is used instead, the response carries an explicit warning (formeDataFallback) instead of silently returning the wrong forme's data. Unknown names produce did-you-mean suggestions.
Calc-oriented tool handlers (calculate_stats, check_damage_matchup, and the SP optimizers)
also guard against the common LLM mistake of sending a bare base species for a current-format
forme request: if the submitted name is a canonical base species and the current meta has exactly
one matching forme, the handler rewrites it and reports formeResolved in inputCorrections
before doing the calculation. Ambiguous cases still require the client/model to specify the forme.
Recommended client/system instruction:
For Pokémon Champions build, Mega, forme, damage, or speed questions, call get_pokemon_options
first for each named Pokémon and use the returned canonical Pokémon name/build in calculator
tools. Do not guess a base species when the user requested a Mega or forme. Item choices should
be passed exactly as provided by the user; this MCP does not validate item legality.Mega forme ability handling
When a request uses a Mega forme, the server canonicalizes stale or missing abilities to the fixed Mega ability before calculation and reports the change in inputCorrections plus modifierBreakdown. get_pokemon_options also returns the Mega ability for Mega forme requests, even when move/item/spread data has to come from a base-form meta page.
If the ability has already been changed in battle by Skill Swap, Worry Seed, Entrainment, etc., clients should send the current effective ability and mark it explicitly with pokemon.abilitySource: "battle-changed" or an active ability-change effect such as { "id": "abilitychanged" }, { "id": "skillswap" }, or { "id": "worryseed" }. For ability suppression such as Gastro Acid, keep the actual ability and use state.abilityEffect: "inactive".
Available Tools
8 toolscalculate_statsCalculate Pokémon Champions statsA
Calculate level-50 Pokémon Champions stats from species, nature, and SP; includes stage-modified stats when battle state is present. For user requests about current-format builds or Mega/formes, prefer get_pokemon_options first and pass its returned canonical Pokémon name/build; this tool also resolves unambiguous current-meta base-forme mistakes.
Inputs: pokemon (required), context. Returns: rawStats, modifiedStats, inputCorrections, modifierBreakdown
check_damage_matchupCheck damage matchupA
Run a forward damage calculation with Pokémon Champions SP converted to standard EVs. For build questions, first call get_pokemon_options for each Pokémon and use the returned canonical forme/build when available; item choices are accepted as provided and are not legality-validated.
Inputs: move (required), attacker (required), defender (required), context. Returns: koChance, damageRange, damageRolls, description, +3 more
get_meta_snapshotGet Pokémon Champions meta snapshotA
Get popular Pokémon, moves, items, abilities, and common Pokémon Champions SP spreads for the current format.
Inputs: limit, format, includeBuilds. Returns: format, source, pokemon, generatedAt
get_pokemon_optionsGet Pokémon optionsA
Get common sets, moves, items, abilities, spreads, and optional teammates/counters for one Pokémon.
Inputs: pokemon (required), format, includeCounters, includeTeammates. Returns: items, moves, builds, pokemon, +6 more
get_speed_tiersGet speed tiersB
Return sorted speed benchmarks from the current meta seed/source.
Inputs: limit, filters, includeModifiers. Returns: tiers, generatedAt
optimize_offensive_spreadOptimize offensive SP spreadC
Find the minimum attacking SP and nature needed to reach a target damage ratio. Use canonical current-format formes from get_pokemon_options when the user asks about a Mega/forme.
Inputs: move (required), attacker (required), defender (required), targetDamageRatio (required), +4 more. Returns: koChance, requiredSP, inputCorrections, modifierBreakdown, +3 more
optimize_speed_spreadOptimize speed SP spreadA
Find the minimum Speed SP and nature needed to outspeed, speed tie, or underspeed a target. Use get_pokemon_options first for current-format Mega/forme requests; this tool also resolves unambiguous current-meta base-forme mistakes.
Inputs: self (required), target (required), relation (required), context, +2 more. Returns: margin, requiredSpeedSP, inputCorrections, targetFinalSpeed, +5 more
optimize_survival_spreadOptimize survival SP spreadA
Find the minimum HP plus defense/special-defense SP allocation that survives a specified attack. Use canonical current-format formes from get_pokemon_options when the user asks about a Mega/forme.
Inputs: move (required), attacker (required), defender (required), context, +4 more. Returns: survives, totalSPUsed, recommendedSP, inputCorrections, +4 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool has a clearly distinct purpose: meta snapshot, single Pokemon options, stat calculation, damage calculation, and three specific optimize tools for offensive, survival, and speed spreads, plus speed tiers. The descriptions also include cross-references that further clarify when to use each tool.
All tool names follow a consistent verb_noun pattern using lowercase snake_case (get_meta_snapshot, calculate_stats, check_damage_matchup, optimize_offensive_spread). The actions are descriptive and the pattern is uniform.
8 tools is well-scoped for a Pokemon battle assistant, covering meta information, stat calculation, damage calculation, and optimization. Each tool serves a distinct function without unnecessary redundancy.
The tool set covers the full workflow of building Pokemon sets: gathering meta information, obtaining specific Pokemon options, calculating stats, checking damage, and optimizing offensive, defensive, and speed spreads. There are no obvious dead ends or missing operations for the stated purpose.
Maintenance
Related MCP Connectors
A simple Typescript MCP server built using the official MCP Typescript SDK and smithery/cli. This…
Market data tools for the MCP ecosystem: server stats, events, search, leaderboards, package trends.
A TypeScript MCP server for Home Assistant, enabling programmatic management of entities, automati…
MCP server for building and testing AI agents with multi-model experimentation and insights.
Related MCP Servers
- FlicenseBqualityDmaintenanceAn MCP server that provides detailed Pokémon information by integrating with the PokeAPI, allowing users to fetch comprehensive data about Pokémon and simulate battles.22-
- AlicenseBqualityDmaintenanceAn MCP-compliant server that enables AI agents to perform accurate Pokémon battle damage calculations using the Smogon calculator, supporting comprehensive input handling for Pokémon stats, moves, abilities, and field conditions.11,854 npm2MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables accurate status and damage calculations for third-generation Pokémon games, including support for complex factors like weather, abilities, and items. It also provides tools for calculating optimal effort value (EV) distributions through brute-force damage matrix simulations.MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for Pokémon battle advising: provides type matchups, damage calculation, party analysis, and move/ability data for AI agents like Claude Code and Codex.23MIT