Find your next open-source project

Search by name, purpose, or keyword, or paste a GitHub URL. Start with / to search agent skills (e.g. /pdf)

lifan-builds/poe2brain

Games

A Path of Exile 2 0.5.5 intelligence engine exposing 48 MCP tools and matching CLI commands for builds, trade, crafting and loot filters.

104
5
Python
GPL-3.0
3 days old

What it does

poe2brain is a Python 3.12+ engine for Path of Exile 2 patch 0.5.5 that gives AI agents and players verified game math instead of generic LLM guesses. It runs a headless PathOfBuilding-PoE2 instance over LuaJIT JSON-RPC, queries an offline SQLite + FTS5 game database, pulls live trade2 and poe.ninja data, solves crafting odds, and compiles loot filters.

It ships 48 MCP tools and a 1:1 JSON CLI (uv run poe2 ... --json) so the same domain services are reachable from Claude Code, Cursor, Codex, Antigravity, or a shell. Main areas: patch-aware mechanics lookup, PoB2 build auditing and item evaluation, trade upgrade search ranked by real DPS/EHP, exact conditional crafting probabilities, poe.ninja build discovery, and .filter validation/restyling.

The author's bundled PoE2Bench-0.5.5 benchmark (22 questions, 75 checks, one frontier model, no web search) reports 6/22 exact passes without the tool versus 22/22 with it; raw transcripts and scoring instructions are published in the benchmark docs.

Quick start

You need Python 3.12+ and uv.

git clone https://github.com/lifan-builds/poe2brain.git
cd poe2brain
uv sync
uv run poe2 init        # choose CN or international realm
uv run poe2 bootstrap pob2
uv run poe2 version --json

On Windows the bootstrap needs no C compiler; macOS and Linux compile LuaJIT 2.1 and luautf8 automatically. The last command confirms the engine, the 0.5.5 SQLite database, and PoB2 readiness. After that, import a character with uv run poe2 pob import-local --slot main (local PoB2 builds), uv run poe2 auth login followed by import-character (official GGG OAuth), or uv run poe2 pob load "<share_code>".

To wire it into an MCP client, run uv run poe2 setup-mcp --profile core for 21 core tools, or paste the repo's .mcp.json configuration. uv run poe2 doctor checks the install; the web playground and China mirror let you try commands without a local setup. Chinese users should start from the Windows guide.

Constraints

  • The knowledge base and rules target patch 0.5.5 (Forbidden Rites); stale or PoE1 content is intentionally flagged, so using the tool with other patches is not the supported path.
  • Live trade and price features call pathofexile.com/api/trade2 and third-party price sources, paced by a rate limiter; offline flags exist but then results lose live pricing.
  • Character import supports local PoB2 files, official GGG OAuth 2.1 PKCE, and share codes; the project states it never reads POESESSID or auth cookies and never touches game memory or inputs.
  • The PoB2 runtime is bootstrapped per machine; non-Windows setups compile LuaJIT, which takes extra time.
  • Licensed GPL-3.0-only with additional Section 7 attribution terms in ATTRIBUTION.md; forks must keep the credit and may not use the poe2brain name.

HotRepo's take

On the Python new-project list for 29 November 2026, poe2brain added 3 stars in roughly 1.5 hours of observation and held 104 stars, with 5 forks. The listed best daily GitHub rank is unknown, so the record supports only a modest early snapshot rather than a trend. What stands out for a small project is the scope of verifiable output: a headless PoB2 daemon, an offline 0.5.5 database, published benchmark transcripts, CI on Windows and macOS, and a full 48-tool CLI/MCP parity table. Those are concrete deliverables a reader can inspect, which makes the repo worth evaluating on its benchmark and command behavior rather than star count.

Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.

You might also like

  1. Lailloken/Exile-UIAutoHotkey overlay with UI and quality-of-life tools for Path of Exile 1 and 2.AutoHotkey1,379