lifan-builds/poe2brain
PoE2 MCP and JSON CLI for PoB2 build audits and budgeted gear upgrades
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
poe2brain is a domain-specific tool server, not a model host. The Typer CLI (poe2 ... --json) and stdio MCP entry point (poe2brain-mcp) call the same typed Python 3.12+ services. The manifest includes mcp>=1.6.0,<2.0.0, Pydantic 2, httpx, curl-cffi, and Rich. The shared services give agents and shell scripts the same calculation path, with one-to-one command mappings.
Read-only SQLite/FTS5 serves patch knowledge, while a separate SQLite cache holds a daily-synced build index. For simulation, Python calls a persistent native LuaJIT runtime over RPC to run PathOfBuilding-PoE2 calculations. Live ladder and Trade2 calls are separate network-backed operations: self-hosting the MCP process does not make those inputs local.
Key Capabilities & Differentiators
The 0.5.5 knowledge index includes 769 keyword popups, 54 patch-specific rules, 1,711 gems, and 23 ascendancies, with English and Simplified/Traditional Chinese aliases. Build inputs include local PoB2 saves, share codes and URLs, and poe.ninja character URLs. Headless PoB2 audits flag optimistic assumptions such as permanent flask uptime or 100% Shock; formula breakdowns, support sweeps, and radius-jewel tests let users inspect what changes the result.
Trade2 upgrades are ranked by simulated build gains rather than item stats alone. trade plan can apply multiple budgets to the same gear slots or replay saved offers, holding the comparison inputs steady. Other workflows include economy scans, crafting analysis using conditional modifier pools, Markov decision processes and Monte Carlo, and loot-filter validation and restyling from NeverSink or local .filter files.
Trade-offs & Limitations
Use desktop PoB2 for interactive editing and poe.ninja for quick ladder browsing. poe2brain is most useful when those steps need to become a repeatable pipeline: import a build, audit its assumptions, and rank upgrades against a budget. The cost is bootstrap and patch maintenance, plus local CPU work when simulating many candidates. Patch 0.5.5 knowledge and PoB2 tree data should not be assumed valid for another game patch.
Local knowledge and calculations can run without live services once provisioned, but current prices depend on the chosen realm and paced Trade2 requests; a saved offer file is reproducible, not fresh. The default private-character OAuth client currently returns invalid_client, so use local saves or public share imports unless you have your own GGG-approved client ID. The application is GPL-3.0-only, with separate notices for bundled upstream data.
Hardware & Deployment Guide
Clone the repository and run uv sync with Python 3.12+ and uv. Select a realm with uv run poe2 init, bootstrap PoB2 with uv run poe2 bootstrap pob2, then check runtime and database readiness with uv run poe2 version --json. macOS and Linux bootstrap compile LuaJIT 2.1 and luautf8; Windows has a no-compilation setup path. The stack does not require a GPU or local model. Benchmark candidate-heavy runs before sizing a shared host.
Launch MCP over stdio or start the optional local workbench with uv run poe2 web --port 8765 --open. poe2 doctor checks the installation; poe2 update refreshes the engine, game database, and pinned PoB2 runtime. Restart the MCP process afterward. The manifest is at 0.2.9, and the listed tags progress from v0.2.7 to v0.2.9; the entries point to compare links rather than specifying changes per release.
poe2 JSON commands and poe2brain-mcp stdio tools share one typed Python core; the core MCP profile exposes 21 tools..filter files.PoE2 players and tool builders who want agents or scripts to audit local PoB2 builds and compare gear upgrades against explicit budgets.
You only need interactive build editing, expect fully offline live prices, or require private character imports without a GGG-approved OAuth client.
Quick Start & Installation
uv run poe2 ninja search --preset sleeper --limit 5
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| poe2brain ★ | 206 | +168 | Python | GPL-3.0 | PoE2 MCP and JSON CLI for PoB2 build audits and budgeted gear upgrades |
| chrome-devtools-mcp | 60.4k | +760 | TypeScript | Apache-2.0 | Chrome DevTools via MCP and CLI for live browser debugging and performance analy |
| context7 | 65.8k | +333 | TypeScript | MIT | A hosted documentation index with MCP and CLI access for coding agents |
| mcp-for-blender | 37.1k | +1.1k | Python | GPL-3.0 | A local MCP bridge for inspecting and editing live Blender scenes with AI |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/lifan-builds/poe2brain.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about poe2brain
How should I integrate poe2brain with an agent or a script?
poe2 setup-mcp --profile core for the documented 21-tool profile, or configure the client to launch uv --directory /absolute/path/to/poe2brain run poe2brain-mcp over stdio. For shell scripts and CI, call the corresponding poe2 ... --json command; both interfaces use the same domain services.Do I need a GPU, and how should I size the host?
Can a company self-host or redistribute it?
When is this preferable to desktop PoB2 and poe.ninja?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy