wow-api-mcp
v0.2.25MCP server exposing the World of Warcraft addon API (Blizzard generated documentation, FrameXML source, and Warcraft Wiki) across every wow-ui-source track —…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_flavors List WoW flavors
List every client flavor (wow-ui-source track) this server carries, with its game build, TOC interface version, upstream commit, and API counts. Use it to pick a `flavor` argument.
| Parameter | Type | Description |
|---|---|---|
line | string | Restrict to one game line |
list_systems List API systems
List API systems (namespaces) for a flavor. Optionally filter by a case-insensitive substring of the system or namespace name.
| Parameter | Type | Description |
|---|---|---|
filter | string | Substring filter on system/namespace name |
flavor | string | Which client flavor to query. Defaults to live. Available: live (Retail), ptr (Retail PTR), ptr2 (Retail PTR 2 (XPTR)), beta (Retail Beta), classic (Classic (current expansion)), classic_ptr (Classic… |
search_api Search WoW API
Fuzzy full-text search over API functions, events, and tables (enums/structures/constants) for a flavor. Searches names, systems, and documentation. Example queries: "C_Timer After", "unit health", "spell cooldown".
| Parameter | Type | Description |
|---|---|---|
query * | string | Search terms (names tokenize on _ . and camelCase) |
flavor | string | Which client flavor to query. Defaults to live. Available: live (Retail), ptr (Retail PTR), ptr2 (Retail PTR 2 (XPTR)), beta (Retail Beta), classic (Classic (current expansion)), classic_ptr (Classic… |
kind | string | Restrict result kind |
limit | integer |
get_api Get API details
Full documentation for a function, event, or table by name — signature, typed arguments/returns/payload/fields, and cross-flavor availability. Accepts qualified names ("C_Timer.After"), bare names ("After"), or event literals ("PLAYER_ENTERING_WORLD"). Case-insensitive.
| Parameter | Type | Description |
|---|---|---|
name * | string | API name, qualified or bare |
flavor | string | Which client flavor to query. Defaults to live. Available: live (Retail), ptr (Retail PTR), ptr2 (Retail PTR 2 (XPTR)), beta (Retail Beta), classic (Classic (current expansion)), classic_ptr (Classic… |
diff_api Compare one API across flavors
Compare an API's existence and signature across flavors. Useful to check whether an API exists in a given client and whether its signature drifted between retail, classic, and the test realms.
| Parameter | Type | Description |
|---|---|---|
name * | string | API name, qualified or bare |
flavors | array | Flavors to compare (default: every flavor that has the API, plus the release flavors) |
diff_flavors Diff two flavors' API surface
List APIs added or removed between two flavors — e.g. what the retail PTR gained over live, or what retail has that Classic Era lacks. Answers 'is this API safe to use on <client>' in bulk.
| Parameter | Type | Description |
|---|---|---|
direction | string | added = in `to` only; removed = in `from` only |
filter | string | Case-insensitive substring filter on the API name |
from | string | Baseline flavor. Defaults to live. Available: live (Retail), ptr (Retail PTR), ptr2 (Retail PTR 2 (XPTR)), beta (Retail Beta), classic (Classic (current expansion)), classic_ptr (Classic PTR), classic… |
kind | string | |
limit | integer | |
to | string | Flavor to compare against the baseline. Defaults to live. Available: live (Retail), ptr (Retail PTR), ptr2 (Retail PTR 2 (XPTR)), beta (Retail Beta), classic (Classic (current expansion)), classic_ptr… |
detect_wow_install Detect installed WoW clients
Find World of Warcraft installations on this machine and report, for each installed client (_retail_, _ptr_, _classic_, _classic_era_, ...), its Blizzard product code, exact game build, TOC interface number, and which API flavor to use for it. Call this first when working in an addon project so later API lookups target the right client. Build numbers come from `.build.info`, falling back to the client executable's version resource.
| Parameter | Type | Description |
|---|---|---|
path | string | Any path inside a WoW installation (install root, a `_retail_` folder, or an addon directory). Omit to probe the usual install locations and $WOW_INSTALL_PATH. |
resolve_flavor Resolve a build to an API flavor
Work out which API flavor matches a game build, a TOC interface number, a Blizzard product code, or a path inside a WoW install / addon folder. Use this when you know what the addon targets ("## Interface: 110107", a `.toc` file, a build string) but not which flavor ID to query.
| Parameter | Type | Description |
|---|---|---|
interfaceVersion | TOC interface number, e.g. 120100 or "110107" | |
path | string | Path to a `.toc` file, an addon directory, or anywhere inside a WoW install |
product | string | Blizzard product code, e.g. "wow", "wow_classic_era", "wowt" |
version | string | Game build, e.g. "12.1.0.69814" or "1.15.9" |
check_addon_compatibility Check an addon's API usage against a flavor
Read an addon's `.toc` files, resolve the flavor(s) it targets, and report the game build and API data the server will use for each. Point it at an addon directory or a `.toc` file.
| Parameter | Type | Description |
|---|---|---|
path * | string | Addon directory or `.toc` file path |
search_wiki Search Warcraft Wiki
Search warcraft.wiki.gg — community documentation for the WoW addon API, UI widgets, events, TOC format, CVars, and guides. Returns page titles to use with get_wiki_page.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search terms, e.g. "TOC format" or "SecureActionButtonTemplate" |
limit | integer |
get_wiki_page Get Warcraft Wiki page
Fetch a warcraft.wiki.gg page as markdown (cached ~24h). Useful pages: "TOC format", "World of Warcraft API", "Events", "Widget API", "API <FunctionName>" for per-function pages, "UIHANDLER <OnEvent>" for script handlers.
| Parameter | Type | Description |
|---|---|---|
title * | string | Page title, e.g. "TOC format" or "API C_Timer.After" |
maxChars | integer | Truncate output beyond this length |
search_source Search Blizzard UI source
Regex search (POSIX ERE, via git grep) over Blizzard's FrameXML/AddOn UI source code for a flavor — the best way to learn how Blizzard implements UI patterns (templates, mixins, secure code). The first search per flavor downloads a ~200 MB source checkout and may take a minute.
| Parameter | Type | Description |
|---|---|---|
pattern * | string | Regex, e.g. "SecureActionButtonTemplate" or "function UIParent_[A-Za-z]+" |
fixedString | boolean | Treat the pattern as a literal string rather than a regex |
flavor | string | Which client flavor to query. Defaults to live. Available: live (Retail), ptr (Retail PTR), ptr2 (Retail PTR 2 (XPTR)), beta (Retail Beta), classic (Classic (current expansion)), classic_ptr (Classic… |
ignoreCase | boolean | |
maxResults | integer | |
pathGlob | string | Limit to paths matching a glob, e.g. "Interface/AddOns/Blizzard_ActionBar/**/*.lua" |
list_source_files List Blizzard UI source files
List source files matching a path glob, e.g. `**/Blizzard_ActionBar*/**` or `**/*Mixin*.lua`. Useful for locating the right addon folder before reading files.
| Parameter | Type | Description |
|---|---|---|
glob * | string | Path glob, e.g. "Interface/AddOns/Blizzard_UnitFrame/**" |
flavor | string | Which client flavor to query. Defaults to live. Available: live (Retail), ptr (Retail PTR), ptr2 (Retail PTR 2 (XPTR)), beta (Retail Beta), classic (Classic (current expansion)), classic_ptr (Classic… |
limit | integer |
get_source_file Read Blizzard UI source file
Read a file (or list a directory) from Blizzard's UI source for a flavor, with line numbers. Paths are repo-relative, e.g. "Interface/AddOns/Blizzard_UIParent/Blizzard_UIParent.lua".
| Parameter | Type | Description |
|---|---|---|
path * | string | Repo-relative file or directory path |
endLine | integer | |
flavor | string | Which client flavor to query. Defaults to live. Available: live (Retail), ptr (Retail PTR), ptr2 (Retail PTR 2 (XPTR)), beta (Retail Beta), classic (Classic (current expansion)), classic_ptr (Classic… |
startLine | integer |