Poe2brain

Developer tools

Agent-native Path of Exile 2 (0.5.5) intelligence engine & live web workbench: headless LuaJIT PoB2 dewatering, 353 sleeper builds, Trade2 upgrades, crafting EV & 2AM filters (45 CLI+MCP tools, GPL-3.0).

Your AI app calls the Poe2brain MCP server, which does the developer tools work and sends the result back to the chat.

About Poe2brain

Poe2brain is a community MCP server from lifan-builds, filed in our directory under developer tools. Agent-native Path of Exile 2 (0.5.5) intelligence engine & live web workbench: headless LuaJIT PoB2 dewatering, 353 sleeper builds, Trade2 upgrades, crafting EV & 2AM filters (45 CLI+MCP tools, GPL-3.0).

At a glance

Publisher
lifan-builds (community)
Runs
See the README for setup
Written in
Python
License
GPL-3.0
GitHub stars
181

How to set up Poe2brain

  1. Follow the install steps in the Poe2brain README; it is written in Python, so have that toolchain ready.
  2. Check the Poe2brain README for keys or settings; the registry lists none that Poe2brain requires.
  3. Add Poe2brain to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Poe2brain tools to confirm the connection.
  5. Run one read-only task with Poe2brain first, and keep your app asking before each tool call until the results look right.

Poe2brain compared with similar servers

  • Vivado by mapleleavessssssss-wq has fewer GitHub stars than Poe2brain (181 against 181); both are community servers, and both run locally.
  • Ollama by rawveg has fewer GitHub stars than Poe2brain (181 against 181); both are community servers, and both run locally.
  • Bgts Context Engine by bgts-ai-org has fewer GitHub stars than Poe2brain (180 against 181); both are community servers, and both run locally.

Before you connect Poe2brain

  • Give Poe2brain its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Poe2brain tool call until you trust what it does with them.
  • Treat text that Poe2brain fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Poe2brain on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Poe2brain

How marketing and sales teams put Poe2brain to work, by company size. Pick the size closest to yours and start Poe2brain on one use case.

Small business

  • A small business with a developer can use Poe2brain to ship site and tracking fixes faster, with the AI reading the code it changes.
  • Technical founders can ask Poe2brain to explain and fix a marketing site issue without context switching between tools.
  • Poe2brain runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Growth engineers can use Poe2brain to build landing pages, tracking and integrations in fewer cycles, with reviews kept in the normal flow.
  • Marketing ops engineers can connect Poe2brain to keep scripts and automations documented and versioned as they change.
  • Start Poe2brain on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprise engineering teams can roll out Poe2brain with repo scopes and audit logs, so agents work only where they are allowed.
  • Platform teams can standardize on Poe2brain so web and marketing engineering share one reviewed way of working with AI.
  • Poe2brain is a community server, so have security review the code and pin a version before Poe2brain touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Poe2brain README

From lifan-builds/poe2brain on GitHub, shared under its GPL-3.0 license. Images are left out; the original has them.

README.md

Give Claude Code, Cursor, Antigravity, Codex, or Cherry Studio
real Path of Exile 2 (0.5.5) math, zero PoE1 hallucinations, zero POESESSID.

English · 简体中文 · Windows 保姆安装 · AI 助手接入与提示词 · 六大实战工作流

