poe2brain-mcp
poe2brain-mcp is an agent-native Path of Exile 2 (patch 0.5.5) intelligence server that gives AI assistants accurate game math, build analysis, live economy data, crafting odds, and loot-filter tooling — with zero PoE1 hallucinations.
Knowledge & mechanics: full-text search over 0.5.5 data (gems, uniques, bases, augments, ascendancies, keywords) plus patch-accurate mechanic explanations and PoE1 trap warnings.
Headless Path of Building 2: load/import/export builds (share codes, poe.ninja, local XML, GGG OAuth), extract DPS/EHP/resists, run "dewatering" audits, compare slots, swap items, optimize runes/supports/jewel radii, and sandbox what-if changes.
Build optimization: rank passive notables and anoints, fix resist/attribute gaps, solve Spirit reservations, prune/rank passive wheels, and plan gear upgrades per budget.
Live economy & trade: currency pricing, market movers, boss EV, farming strategy ranking, arbitrage/Gold ladders, item price checks, batch inventory triage, and PoB2-ranked trade upgrades.
Crafting math: exact conditional mod-pool odds, optimal crafting policy with Monte Carlo p50/p80/p95 costs, mid-craft next-step advice, ilvl sweet-spot search, and profitability scanning.
Build discovery: search daily-synced poe.ninja builds with intent presets and negation filters, import characters, and time-machine snapshots.
Loot filters: generate or restyle filters (NeverSink-based), validate against 0.5.5 grammar, auto-heal broken filters, and produce themes, soundpacks, and HTML previews.
Quality-of-life tools: stash/vendor/tablet/relic regex generators (≤50 chars), Precursor Tablet loadout planning, Sekhemas relic grid packing, realm selection (cn/international), and environment status checks.
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., "@poe2brain-mcp Import my poe.ninja build and rank the best passive upgrades under 5 divine."
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.
中文玩家请直接点这里: 简体中文完整说明 (
README_ZH.md) | Windows 零编译保姆安装 | AI 客户端接入与提示词不会命令行? 直接把仓库地址
https://github.com/lifan-builds/poe2brain发给你的 AI 助手(Claude Code / Cursor / Codex / Antigravity),说一句 「帮我把 poe2brain 克隆下来并按 README_ZH.md 装好依赖、初始化 PoB2 并接入 MCP」 即可全自动完成!Inspiration & Shoutout: Inspired by 流放降临-某雷 and
exilemoulei/pob4agentsfor pioneering agentic Path of Exile 1 workflows.poe2brainis an independent clean-room engine built from the ground up specifically for Path of Exile 2 (0.5.5) — if you play PoE1, go check outpob4agents!
Why poe2brain?
General-purpose LLMs constantly hallucinate Path of Exile 1 mechanics onto Path of Exile 2 — quoting 75% Block caps, Scouring Orbs, Crafting Bench mods, removed 0.4 Homogenising Omens, or fake PoB-warrior DPS inflated by unsustainable flasks and 100% Shock.
poe2brain replaces guesswork with a single typed Python 3.12+ engine exposing 55 MCP tools (poe2brain-mcp) and 1:1 JSON CLI commands (poe2 ... --json) backed by live headless PathOfBuilding-PoE2, an offline Patch 0.5.5 SQLite + FTS5 database, official trade2 pricing, exact crafting probability solvers, and a self-validating loot filter studio.
Problem Players & AI Agents Hit | Generic LLM / Ad-Hoc Scripts |
|
PoE1 vs PoE2 Mechanics | Hallucinates 75% Block, Scouring/Alt, Bench, PoE1 bases | SQLite + FTS5 truth: 769 GGG popups, 54 |
Fake PoB-Warrior Numbers | Trusts inflated 100% Shock / flask-up tooltip DPS | Headless LuaJIT PoB2 ( |
Finding Hidden Builds | Scrapes stale guides or top-1 meta mirror builds | Daily-synced PoB2-audited build index (GitHub Actions rolling release + SQLite cache): |
Guessing Trade Upgrades by Eye | Hard to tell which unfinished weapon actually adds more real DPS | Queries live Trade2 using your PoB2 stat weights, simulates |
Crafting Cost Guessing | Eyeballs odds or recommends removed | Exact conditional mod-pool MDP + Monte Carlo ( |
Loot Filter Clutter & Crashes | Hand-written | 7-trap |
Account Safety & Windows Setup | Asks for | Zero |
Related MCP server: poe2-build-mcp
Benchmark: How Accurate Is poe2brain?
To measure accuracy objectively, we built PoE2Bench-0.5.5 — a reproducible 22-question, 75-check offline benchmark spanning all 6 pillars (Patch 0.5.5 Mechanics, EN/zh-CN Roster & Bases, Exact Conditional Crafting Math, Atlas & Waystone Regex, Headless PoB2 Auditing/Swaps/HC/Runes/What-If, and Loot Filter Validation). Both arms ran the exact same frontier model (gpt-6.2-astra) with zero web search and identical decoded plain-text .xml PoB2, .filter, and clipboard fixture files:
Metric ( | Without | With | Improvement |
Exact Task Pass Rate | 6 / 22 ( | 22 / 22 ( | +72.7 pp ( |
Sub-Check Factual Accuracy | 38 / 75 ( | 75 / 75 ( | +49.3 pp |
PoE1 / Stale-Patch Hallucinations | 4 / 22 ( | 0 / 22 ( | Zero hallucinations |
Sample Benchmark Questions (Without vs. With poe2brain)
# | Real Player Question ( | Without | With |
Q02 | Base passive Block cap, | ❌ Hallucinated PoE1 | ✅ |
Q09 | On an | ❌ Cannot compute | ✅ Exact pool math: |
Q10 |
| ❌ Wrong | ✅ |
Q12 | Compile a | ❌ Put | ✅ |
Q17 | Legal 6-link dewatered support swap ( | ❌ Could not find weakest support, legal swap DPS, or recalculated Int requirement | ✅ Auto-replaced weakest #4 |
Q19 | Balanced Rune & Soul Core optimization ( | ❌ Used stale | ✅ Preserved locked |
Q22 | Exact | ❌ Mental math divided by | ✅ Exact |
Full 22-question suite, per-pillar breakdown, archived raw transcripts (
benchmarks/results/codex_0_5_5.json), and reproduction instructions:benchmarks/README.md. Re-score deterministically in 1 second:uv run python benchmarks/run_benchmark.py score benchmarks/results/codex_0_5_5.jsonMulti-Model Agentic Execution Benchmark (
PoE-Bench): Beyond single-turn Q&A, we also publishlifan-builds/poe-bench(live leaderboard) — a standalone, Terminal-Bench-style 22-task offline execution benchmark (506verified trials across Gemini 4, Claude 5.5, and GPT-6) with zero CLI spoilers and deterministic engine grading. Withoutpoe2brain, all three frontier families score0/30 (0.0% Pass@1); withpoe2brain, top models across every family reach100%(+83–100 ppverified tool lift).
Real Output Showcase
1. Find Underrated High-DPS, High-Mobility Builds in 1 Command
uv run poe2 ninja search --preset sleeper --limit 5 poe.ninja Builds — Forbidden Rites (matched 59/345 | preset=sleeper | sort=sleeper)
┏━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━┳━━━━━┳━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━┳━━━━━━━━┳━━━━━━━┓
┃ Character ┃ Ascendancy ┃ Lv ┃ Main Skill ┃ DPS ┃ EHP ┃ Move ┃
┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━╇━━━━━╇━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━╇━━━━━━━━╇━━━━━━━┩
│ popyj │ Pathfinder │ 100 │ Ice Shot │ 15,150,400 │ 29,631 │ 1.99x │
│ 一阿克一 │ Pathfinder │ 99 │ Ice Shot │ 15,093,062 │ 23,467 │ 2.04x │
│ Noxious_Fu... │ Acolyte of Chayula │ 100 │ Poisonburst Arrow │ 5,652,710 │ 36,369 │ 1.71x │
│ EightChall... │ Shaman │ 100 │ Spark │ 7,113,825 │ 24,586 │ 1.98x │
│ 风枪锐眼 │ Pathfinder │ 100 │ Ice Shot │ 3,979,867 │ 21,084 │ 2.17x │
└──────────────────┴────────────────────┴─────┴───────────────────┴────────────┴────────┴───────┘2. Everyday Power Commands (Fewer Flags, Smarter Defaults)
# Dewatering audit + automatic top-5 bottleneck diagnosis + mobility & CI immunity
uv run poe2 pob audit --slot main
# Zero-install '10D Budget -> Top 3 Upgrades' interactive web studio & shareable HTML/PNG card
uv run poe2 web --port 8765 --open
uv run poe2 audit-card example:amazon --budget 10d --priority balanced --out my_10d_card.html
# Exact PoB2 formula provenance, Tier I-III + Lineage support sweep, and Controlled Metamorphosis rings
uv run poe2 pob calc-breakdown EnergyShield --slot main
uv run poe2 pob supports --slot main --max-tier 2 --no-lineage
uv run poe2 pob radius-jewels --jewel "Controlled Metamorphosis" --slot main
# Live trade2 upgrades ranked by real PoB2 gain (auto-simulating +20% Quality & Runes)
uv run poe2 trade upgrades --equip-slot "Weapon 1" --max-exalted 50 --slot main
# Compare a 25 Ex budget with 100 Ex across the same gloves and boots
uv run poe2 trade plan --slot main --equip-slot Gloves --equip-slot Boots --budget 25 --budget 100 --json
# Replay saved offers from either realm
uv run poe2 trade plan --slot main --offers offers.json --budget 25 --budget 100 --objective defence --json
# Unified capital/Gold arbitrage scan (accepts '500' Exalted or '5d' Divines) & profitable craft scanner
uv run poe2 econ arbitrage --budget 5d --gold 50000
uv run poe2 craft profit --budget mid
# PoB2-aware <=50-char Waystone & Precursor Tablet stash regexes (with 0..6 mod revive schedule)
uv run poe2 wiki regex --slot main
# Start with NeverSink's semi-strict PoE2 filter. Use a local .filter path to branch from your own.
uv run poe2 filter restyle semi_strict --base-only --out my_build.filter
# Add a look to the working copy
uv run poe2 filter restyle my_build.filter --base-only --look "obsidian gold" --out my_gold.filterArchitecture & Six Pillars
flowchart TB
A["AI Agents & Players<br/>Claude Code · Cursor · Antigravity · Codex · Devin · Terminal"]
A -->|JSON-first CLI| CLI["poe2 (Typer)"]
A -->|stdio MCP| MCP["poe2brain-mcp (55 Tools, 1:1 Parity)"]
CLI --> CORE["Typed Python 3.12+ Domain Core"]
MCP --> CORE
CORE --> P1["1. Knowledge & Meta<br/>SQLite + FTS5 · 23 Ascendancies<br/>EN/ZH · <=50c Waystone Regex"]
CORE --> P2["2. Headless PoB2<br/>LuaJIT RPC · Dewater Audit<br/>Supports · Radius Jewels · What-If"]
CORE --> P3["3. Economy & Trade2<br/>Exalted=1.0 · PoB2 Upgrades<br/>Arbitrage · Quad-Tab Triage"]
CORE --> P4["4. Crafting Solver<br/>Conditional Pool · MDP + MC<br/>Collateral Rescue · Profit Scan"]
CORE --> P5["5. poe.ninja Builds<br/>Daily-Synced Build Index · Presets<br/>!Negation · Timeline Stepping Stone"]
CORE --> P6["6. Loot Filter Studio<br/>7-Trap Validator · NeverSink Restyler<br/>PoB2/ilvl82 Bases · Voice Callouts"]Knowledge, Ascendancies & Live Ladder Meta (
poe2brain.knowledge) — Read-only SQLite + FTS5 index (data/poe2_0.5.5.sqlite) over 769 official GGGKeywordPopups, 54 Patch0.5.5anti-hallucination rules & formulas, 1,711 gems, 443 uniques (439 live in 0.5.5), 3,219 live PoE2 bases (catching PoE1 / stale0.1Expertbase traps), 313 socketable augments, 293 crafting levers, and 882 Verisium/Kalguuran runeforge recipes, plusMetaService(TreeData/0_58 playable classes & 23 Ascendancies,Abyssal Lichinheritance, choice notables, bilingualzh-CN/zh-TWaliases, and live SC/HC/SSF/HCSSF ladder shares).Headless Path of Building 2 (
poe2brain.pob) — Persistent nativeLuaJIT+PathOfBuilding-PoE2(tree 0_5) JSON-RPC 2.0 daemon supporting multi-slot builds (main,ref,candidate),eN.../poe.ninja/poe2db.tw/maxroll.gg/pobb.in/ XML / GGG.buildJSON I/O, dewatering audits with automatic upgrade bottlenecks,explain_calcformula provenance,rank_support_gems,rank_radius_jewels, transactionalwhat_ifsandboxing,<10msGetMiscCalculator()item sweeps, and marginaltrade2stat weights.Live Economy, Arbitrage & Official Trade2 (
poe2brain.trade) — 3-tier pricing router normalized toExalted Orb = 1.0combiningapi.poe2scout.com+poe.ninjaexchange overviews with unauthenticatedpathofexile.com/api/trade2(GGGRateLimiter+1.0sbuffer),ArbitrageScanner(--budget/--gold,profit_ex_per_10k_gold, compounding ladders, trap filters),Exiled-Exchange-2-backed EN/ZHCtrl+C/Ctrl+Alt+Citem parsing, PoB2-ranked slot upgrade search (auto-simulating+20%quality + Greater Runes), and multi-item quad-tab triage.Exact Crafting Odds, Policy & Profit Scanner (
poe2brain.crafting) — ConditionalModPoolEngine(display_tier = 1best, tiered orbmin_mod_levelfloors, family mutual exclusion, dynamic elemental tag-blocking, 3-draw without-replacement Well of Souls unveil,Omen of Whittling, cross-poolCrystallisation, blocking removed0.4Homogenising Omens &0.5Recombinators) + sunk-cost-disciplinedCraftingPlanner(4-mod Fracturing Orb,p50/p80/p95Monte Carlo, buy-vs-craft) +CraftProfitScannerwith automaticcompetition_level&niche_score.PoE Ninja Builds Discovery & Live Character Import (
poe2brain.ninja) — Livepoe.ninjabuild-index-state&snapshot-versionstelemetry across SC/HC/SSF/HCSSF, pure-stdlibSearchResultprotobuf +NDIC\x02decoder,<2ms<PathOfBuilding2>XML inspector, multi-facet search with 5 intent presets,!Termnegation, and a runtime SQLiteBuildStore(~/.cache/poe2brain/builds.sqlite) synced via ETag from the daily GitHub Actions rollingbuild-indexrelease (plus write-through caching on live imports and time-machine budget stepping-stone discovery).PoB2-Aware Loot Filter, NeverSink Restyler & Voice Callout Studio (
poe2brain.filters) — Self-validating PoE20.5.5.filtercompiler &FilterValidatorenforcing all 7 client-crash traps, live economy tiering, PoB2 build-priority + Exceptional (21%+quality /3+sockets) +ilvl 81/82jewellery & weapon crafting bases, clean endgame Uncut Gem / Flask / Charm clutter pruning, 8 WCAG-verified visual presets (plus optional CVD-safe & night-mode modifiers), pure-stdlib44.1 kHz16-bitstereo.wav/.mp3synth + bilingual EN/ZHvoice_calloutpacks,NeverSink0.10.4aauto-healing & restyling, Filter Doctor (poe2 filter heal), and interactive HTML drop previews.
60-Second Quickstart
Requirements: Python 3.12+ and uv.
git clone https://github.com/lifan-builds/poe2brain.git
cd poe2brain
uv sync
# Bootstrap headless PathOfBuilding-PoE2 runtime into ~/.cache/poe2brain/pob2
# • Windows: zero C compiler needed (auto-reuses local PoB2 or pulls MIT x64 lua51.dll)
# • macOS / Linux: compiles LuaJIT 2.1 + luautf8 automatically
uv run poe2 init # choose 国服 (cn) or 国际服 (international)
uv run poe2 bootstrap pob2
# Verify engine, SQLite 0.5.5 gamedata DB, and PoB2 runtime readiness
uv run poe2 version --jsonWindows 中文用户? 请直接查看保姆级图文命令指南:docs/zh/QUICKSTART_WINDOWS.md
Try the web playground or its China mirror. For local setup in China, the Windows installer tries a mirror of the GitHub repository first. See the Chinese setup guide.
Importing Your Character (Day-1 Friendly, Zero POESESSID)
Option 1 — Zero-Auth Local PoB2 Sync (Works Immediately): Auto-discovers builds saved in your desktop Path of Building (PoE2) folder:
uv run poe2 pob import-local --list uv run poe2 pob import-local --slot mainOption 2 —
poe.ninjaCharacter URL or Any PoB2 Share Code (poe2db/maxroll/pobb.in/ WeGame):uv run poe2 ninja character "<poe.ninja_url>" --load-pob --slot main uv run poe2 pob load "<eN..._code_or_pobb.in_url>" --slot mainOption 3 — Official GGG OAuth 2.1 PKCE (Pending GGG Client Approval Until PoE2 1.0): GGG has paused new OAuth client approvals until 1.0, so the default
poe2brainclient ID currently returnsinvalid_client. Use Option 1 or Option 2 unless you supply your own GGG-approvedPOE2BRAIN_OAUTH_CLIENT_ID:POE2BRAIN_OAUTH_CLIENT_ID="<your_approved_client_id>" uv run poe2 auth login uv run poe2 pob import-character --list uv run poe2 pob import-character "<CharacterName>" --slot main
Connecting to Your AI Assistant
A terminal prompts for the game realm on first use. Switch later with poe2 init cn or poe2 init international. CLI and MCP share the choice. Noninteractive commands keep the existing international behavior until a realm is selected. Tencent character imports, filters, and prices
Use poe2 setup-mcp --profile core to configure an MCP client with 21 core tools. Run poe2 doctor to check the installation, poe2 update (poe2 update --cn in mainland China) to pull the latest engine, gamedata DB, and pinned PoB2 runtime in one command, or poe2 uninstall to remove it. Connected AI agents and interactive terminals check /api/version every 12h (opt out via POE2BRAIN_NO_UPDATE_CHECK=1 or NO_UPDATE_NOTIFIER=1) and surface a warning immediately when a new PoE2 game patch (such as 1.0) goes live. After running poe2 update, restart or toggle the poe2brain MCP switch in your AI client so the updated stdio server loads.
The repository also ships manifests for these clients:
Claude Code / Cursor: Open this repo directly (uses .mcp.json), or add globally via the snippet below.
Antigravity: Ready-to-load plugin manifest in plugin.json, workspace MCP config in .agents/mcp_config.json, and skill in .agents/skills/poe2brain/SKILL.md.
Devin: Workspace MCP config in .devin/mcp_config.json.
Codex CLI / Shell Agents: Invoke
uv --directory /path/to/poe2brain run poe2 ... --jsondirectly.
{
"mcpServers": {
"poe2brain": {
"command": "uv",
"args": ["--directory", "/ABSOLUTE/PATH/TO/poe2brain", "run", "poe2brain-mcp"]
}
}
}Manual stdio launch:
uv run poe2brain-mcp1:1 MCP Tool & CLI Command Reference
Every single MCP tool maps 1:1 to a poe2 ... --json CLI command over the exact same typed domain services (55 tools total; any --json command also accepts universal --compact, --fields <dot.paths>, --json-out <file>, --max-bytes <N>, and --full flags):
Pillar | MCP Tool ( | CLI Command ( | Purpose |
Setup |
|
| Save the player’s realm for the CLI and MCP. |
Health |
|
| Verify patch ( |
Knowledge |
|
| FTS5 + exact search across 769 GGG |
Knowledge |
|
| Authoritative |
Knowledge |
|
| Active, Spirit, Meta, Tiered Support ( |
Knowledge |
|
| Base properties, implicits, |
Knowledge |
|
| Unique base type, implicits, explicits, and |
Knowledge |
|
| Runes, Soul Cores, Azmeri Idols, Shaman |
Knowledge |
|
| List all 23 PoE2 |
Knowledge |
|
| Live SC/HC/SSF/HCSSF ladder shares, Ascendancy tier rankings, and liquid chase item demand signals. |
Knowledge |
|
| Compile verified |
Knowledge |
|
| Plan 1–3 Map Device Precursor Tablet loadouts, inspect SQLite tablet mod pools/weights or pasted tablets, and compile |
Knowledge |
|
| Exact non-rotating 2D Trial of the Sekhemas Relic grid packer ( |
PoB2 |
|
| Load |
PoB2 |
|
| Return a share code to reopen the saved build in PoB2. Use |
PoB2 |
|
| Extract |
PoB2 |
|
| Dewatering audit: strip PoB-warrior config inflation and return sustainable Pinnacle stats, culprits, and actionable |
PoB2 |
|
| Compare two persisted PoB2 slots across DPS/EHP, gear/uniques, skills, passives, and exact |
PoB2 |
|
| Audit HC Pinnacle Boss Max Hits, Bleed/Poison ES bypass, Chaos |
PoB2 |
|
| Non-destructive |
PoB2 |
|
| Compute marginal PoB2 stat weights ( |
PoB2 |
|
| Rank reachable passive notables ( |
PoB2 |
|
| Solve Armour/Weapon Rune & Soul Core Resist Tetris & socket optimization using SQLite |
PoB2 |
|
| Inspect exact PoB2 calculation formulas & |
PoB2 |
|
| Rank all compatible PoE2 |
PoB2 |
|
| Rank Passive Tree Jewel Sockets × radius rings ( |
PoB2 |
|
| Transactional multi-change PoB2 hypothesis sandbox ( |
PoB2 |
|
| Discover or load saved local Path of Building (PoE2) |
PoB2 |
|
| Import a direct WeGame |
PoB2 |
|
| Solve resistance & attribute deficits via unselected quest rewards, overwriteable runes (PoB2-verified), 20% jewellery catalysts, and lowest-point passives. |
PoB2 |
|
| Audit Weapon Set 1/2 Spirit pools & provenance, solve exact 0/1 knapsack Spirit reservations, and compute the next Spirit breakpoint. |
PoB2 |
|
| Group and rank whole passive wheels jointly, find connectivity-safe leaf passives to refund with exact |
Economy |
|
| Live |
Economy |
|
| High-liquidity exchange movers, numeraire-normalized cross-source spreads, and chanceable Uniques. |
Economy |
|
| Live Pinnacle Boss & Trial entry costs vs chase unique drops (Arbiter, Xesht, Simulacrum, King in the Mists, Olroth, Sekhema, Trialmaster) with jackpot ratios & variable-roll notes. |
Economy |
|
| Rank Patch |
Economy |
|
| Executable |
Trade |
|
| Parse PoE2 |
Trade |
|
| 3-tier price check using buyout listings by default and exchange quotes with price-fixer outlier warnings. |
Trade |
|
| Batch price-check & classify multi-item |
Trade |
|
| Query live |
Trade |
|
| Compare complete gear combinations at each Exalted budget. Supply a JSON offer array in either realm, or sample international buyouts. Offer format and replay |
Crafting |
|
| Exact conditional mod-pool hit odds ( |
Crafting |
|
| Optimal state-conditional policy + Monte Carlo cost ( |
Crafting |
|
| Rank profitable |
Crafting |
|
| Mid-craft advisor for a live pasted item: identifies open slots, Whittling/Crystallisation/Omen of Light collateral-safe actions, and sunk-cost bailout threshold. |
Crafting |
|
| Sweep base item levels ( |
Ninja |
|
| Live |
Ninja |
|
| Multi-facet |
Ninja |
|
| Import live |
Filter |
|
| List all 8 WCAG visual theme presets, 6 strictness tiers, 6 custom soundpack styles + musical keys/scales, and local PoE2 filter dir. |
Filter |
|
| Default recommendation for a new filter. Start from the player's file or NeverSink with |
Filter |
|
| Generate a native filter from scratch when requested. Compile a validated |
Filter |
|
| Validate any |
Filter |
|
| Filter Doctor: auto-heal broken PoE1 / PoE2 |
poe2 lang [en|zh-CN|zh-TW] --json— Read or persist the preferred trilingual output locale (en,zh-CN,zh-TW) shared across CLI and MCP (overridable viaPOE2BRAIN_LANG).poe2 pob daemon <status|start|stop> [--idle-timeout 300] --json— Inspect, pre-warm, or stop the persistent idle-TTL background PoB2 socket daemon auto-spawned by CLI commands.poe2 web [--host 127.0.0.1] [--port 8765] [--live-trade/--offline] [--lang en|zh] [--open]— Launch the bilingual dark-fantasy 10D Budget -> Top 3 Upgrades web studio (GET /+POST /api/audit) with 1-click example builds and PNG/HTML card export.poe2 audit-card [<code_file_or_example>] [--budget 10d] [--priority balanced|dps|ehp] [--live-trade/--offline] [--out <card.html>] [--lang en|zh] --json— Compute ranked Top 3 DPS/EHP-per-Divine upgrades and emit a self-contained bilingual Shareable HTML Upgrade Card.poe2 wiki runeforge "<query>" [--limit 12] --json— Search Verisium Anvil base transforms and Kalguuran Remnant rune recipes directly.poe2 pob export [--format code|xml|ggg_json] [--out <path>] [--slot main] --json— Export a persisted build slot to share code, XML, or official GGG.buildJSON.poe2 pob equip --equip-slot "<slot>" [--item-text "<text>" | --file <path>] [--slot main] --json— Persistently equip an item into a saved PoB2 slot.poe2 pob slots [--create <slot> --class <cls> --ascendancy <asc>] [--clone-from <a> --clone-to <b>] [--delete <slot>] [--gems "<links>"] [--config key=val] [--custom-mods "<mods>"] --json— Manage and mutate persisted CLI PoB2 slots (~/.cache/poe2brain/pob_slots).poe2 econ rates [--league "Forbidden Rites"] --json— Inspect liveExalted : Chaos : Divinereference rates and active PoE2 leagues.poe2 sync gamedata [--out <path>] --json— Deterministically rebuilddata/poe2_0.5.5.sqlitefrom MIT upstream sources and bundled weights.poe2 bootstrap pob2 [--force] --json— Seed or compile the localLuaJIT+PathOfBuilding-PoE2runtime.
# Rebuild the patch 0.5.5 database and refresh the PoB2 build index
uv run python scripts/sync_gamedata.py
uv run python scripts/sync_build_index.py
# Lint & run offline unit + headless PoB2 integration suites (tested on Windows + macOS CI)
uv run ruff check . scripts
uv run pytest -v -k "not test_live_"
# Include live Forbidden Rites network round-trip tests
POE2_LIVE_TESTS=1 uv run pytest -vUpstream Attribution & GGG ToS Boundary
Clean-Room Upstream Data Attribution: Bundled lookup data in
data/derives strictly from permissive MIT-licensed upstream projects (PathOfBuildingCommunity/PathOfBuilding-PoE2,Kvan7/Exiled-Exchange-2in data/ee2/LICENSE.Exiled-Exchange-2,ackness/pobrtest fixture in tests/fixtures/LICENSE.pobr,repoe-fork/poe2&thmsndk/vscode.poe2-filterin data/filter/LICENSE.filter-data, plus optional MITNeverSinkDev/NeverSink-Filter-for-PoE2base filter healing), with original upstream MIT notices preserved.Strictly Out-of-Game & ToS-Compliant:
poe2brainnever readsPOESESSIDor auth cookies, never calls Cloudflare-gated/api/protected/routes, never inspects game memory or screen frames, never injects inputs into the Path of Exile 2 client, uses official GGG OAuth 2.1 PKCE for private character imports, and paces all publictrade2requests throughGGGRateLimiter.
License
Open source under GPL-3.0-only, with the Section 7 attribution terms in ATTRIBUTION.md. Copies, integrations, and modified versions must stay under GPL-3.0, keep this credit in their README / credits (and --version or About output for standalone forks), mark their changes, and may not use the poe2brain name:
Based on poe2brain by lifan-builds (https://github.com/lifan-builds/poe2brain)
Copyright © 2026 lifan-builds. Pull requests are welcome under CONTRIBUTING.md with a one-time CLA. For licensing outside GPL, open an issue.
Available Tools
55 toolspoe2_boss_evC
Compare live PoE2 0.5.5 Pinnacle Boss & Trial entry costs vs chase unique drops.
Inputs: league, encounter, force_refresh. Returns: object
poe2_craft_nextC
Recommend the optimal next orb/omen and stop-loss verdict for a half-crafted PoE2 item.
Inputs: target (required), item_text (required), league, buy_exalted, +4 more. Returns: object
poe2_craft_oddsC
Compute exact PoE2 0.5.5 conditional mod-pool hit odds and step cost (CraftActionEval).
Inputs: base (required), ilvl, omen, lever, +5 more. Returns: object
poe2_craft_planC
Solve optimal PoE2 0.5.5 crafting policy, Monte Carlo p50/p80/p95 cost, and buy-vs-craft.
Inputs: base (required), target (required), ilvl, sims, +5 more. Returns: object
poe2_craft_sweetspotC
Find the optimal item level (ilvl) unlocking target mods with minimal pool dilution.
Inputs: base (required), target (required), lever, max_ilvl, +1 more. Returns: object
poe2_currency_priceC
Get live PoE2 CurrencyQuote in {exalted, chaos, divine} (Exalted=1.0) with trend & volume.
Inputs: query (required), league, category. Returns: object
poe2_explain_mechanicC
Return Patch 0.5.5 MechanicFact (poe1_trap, poe2_live_rule, formula) and GGG keywords.
Inputs: topic (required), limit, compact. Returns: object
poe2_farming_strategyB
Rank Patch 0.5.5 league-start & endgame Atlas farming loops with live prices, Atlas Masters, Tablet/Waystone setups, and optional PoB2 build-fit scoring.
Inputs: slot, focus, stage, budget, +2 more. Returns: object
poe2_filter_generateC
Generate a native filter from scratch on request. Usually recommend poe2_filter_restyle.
Inputs: pob, look, slot, scale, +17 more. Returns: object
poe2_filter_healC
Doctor & auto-heal broken PoE1 / PoE2 0.1 .filter files or text to 0 Patch 0.5.5 errors.
Inputs: filter_file_or_text (required), out_path, sound_dir. Returns: object
poe2_filter_presetsA
List PoE2 0.5.5 visual theme presets, strictnesses, soundpack styles, and filter folder.
Inputs: no named parameters. Returns: object
poe2_filter_restyleC
Recommended for creating filters. Branch from a local .filter or NeverSink 'semi_strict'.
Start with base_only=True to keep the base's priorities, colors and sounds. Pass a look to customize its style. International economy and PoB2 rules are available with base_only=False.
Inputs: source (required), pob, look, slot, +18 more. Returns: object
poe2_filter_validateB
Validate a PoE2 0.5.5 .filter file or text against live BaseTypes, Classes, and grammar.
Inputs: filter_file_or_text (required), sound_dir. Returns: object
poe2_find_upgradesC
Find live trade2 slot upgrades and rank via headless PoB2 GetMiscCalculator().
Inputs: equip_slot (required), slot, limit, league, +9 more. Returns: object
poe2_initA
Save the player's choice of 国服 (cn) or 国际服 (international) for CLI and MCP.
Inputs: realm (required). Returns: object
poe2_inspect_ascendancyC
List 23 PoE2 0.5.5 Ascendancies or inspect notables, prereqs, choices, and patch diffs.
Inputs: blind, diff_from, class_filter, name_or_class. Returns: object
poe2_inspect_augmentC
Inspect PoE2 Runes, Soul Cores, Idols, Shaman Bonded bonuses, and Runeforge recipes.
Inputs: query (required), limit. Returns: object
poe2_inspect_baseB
Inspect PoE2 base stats, implicits, T1 (display_tier=1) affixes, and PoE1/'Expert' traps.
Inputs: name (required), ilvl. Returns: object
poe2_inspect_gemB
Inspect PoE2 active, Spirit, Meta, Tiered Support (I/II/III), and Lineage Support gems.
Inputs: name (required). Returns: object
poe2_inspect_uniqueB
Inspect PoE2 unique item base type, implicits, explicits, and is_chanceable status.
Inputs: name (required). Returns: object
poe2_market_scanC
Scan high-liquidity PoE2 exchange movers, cross-source spreads, and chanceable Uniques.
Inputs: limit, league, category, min_volume_divine. Returns: object
poe2_meta_ladderC
Get live PoE2 SC/HC/SSF/HCSSF ladder shares, Ascendancy tier rankings, and chase demand.
Inputs: top_n, league, force_refresh, include_economy_signals. Returns: object
poe2_ninja_characterC
Import a live poe.ninja character, probe time-machine timeline, or load/audit in PoB2.
Inputs: account_or_url (required), lang, slot, audit, +7 more. Returns: object
poe2_ninja_searchC
Search PoE2 Forbidden Rites builds with presets, !negation, and pre-audited PoB2 metrics.
Inputs: limit, skill, league, preset, +14 more. Returns: object
poe2_ninja_snapshotsB
Query live poe.ninja PoE2 build-index-state & snapshot-versions across SC/HC/SSF/HCSSF.
Inputs: league, force_refresh. Returns: object
poe2_parse_itemB
Parse PoE2 Ctrl+C / Ctrl+Alt+C clipboard text into ParsedItem plus PoB2-ready item text.
Inputs: item_text (required). Returns: object
poe2_plan_upgradesC
Plan gear in PoB2 per Exalted budget using supplied offers or live international buyouts.
Inputs: budgets (required), slot, league, offers, +3 more. Returns: object
poe2_pob_auditC
Dewatering audit: strip PoB-warrior config inflation vs sustainable Pinnacle stats.
Inputs: lang, slot, source, open_browser, +1 more. Returns: object
poe2_pob_calc_breakdownC
Explain exact PoB2 calculation formulas & modifier provenance (BASE/INC/MORE/FLAG).
Inputs: lang, slot, query, max_mods, +1 more. Returns: object
poe2_pob_compareC
Compare two loaded PoB2 slots across DPS/EHP, gear, skills, passives, and Gold respec.
Inputs: lang, slot_a, slot_b, dewater. Returns: object
poe2_pob_eval_itemC
Evaluate a candidate item non-destructively via PoB2 GetMiscCalculator().
Inputs: item_text (required), equip_slot (required), slot, price_exalted. Returns: object
poe2_pob_exportB
Export a PoB2 build slot as an eN... share code, raw XML, or GGG .build JSON.
Inputs: fmt, slot. Returns: object
poe2_pob_fix_gapsB
Solve resistance & attribute gaps via quest rewards, runes, catalysts, and nearby nodes.
Inputs: lang, slot, attr_buffer, verify_in_pob, +3 more. Returns: object
poe2_pob_hc_auditC
Audit Hardcore Pinnacle Boss one-shot Max Hits, Bleed/Poison ES bypass, & Gold respecs.
Inputs: lang, slot, source, top_nodes, +1 more. Returns: object
poe2_pob_import_characterC
Import a converted 国服 character page, PoB Code, or GGG account character.
Inputs: lang, slot, realm, list_only, +4 more. Returns: object
poe2_pob_import_localC
Discover or load saved local Path of Building (PoE2) .xml builds without OAuth.
Inputs: lang, slot, list_only, builds_dir, +1 more. Returns: object
poe2_pob_loadC
Load a PoB code, converted 国服 page, share URL, XML or .build.
Use skill_group from skill_groups when the player identifies their main skill.
Inputs: source (required), lang, slot, level, +2 more. Returns: object
poe2_pob_optimize_runesC
Solve Resist Tetris & optimal Armour/Weapon Rune and Soul Core sockets in PoB2.
Inputs: slot, league, objective, offline_prices, +1 more. Returns: object
poe2_pob_radius_jewelsC
Rank Passive Tree Jewel Sockets & rings for Controlled Metamorphosis / Against Darkness.
Inputs: slot, stat, top_n, jewel_name, +1 more. Returns: object
poe2_pob_spiritC
Audit Weapon Set 1/2 Spirit pools and solve exact 0/1 knapsack Spirit reservations.
Inputs: lang, slot, objective, weapon_set, +4 more. Returns: object
poe2_pob_statsC
Extract FullDPS, TotalEHP, Life/ES/Mana, Spirit, resists, Block, Deflection, and Armour.
Inputs: lang, slot. Returns: object
poe2_pob_stat_weightsC
Compute marginal PoB2 stat weights for an equipment slot and build a trade2 filter.
Inputs: equip_slot (required), slot, league, objective, +2 more. Returns: object
poe2_pob_suggest_nodesC
Rank reachable notables, anoints, Megalomaniac combos, or search/path the passive tree.
Inputs: top, lang, mode, slot, +8 more. Returns: object
poe2_pob_supportsC
Rank compatible PoE2 0.5.5 Support Gems (Tier I-III + Lineage) with Mana/Spirit checks.
Inputs: lang, slot, top_n, dewater, +7 more. Returns: object
poe2_pob_treeC
Rank passive wheels, prune lowest-value leaf nodes, or analyze WS1/WS2 tree splits.
Inputs: lang, mode, slot, stat, +3 more. Returns: object
poe2_pob_what_ifC
Run compound PoB2 what-if simulations (multi-slot, mod edits, nodes, ref borrowing).
Inputs: slot, apply, edit_slot, set_config, +10 more. Returns: object
poe2_price_checkC
Price-check a PoE2 item across live exchange and trade2 listings with fixer warnings.
Inputs: item_text (required), league, open_browser, roll_tolerance, +1 more. Returns: object
poe2_relic_planC
Plan, exact-pack (2D altar grid), or inspect Trial of the Sekhemas Relics + <=50c regex.
Inputs: cols, goal, mode, rows, +5 more. Returns: object
poe2_scan_arbitrageC
Scan PoE2 0.5.5 arbitrage plays or build a Gold ladder (unified budget '500'/'5d' + gold).
Inputs: gold, limit, budget, league, +11 more. Returns: object
poe2_scan_craft_profitC
Scan & rank profitable PoE2 0.5.5 crafts with live costs, p50/p80, exit prices, and ROI.
Inputs: sims, budget, league, live_trade, +3 more. Returns: object
poe2_search_knowledgeB
FTS5 + exact search across PoE2 0.5.5 mechanics, keywords, gems, uniques, and bases.
Inputs: query (required), limit, category. Returns: object
poe2_statusB
Verify PoE2 0.5.5 patch, default league, SQLite DB, headless PoB2, and update freshness.
Inputs: no named parameters. Returns: object
poe2_tablet_planB
Plan, inspect, or compile <=50-char stash regexes for PoE2 0.5.5 Precursor Tablets.
Inputs: goal, mode, want, avoid, +8 more. Returns: object
poe2_triage_dumpC
Batch price-check & classify multi-item PoE2 Ctrl+C dump into sell/craft/unveil/salvage.
Inputs: items (required), league, live_trade, min_exalted, +2 more. Returns: object
poe2_waystone_regexC
Compile general <=50-char PoE2 Stash, Vendor, Crafting, Tablet, Relic & Waystone regexes.
Inputs: slot, item_text, max_chars, archetypes, +14 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 55 tools
The descriptions are highly specific and many tools target distinct resources or workflows, but there are several overlapping clusters: PoB import/load tools, multiple crafting planners, multiple pricing/economy scanners, and filter generate/restyle. An agent can usually disambiguate from the detailed descriptions, but some boundaries remain fuzzy.
All tools use a consistent poe2_ snake_case prefix with clear domain sub-prefixes such as pob_, craft_, filter_, and ninja_. The main inconsistency is mixed verb/noun ordering (e.g. tablet_plan vs inspect_base) and some abbreviations, but the pattern is still highly readable.
At 55 tools, the surface is far beyond the typical well-scoped 3-15 range and exceeds the rubric's 50+ extreme-mismatch threshold. The domain is broad, but the number of narrowly specialized tools creates overload and encourages misselection.
The server covers an unusually broad PoE2 lifecycle: knowledge lookup, item/gem/base inspection, PoB import/audit/optimization/export, crafting, pricing, market scanning, farming, and filters. Minor gaps remain around generic build creation or direct trade-listing search, but most workflows have a supported path.
Maintenance
Related MCP Connectors
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
A registry of AI agent tools — MCP servers, APIs, CLIs, SDKs — kept current by automated ingestion.
Related MCP Servers
- FlicenseAqualityDmaintenanceAn MCP server for Path of Exile 2 build analysis that loads builds from Path of Building export codes and allows natural language interrogation via any MCP-compatible client.82-
- AlicenseAqualityDmaintenanceAn MCP server for Path of Exile 2: a queryable game corpus plus Path-of-Building-faithful calculations, so an LLM can import your build, answer questions, and theorycraft against real numbers (not invented ones).644MIT
- AlicenseBqualityBmaintenanceAn MCP server that provides LLMs with access to Path of Exile game data, including gems, unique items, passive tree nodes, item modifiers, maps, scarabs, live pricing, and Path of Building build parsing, fetched at runtime from community sources without requiring an API key.382655 PyPI1MIT
- AlicenseAqualityCmaintenanceA local, single-user MCP server that tracks Path of Exile 2 market data and exposes it to an LLM, enabling currency price lookups, per-league price history, watchlists, stash valuation, and trade preparation from your own machine.151MIT