VGC Teambuilder

v1.0.0
com.pokemcp/vgc-teambuilder Checked 6 hours ago Published 18 days ago

Read-only Pokémon Champions VGC data: legality, usage stats, type analysis and matchup calcs.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_formats List supported formats

List the Pokémon Champions regulations this connector supports, with each one's id, dates, whether it is current, team rules, number of legal Mega Evolutions and whether usage statistics are available. Use it to find the `format` value other tools accept and to see which format they use by default.

lookup_pokemon Look up a Pokémon

Get a Pokémon's types, base stats, abilities, weight, alternate forms and any Mega Evolutions legal in the supported regulations (with the Mega's types, ability and base stats). Data comes from Pokémon Showdown; it does not say whether the Pokémon itself is legal in a format — use validate_team for that.

ParameterTypeDescription
pokemon *stringPokémon name in English, e.g. "Incineroar" or "Landorus-Therian"

validate_moveset Check which moves a Pokémon can learn

Check whether a Pokémon can learn each of the given moves in any Pokémon game, counting moves inherited from its pre-evolutions and base form. Based on Pokémon Showdown learnset data across all generations, not Pokémon Champions' own move lists: a move learnable only in an older game may not exist in Champions, and a move added only in Champions may be reported as not learnable.

ParameterTypeDescription
moves *arrayMove names to check
pokemon *stringPokémon name in English, e.g. "Incineroar" or "Landorus-Therian"

validate_team Validate a team for a regulation

Check a team against a Pokémon Champions regulation: each Pokémon is on the regulation's allowed list, Species Clause, Item Clause, at most four moves each, moves are learnable and abilities belong to the Pokémon. A Mega Evolution named directly (e.g. "Charizard-Mega-Y") is checked as its base Pokémon holding its Mega Stone. It does not check stat spreads or held-item availability. Move data comes from Pokémon Showdown across all generations, not Pokémon Champions' own move lists, so a move from an older game can pass and a Champions-only move can fail.

ParameterTypeDescription
team *arrayTeam members. Only `pokemon` is required for each
formatstringRegulation id from list_formats. Defaults to "champions-regmc" (Pokémon Champions — Regulation M-C).

analyze_team_types Analyze a team's defensive typing

For a list of Pokémon, count how many are weak to, resist or are immune to each attacking type, and report shared weaknesses, types nothing on the team resists, and defensive types that would patch the most gaps. It considers typing only — not abilities, items or moves — and suggests types, not specific Pokémon. Pass a Mega form's name (e.g. "Charizard-Mega-Y") to analyse its post-Mega typing.

ParameterTypeDescription
team *arrayPokémon names on the team

get_top_usage Get the most-used Pokémon

Rank the most-used Pokémon in a regulation by the share of ladder teams they appear on, from the most recent month of usage statistics loaded for that regulation (the month itself is not reported; get_usage_trend shows dated history). Use it to see what a team should expect to face. Mega Evolutions are ranked as separate entries.

ParameterTypeDescription
formatstringRegulation id from list_formats. Defaults to "champions-regmc" (Pokémon Champions — Regulation M-C).
limitintegerMaximum entries to return (1–50). Defaults to 20

get_pokemon_usage Get how a Pokémon is built

Show how one Pokémon is typically built in a regulation: its usage and rank, and the most common abilities, items, moves and stat spreads as a share of its recorded sets. Spreads use the stat-point scale the ladder records (0–32 per stat in Pokémon Champions).

ParameterTypeDescription
pokemon *stringPokémon name in English. Mega Evolutions are tracked separately, e.g. "Charizard-Mega-Y"
formatstringRegulation id from list_formats. Defaults to "champions-regmc" (Pokémon Champions — Regulation M-C).

get_teammates Get a Pokémon's common teammates

List the Pokémon that most often share a team with the given Pokémon in a regulation, as the share of its teams that include each one. Use it to find proven partners and cores.

ParameterTypeDescription
pokemon *stringPokémon name in English. Mega Evolutions are tracked separately, e.g. "Charizard-Mega-Y"
formatstringRegulation id from list_formats. Defaults to "champions-regmc" (Pokémon Champions — Regulation M-C).
limitintegerMaximum entries to return (1–30). Defaults to 10

get_checks_and_counters Get a Pokémon's checks and counters

List the Pokémon that most reliably beat the given Pokémon on the ladder, ranked by Smogon's checks-and-counters score. The data records one-on-one outcomes (a knockout or a forced switch), so in doubles treat it as a rough signal. Pokémon with few recorded matchups have no data.

ParameterTypeDescription
pokemon *stringPokémon name in English. Mega Evolutions are tracked separately, e.g. "Charizard-Mega-Y"
formatstringRegulation id from list_formats. Defaults to "champions-regmc" (Pokémon Champions — Regulation M-C).
limitintegerMaximum entries to return (1–30). Defaults to 10

get_usage_trend Get a Pokémon's usage over time

Show one Pokémon's monthly usage and rank in a regulation across a range of months, with its net change and peak. History exists only for months the regulation's ladder was active.

ParameterTypeDescription
pokemon *stringPokémon name in English. Mega Evolutions are tracked separately, e.g. "Charizard-Mega-Y"
formatstringRegulation id from list_formats. Defaults to "champions-regmc" (Pokémon Champions — Regulation M-C).
fromstringFirst month, YYYY-MM. The nearest month with data is used if it has none
monthsintegerMonths to look back from `to` when `from` is omitted. Defaults to 12
tostringLast month, YYYY-MM. Defaults to the most recent month

