Skip to main content
Glama

pob-mcp

An MCP server that lets an AI assistant work inside Path of Building Community (Path of Exile 1) — with PoB's own calculation engine, in a PoB window you watch live.

The assistant can import a character, read every calculated stat, allocate passives, swap gems and items, and measure changes ("what does this node / this trade item do to my EHP?") without touching the build. Everything it does shows up in the PoB window, so you can follow along and click in the same window yourself.

How it works

  • GUI mode (default). lua/LaunchMcp.lua starts the normal PoB Launch.lua from a PoB source checkout and then loads lua/gui_bridge.lua, which listens on 127.0.0.1:49100 and runs commands from lua/helpers.lua between frames. PoB only runs frames while its window has focus, so each call briefly focuses the PoB window and then gives focus back to where it was (POB_KEEP_FOCUS=1 keeps it on PoB). The window is started automatically on the first call.

  • Headless mode (POB_HEADLESS=1). PoB's HeadlessWrapper.lua runs inside Python via lupa (LuaJIT), with the same helpers.lua. Useful for bulk comparisons without a window.

PoB quirks handled in headless mode: its LuaJIT fork supports +=/..= (rewritten at load time), lua-utf8 is replaced by a small shim, Inflate/Deflate use zlib1.dll through LuaJIT FFI, and Lua output goes to stderr so stdout stays clean for MCP stdio.

Related MCP server: pob-mcp

Requirements

  • Windows (GUI mode uses the PoB Windows runtime and Win32 focus calls; headless mode should also work elsewhere with a zlib shared library via POB_ZLIB)

  • Python 3.11+

  • A PoB source checkout:

    git clone --depth 1 https://github.com/PathOfBuildingCommunity/PathOfBuilding.git

    By default it is expected next to this repo (../PathOfBuilding); otherwise set POB_ROOT.

pip install -r requirements.txt

Register with Claude Code

claude mcp add pob -s user -- python /path/to/pob-mcp/server.py

or add to ~/.claude.json:

"mcpServers": {
  "pob": { "type": "stdio", "command": "python", "args": ["C:\\path\\to\\pob-mcp\\server.py"] }
}

Tools

Tool

What it does

open_window

Start the PoB window with the bridge

load_character(account, character)

Import from the official pathofexile.com API (public profile)

load_code, export_code, save_build(name)

PoB import codes; save XML into Documents/Path of Building/Builds

stats, life_breakdown

Calculated output of the main skill and defences

skills, set_main_skill, set_gems

Socket groups

tree, node_info, allocate, deallocate

Passive tree (shortest path)

preview_nodes, compare_nodes, preview_item

Stat delta via PoB's tooltip calculator — nothing changes

equipped_items, set_item

Items from game/trade text (Ctrl+C)

config

Configuration tab (charges, conditions, enemy, …)

show(tab), highlight(text)

Point the user at a tab or glow nodes in the tree

Environment

Variable

Default

POB_ROOT

../PathOfBuilding

PoB source checkout

POB_HEADLESS

unset

1 = no window

POB_MCP_PORT

49100

bridge port

POB_KEEP_FOCUS

unset

1 = leave focus on PoB after a call

POB_BUILDS

~/Documents/Path of Building/Builds

where save_build writes

POB_ZLIB

$POB_ROOT/runtime/zlib1.dll

zlib for headless import codes

After editing lua/helpers.lua while the window is open, call GuiPoB().reload_helpers() (or restart the window).

Path of Building is © its contributors and MIT-licensed; this project only loads it from your local checkout.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI-powered Path of Exile 2 character optimization through natural language queries, providing intelligent build recommendations, gear upgrades, and passive tree optimization using the official PoE API and comprehensive game database.
      33 PyPI
      86
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables LLMs to load, inspect, change, and improve Path of Exile 2 builds using the real Path of Building Community calculation engine.
      8
      MIT
    • F
      license
      A
      quality
      B
      maintenance
      Enables MCP-compatible AI assistants to read Path of Exile 2 character data and recent in-game events, and to surface advisories to the user via notifications, speech, or log files.
      22
      -
    • A
      license
      Not graded
      quality
      B
      maintenance
      Local stdio MCP server that lets AI agents run Path of Building Community calculations in an isolated engine process, plus read and control a live build's sets, gems, points, and configuration. It also supports loading builds with automatic backups and exporting the live build to new XML files without navigating the PoB UI.
      MIT