Labsco
MCP SERVER

Pokemon Gen3 Calculator

by ptrst102

Exact stat and damage maths for third-generation Pokémon, so the model stops estimating.

Games, Entertainment & Fandom
Summary
The two sweep tools are what a calculator site can't do.

A single damage roll you can get anywhere. Sweeping one side's EVs across the whole range and reading off the threshold is the part that answers a real question — how much Attack do I actually need, how much bulk does surviving this cost. Weather-dependent and weight-dependent moves are handled specially, with power landing at 100 under weather and scaling from 20 to 120 by weight respectively.

What it is

A calculator for the third-generation games, exposed as MCP tools. Stat and damage formulas are arithmetic a language model gets wrong on its own; this hands the arithmetic to code and leaves the reasoning to the model.

What you get
  • `calculate_status` computes real stat values from base stats, IVs, EVs and nature
  • `calculate_damage` folds in type matchup, STAB, abilities, held items, weather, field effects such as Reflect and Light Screen, stat stages from -6 to +6, critical hits, and moves whose type or power changes with weather or the target's weight
  • `calculate_damage_matrix_varying_attack` fixes the defender's EVs and sweeps the attacker's, which is how you find the minimum investment that still guarantees a KO
  • `calculate_damage_matrix_varying_defense` sweeps the other way, to find the defensive spread that survives a specific attack
Requirements

Node.js and npm, version 1.0.0 of the project built from source: clone the repo, `npm install`, `npm run build`, then point the client at `dist/index.js` with `node`. No account and no network access — the game data ships with the project.

Setup effort

Build from source — clone the repository and build it, then point your client at the binary