get_meta_shifts Compare usage between two months

Compare a regulation's usage between two months: the biggest risers and fallers, Pokémon that newly reached meaningful usage and Pokémon that dropped out. Use it to see how the metagame changed. Needs at least two months of history.

ParameterTypeDescription
formatstringRegulation id from list_formats. Defaults to "champions-regmc" (Pokémon Champions — Regulation M-C).
fromstringFirst month, YYYY-MM. The nearest month with data is used if it has none
limitintegerMaximum entries to return (1–25). Defaults to 10
monthsintegerMonths to look back from `to` when `from` is omitted. Defaults to 3
tostringLast month, YYYY-MM. Defaults to the most recent month

get_usage_momentum Find rising and falling Pokémon

Fit a trend to each Pokémon's monthly usage across a range and list the fastest rising, fastest declining and most volatile. These are descriptive trends, not forecasts. Works best with three or more months of history in the range. With only two (common early in a regulation) it reports the straight change between them, leaves the volatile list empty and says so in `note`. Treat the result as a direction, not a measurement.

ParameterTypeDescription
formatstringRegulation id from list_formats. Defaults to "champions-regmc" (Pokémon Champions — Regulation M-C).
fromstringFirst month, YYYY-MM. The nearest month with data is used if it has none
limitintegerMaximum entries to return (1–25). Defaults to 10
monthsintegerMonths to look back from `to` when `from` is omitted. Defaults to 6
tostringLast month, YYYY-MM. Defaults to the most recent month

calculate_damage Calculate damage for one move

Calculate how much damage one move does from one Pokémon to another in Pokémon Champions doubles: the damage range, the share of the defender's HP, and the chance to knock it out. Use it instead of estimating damage. Any part of a set that is left out is filled in from the regulation's usage statistics and listed under `assumptions`. A move that hits both opponents is calculated at its reduced doubles damage unless `singleTarget` is set. This is one calculation, not a battle simulation: it does not account for the rest of the turn, switching or luck beyond the damage roll and critical hits.

ParameterTypeDescription
attacker *objectThe Pokémon using the move
defender *objectThe Pokémon being hit
move *stringMove name, for example "Earthquake"
fieldobjectBattle conditions. Leave out for none.
formatstringRegulation id from list_formats. Defaults to "champions-regmc" (Pokémon Champions — Regulation M-C).

compare_speed Compare Speed and turn order

Work out the Speed of several Pokémon in Pokémon Champions and the order they move in, including the effect of items such as Choice Scarf, Tailwind, paralysis, stat stages, weather abilities and Trick Room. Use it to answer who outspeeds whom. Any part of a set that is left out is filled in from the regulation's usage statistics and listed under `assumptions`. Speed decides order only among moves of the same priority.

ParameterTypeDescription
pokemon *arrayThe Pokémon to compare. The same Pokémon may appear with two sets.
formatstringRegulation id from list_formats. Defaults to "champions-regmc" (Pokémon Champions — Regulation M-C).
terrainstring
trickRoombooleanTrick Room is up: slower moves first
weatherstring

plan_matchup Plan a six-versus-six matchup

Plan a matchup between two teams of six: which four to bring, which two to lead, and who handles each of the opponent's threats. The opponent can be given as names alone or as an open team sheet; anything missing comes from usage statistics, and the result lists what was filled in. Every pair is judged with find_counters' verdicts (Counter, Check, Trade, Loses), counting the team's KOs only when they are at least 50% likely and the opponent's from the earliest possible hit unless a likely count can be shown. The bring favours the four that leave none of the opponent's biggest threats unanswere…

ParameterTypeDescription
opponent *array
team *array
formatstringRegulation id from list_formats. Defaults to "champions-regmc" (Pokémon Champions — Regulation M-C).

find_counters Find answers to one threat

Check whether a team has an answer to one threat. For each team member it calculates the threat's hardest hit into it, its hardest hit into the threat, and who moves first, then gives a verdict. Counter: takes under 50% from the threat's hardest hit, so it survives two, and KOs the threat in 2 hits or fewer. Check: KOs the threat before it can KO back, needing fewer hits than the threat, or as many while moving first. Trade: each needs the same number of hits, so Speed decides (or a Speed tie leaves it open). Loses: anything else. A KO in N hits counts only when the damage rolls make it at lea…

ParameterTypeDescription
threat *objectThreat name plus any known set fields
formatstringRegulation id from list_formats. Defaults to "champions-regmc" (Pokémon Champions — Regulation M-C).
limitintegerMaximum entries to return (1–10). Defaults to 5
suggestbooleanSearch usage when the team has no answer; default true
teamarray
trickRoombooleanUse Trick Room verdicts for ranking and suggestions; default false

check_team_threats Check a team against the most-used Pokémon

Check a team against the Pokémon it is most likely to face in a regulation. For each threat (the most used Pokémon by default, or the ones named) it reports the team's hardest hit into it, its hardest hit into the team, and which team members outspeed it. Each threat uses its most common set in the regulation's usage statistics. Results are single hits with no screens or stat changes, under the weather or terrain the attacker's own ability sets if any. This is not a battle simulation; use calculate_damage to examine one matchup under specific conditions.

ParameterTypeDescription
team *arrayThe team, one to six Pokémon
formatstringRegulation id from list_formats. Defaults to "champions-regmc" (Pokémon Champions — Regulation M-C).
limitintegerHow many of the most used Pokémon to check (1–10). Defaults to 8
threatsarrayPokémon to check against. Defaults to the most used in the regulation.