中文玩家请直接点这里: 简体中文完整说明 (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/pob4agents for pioneering agentic Path of Exile 1 workflows. poe2brain is 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 out pob4agents!

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 48 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 poe2brain (Patch 0.5.5)
PoE1 vs PoE2 Mechanics Hallucinates 75% Block, Scouring/Alt, Bench, PoE1 bases SQLite + FTS5 truth: 769 GGG popups, 54 0.5.5 anti-hallucination rules, 23 Ascendancies, EN + zh-CN/zh-TW
Fake PoB-Warrior Numbers Trusts inflated 100% Shock / flask-up tooltip DPS Headless LuaJIT PoB2 (GetMiscCalculator()) with automatic dewatering audits + top-5 upgrade bottlenecks
Finding Hidden Builds Scrapes stale guides or top-1 meta mirror builds Daily-synced PoB2-audited build index (GitHub Actions rolling release + SQLite cache): --preset sleeper ranks real DPS × move speed × rarity in <1s
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 +20% Quality + Runes, and ranks by true DPS/EHP gain
Crafting Cost Guessing Eyeballs odds or recommends removed 0.4 Omens / 0.5 Recombinators Exact conditional mod-pool MDP + Monte Carlo (p50/p80/p95) with mid-craft collateral brick protection
Loot Filter Clutter & Crashes Hand-written .filter rules crash PoE2 or miss ilvl 82 / Exceptional bases 7-trap 0.5.5 compiler, NeverSink restyler & Filter Doctor: live economy tiers, PoB2 + Exceptional (21%+/3-socket) crafting bases, EN/ZH voice callouts
Account Safety & Windows Setup Asks for POESESSID cookies or breaks compiling C/Lua on Windows Zero POESESSID (Local PoB2 sync + official GGG OAuth 2.1 PKCE); zero C compiler needed on Windows

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 (gpt-6.2-astra, same model, 0 web search) Without poe2brain With poe2brain Improvement
Exact Task Pass Rate 6 / 22 (27.3%) 22 / 22 (100.0%) +72.7 pp (3.7×)
Sub-Check Factual Accuracy 38 / 75 (50.7%) 75 / 75 (100.0%) +49.3 pp
PoE1 / Stale-Patch Hallucinations 4 / 22 (18.2%) 0 / 22 (0.0%) Zero hallucinations

Sample Benchmark Questions (Without vs. With poe2brain)

# Real Player Question (Patch 0.5.5) Without poe2brain With poe2brain
Q02 Base passive Block cap, Glancing Blows keystone effect, and Deflection mitigation % & cap? ❌ Hallucinated PoE1 75% Block cap & PoE1 rules ✅ 50% Block cap, Evade Unlucky / Deflect Lucky, 40% / 95% cap
Q09 On an ilvl 82 Rare Warmonger Bow, compare Greater vs. Perfect Exalted Orb odds to hit T1 % Physical Damage (weight 25) ❌ Cannot compute 0.5.5 affix pool weights (symbolic formula only) ✅ Exact pool math: 40,482 weight (0.0618%, 1,619.3 tries) vs. 24,782 weight (0.1009%, 991.3 tries, 1.634×)
Q10 0/2/4/6-mod Waystone revives, Tablet placement, 3 Patch 0.5 Atlas Masters, and 0.5.5 Sacred Blooms ❌ Wrong 6 revives on 0-mod; couldn't name Atlas Masters or Sacred Blooms ✅ 5/4/2/0 revives, Map Device Tablets, Jado / Hilda / Doryani (1 active), Viridian Wildwood / Azmeri Wisps
Q12 Compile a <=50-char PoE2 negated stash regex hiding all 6 CI/ES (es_ci) brick Waystone hazards ❌ Put ! inside quotes ("!m player r|...", broken PoE2 syntax) ✅ !"buil|ever|of l|pene|weak|player r" (36 chars, 6/6 hazards, 0 FP/FN)
Q17 Legal 6-link dewatered support swap (--best-swap --dewater) on 5/5-filled Amazon Ice Shot + verify Elemental Focus Int req ❌ Could not find weakest support, legal swap DPS, or recalculated Int requirement ✅ Auto-replaced weakest #4 Stoicism II with Hit and Run (121,674 → 170,344, +40.0%); #2 Elemental Focus (+23.98%, attributes_met_after = true)
Q19 Balanced Rune & Soul Core optimization (--offline-prices) preserving Socket-bound augments + true net PoB2 swap delta ❌ Used stale +7% Tacati value (wasting 7 cores instead of 3); could not compute net DPS/EHP delta ✅ Preserved locked Kolr's Hunt (11/12 sockets), 3 Soul Core of Tacati (21% → 60% Chaos), true net -43,108 DPS / +2,017 EHP, offline cost null
Q22 Exact what-if (multiplierRage=0 only) DPS drop + offline quad-tab triage (--no-live-trade) ❌ Mental math divided by 1.30 (183,020, -23.1%, off by ~9.5 pp!) ✅ Exact 237,993 → 160,418 (-32.6%); offline triage: Normal ilvl 82 wand 3P/3S open, ring salvage_or_vendor

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.json

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

# 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.filter

Architecture & 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 (48 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"]
Deep Dive: What's Inside Each of the Six Pillars
  1. Knowledge, Ascendancies & Live Ladder Meta (poe2brain.knowledge), Read-only SQLite + FTS5 index (data/poe2_0.5.5.sqlite) over 769 official GGG KeywordPopups, 54 Patch 0.5.5 anti-hallucination rules & formulas, 1,711 gems, 443 uniques (439 live in 0.5.5), 3,219 live PoE2 bases (catching PoE1 / stale 0.1 Expert base traps), 313 socketable augments, 293 crafting levers, and 882 Verisium/Kalguuran runeforge recipes, plus MetaService (TreeData/0_5 8 playable classes & 23 Ascendancies, Abyssal Lich inheritance, choice notables, bilingual zh-CN/zh-TW aliases, and live SC/HC/SSF/HCSSF ladder shares).
  2. Headless Path of Building 2 (poe2brain.pob), Persistent native LuaJIT + 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 .build JSON I/O, dewatering audits with automatic upgrade bottlenecks, explain_calc formula provenance, rank_support_gems, rank_radius_jewels, transactional what_if sandboxing, <10ms GetMiscCalculator() item sweeps, and marginal trade2 stat weights.
  3. Live Economy, Arbitrage & Official Trade2 (poe2brain.trade), 3-tier pricing router normalized to Exalted Orb = 1.0 combining api.poe2scout.com + poe.ninja exchange overviews with unauthenticated pathofexile.com/api/trade2 (GGGRateLimiter + 1.0s buffer), ArbitrageScanner (--budget/--gold, profit_ex_per_10k_gold, compounding ladders, trap filters), Exiled-Exchange-2-backed EN/ZH Ctrl+C / Ctrl+Alt+C item parsing, PoB2-ranked slot upgrade search (auto-simulating +20% quality + Greater Runes), and multi-item quad-tab triage.
  4. Exact Crafting Odds, Policy & Profit Scanner (poe2brain.crafting), Conditional ModPoolEngine (display_tier = 1 best, tiered orb min_mod_level floors, family mutual exclusion, dynamic elemental tag-blocking, 3-draw without-replacement Well of Souls unveil, Omen of Whittling, cross-pool Crystallisation, blocking removed 0.4 Homogenising Omens & 0.5 Recombinators) + sunk-cost-disciplined CraftingPlanner (4-mod Fracturing Orb, p50/p80/p95 Monte Carlo, buy-vs-craft) + CraftProfitScanner with automatic competition_level & niche_score.
  5. PoE Ninja Builds Discovery & Live Character Import (poe2brain.ninja), Live poe.ninja build-index-state & snapshot-versions telemetry across SC/HC/SSF/HCSSF, pure-stdlib SearchResult protobuf + NDIC\x02 decoder, <2ms <PathOfBuilding2> XML inspector, multi-facet search with 5 intent presets, !Term negation, and a runtime SQLite BuildStore (~/.cache/poe2brain/builds.sqlite) synced via ETag from the daily GitHub Actions rolling build-index release (plus write-through caching on live imports and time-machine budget stepping-stone discovery).
  6. PoB2-Aware Loot Filter, NeverSink Restyler & Voice Callout Studio (poe2brain.filters), Self-validating PoE2 0.5.5 .filter compiler & FilterValidator enforcing all 7 client-crash traps, live economy tiering, PoB2 build-priority + Exceptional (21%+ quality / 3+ sockets) + ilvl 81/82 jewellery & weapon crafting bases, clean endgame Uncut Gem / Flask / Charm clutter pruning, 8 WCAG-verified visual presets (plus optional CVD-safe & night-mode modifiers), pure-stdlib 44.1 kHz 16-bit stereo .wav/.mp3 synth + bilingual EN/ZH voice_callout packs, NeverSink 0.10.4a auto-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 --json

Windows 中文用户? 请直接查看保姆级图文命令指南: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 main
    
  • Option 2, poe.ninja Character 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 main
    
  • Option 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 poe2brain client ID currently returns invalid_client. Use Option 1 or Option 2 unless you supply your own GGG-approved POE2BRAIN_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:

Copy-Paste MCP Config (Claude Desktop / Cursor / Cherry Studio / Generic MCP)
{
  "mcpServers": {
    "poe2brain": {
      "command": "uv",
      "args": ["--directory", "/ABSOLUTE/PATH/TO/poe2brain", "run", "poe2brain-mcp"]
    }
  }
}

Manual stdio launch:

uv run poe2brain-mcp

Read the rest of the Poe2brain README on GitHub

Questions about Poe2brain

What is the Poe2brain MCP server?

Agent-native Path of Exile 2 (0.5.5) intelligence engine & live web workbench: headless LuaJIT PoB2 dewatering, 353 sleeper builds, Trade2 upgrades, crafting EV & 2AM filters (45 CLI+MCP tools, GPL-3.0). Poe2brain is maintained by lifan-builds on GitHub at lifan-builds/poe2brain, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Poe2brain MCP server?

Poe2brain doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (lifan-builds/poe2brain). Like most servers, Poe2brain ends with a command or URL you paste into your AI app's MCP config.

Does Poe2brain need an API key?

The registry lists no required keys for Poe2brain. Check the Poe2brain README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Poe2brain an official MCP server?

No. Poe2brain is a community server maintained by lifan-builds. Community servers can be excellent; read the code and the open issues before you give Poe2brain access to company data.

What license is Poe2brain under?

Poe2brain is released under the GPL-3.0 license, according to its GitHub repository. The license covers the code of Poe2brain; the service it connects to has its own terms.