poe2-mcp-server

poe2-mcp-server

Provides real-time access to Path of Exile 2 game data including currency exchange rates, item prices, and ladder meta-build statistics. It also enables LLMs to search the community wiki and retrieve datamined game information from public APIs.

Category
访问服务器

README

poe2-mcp-server

A Model Context Protocol (MCP) server that gives LLMs real-time access to Path of Exile 2 game data: currency exchange rates, item prices, wiki content, datamined game information, and ladder meta-build statistics.

All data is sourced from public APIs only. No API keys, no GGG OAuth registration, no accounts required.

Tools

Tool Description Source
poe2_currency_prices Current exchange rates for all currencies poe.ninja
poe2_currency_check Look up a specific currency by name poe.ninja
poe2_item_price Price check items across exchange categories poe.ninja
poe2_exchange_top Most valuable items by exchange category poe.ninja
poe2_wiki_search Search the PoE 2 community wiki poe2wiki.net
poe2_wiki_page Retrieve full wiki article content poe2wiki.net
poe2_db_lookup Datamined game data: gems, mods, items, translations poe2db.tw
poe2_meta_builds Ladder class distribution with percentages and trends poe.ninja
poe2_log_summary Parse local game logs: zones, sessions, player events Local logs

Requirements

  • Node.js ≥ 22
  • npm

Installation

git clone https://github.com/sergeyklay/poe2-mcp-server.git
cd poe2-mcp-server
npm install
npm run build

Configuration

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "poe2": {
      "command": "node",
      "args": ["/absolute/path/to/poe2-mcp-server/dist/index.js"]
    }
  }
}

Windows users: Use double backslashes or forward slashes in the path:

"args": ["C:\\absolute\\path\\to\\poe2-mcp-server\\dist\\index.js"]

To open the config file quickly, press Win + R and run:

notepad %APPDATA%\Claude\claude_desktop_config.json

Config file locations:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Restart Claude Desktop after editing the config.

Custom Game Installation Path

If PoE2 is installed in a non-standard location (e.g., a different drive), add the --poe2-path argument. This enables the poe2_log_summary tool to find your game logs:

{
  "mcpServers": {
    "poe2": {
      "command": "node",
      "args": [
        "C:\\path\\to\\poe2-mcp-server\\dist\\index.js",
        "--poe2-path",
        "D:\\Games\\Path of Exile 2"
      ]
    }
  }
}

Replace D:\\Games\\Path of Exile 2 with your actual installation directory.

Claude Code

claude mcp add poe2 node /absolute/path/to/poe2-mcp-server/dist/index.js

With custom game path:

claude mcp add poe2 node /path/to/poe2-mcp-server/dist/index.js --poe2-path "/path/to/Path of Exile 2"

MCP Inspector

npx @modelcontextprotocol/inspector node dist/index.js

Example Prompts

Once connected, try asking:

  • "How much is an Exalted Orb worth right now?"
  • "What are the top 10 most valuable items in the Currency exchange?"
  • "Show me my play session history"
  • "Which classes are most popular on the ladder this league?"
  • "Look up Essence Drain on poe2db"
  • "What's the French name for Chaos Bolt?" → uses poe2_db_lookup with lang="fr"

Example Conversation

User:

I'm 42 lvl at Act 3 and I just dropped a Divine Orb.
How much is it worth, what should I buy with it?

Claude:

Let me check the current price of a Divine Orb for you.

Nice drop! A Divine Orb is currently worth about 27.5 Chaos Orbs in Fate of the Vaal league,
and it's one of the more valuable currency drops you can get during the campaign.

Don't spend it yet. At level 42 in Act 3, you're still in the leveling phase — any gear you buy
now will be replaced within a few levels. The standard advice for your stage is:

- Divine Orbs are used to reroll the values of explicit modifiers on items — that's an endgame
  activity, not something useful during the campaign.
- If you really want to trade it, you could sell it for ~27 Chaos Orbs and use those later at endgame
  to buy specific gear upgrades for your Lich build once you've finished the campaign and know exactly
  what you need.

Stash it and keep pushing through Act 3. It'll be much more valuable to you at endgame than anything
you could buy with it right now.

User:

I'm stuck on this quest boss... keeps killing me. Is this normal?

Claude:

Looking at your logs — you're in the Trial of Chaos (zone level 38) and you've died twice to the
boss already. This is the quest version with Chimeral Inscribed Ultimatum: 4 rooms, boss in room 4.

Yes, this is normal and happens to many players! Here's why:

The boss in room 4 is one of three random encounters: Uxmal (Chimera), Chetza (Bird with blood
attacks), or Bahlak (Three-headed bird with lightning). All of them hit hard, especially against
energy shield builds.

The key thing to know: your quest key doesn't drop on death. It returns to you, so you can retry
as many times as you need.

Tips to get through:

1. ...
2. ...
   ...

Example System Prompt (Claude Projects)

This system prompt can be used with any MCP-compatible agent (Claude Desktop, Claude Projects, etc.) to create a PoE2 coach that automatically uses the MCP tools.

<details> <summary>Click to expand full system prompt</summary>

# Path of Exile 2 Coach

## Role

You are a knowledgeable Path of Exile 2 coach. You explain complex game systems in clear terms
without being condescending. Communicate in the user's language.

## Tool Usage Protocol

You have access to a PoE 2 MCP server with tools for: game logs, wiki, datamined game database
(poe2db), currency prices, item prices, and meta build stats. These tools are your PRIMARY data
source for everything PoE 2 related.

For EVERY user message about gameplay, follow this sequence BEFORE responding:

1. **Read player logs** (`poe2_log_summary`) to get current zone, level, deaths, session context
2. **Use MCP tools** (wiki, database, currency, items, builds) for any game knowledge needed
3. **Fall back to web search** ONLY if MCP tools didn't have the answer
4. **Respond** to the user with all context already gathered

## Gather Context, Don't Ask

NEVER ask the user for information you can obtain from tools:

- "What level are you?" → read the logs
- "What zone are you in?" → read the logs
- "How many times did you die?" → read the logs
- "What does skill X do?" → use `poe2_wiki_search` or `poe2_db_lookup`
- "How much does Y cost?" → use `poe2_currency_check` or `poe2_item_price`
- "What builds are popular?" → use `poe2_meta_builds`

Only ask the user for things no tool can provide: screenshots of gear, personal preferences.

If logs are unavailable or the game is not running, state this briefly and proceed with available
information.

## Localization Support

If the player uses a non-English game client:

1. Use `poe2_db_lookup` with the appropriate `lang` parameter (ru, de, fr, jp, kr, cn, tw, etc.)
2. When discussing game terms, provide both the localized name and English name on first mention
3. NEVER guess translations — always verify via the database

## Examples

### User asks for help without context

**User:** "What should I do next?"

**Correct behavior:**

1. Call `poe2_log_summary` → determine current zone and level
2. Look up relevant game mechanics via `poe2_db_lookup` or `poe2_wiki_search`
3. Respond with specific, actionable steps based on actual player state

**Wrong:** Ask "What zone are you in?" when logs have this information.

### User asks about game mechanics

**User:** "What is Contagion?"

**Correct behavior:**

1. Look up Contagion via `poe2_db_lookup` for exact mechanics
2. If player uses localized client, also fetch the translated name
3. Explain with both names so player can match it in their game

**Wrong:** Guess at mechanics without looking up current data.

### User asks about economy

**User:** "Is this item valuable?"

**Correct behavior:**

1. Use `poe2_item_price` to check current market value
2. Use `poe2_currency_check` for currency conversions if needed
3. Give a clear verdict with current prices

**Wrong:** Give outdated price estimates from training data.

## Response Guidelines

- Keep responses focused and actionable
- For item comparisons: give a clear verdict, then explain why
- For "what do I do?" questions: numbered steps, priority order
- Always end guidance with the single most important next action

</details>

Supported Leagues

Default league: Fate of the Vaal (patch 0.4.x). Any active PoE2 league can be passed by name:

League Name (case-sensitive)
Softcore Trade Fate of the Vaal
Hardcore HC Fate of the Vaal
Solo Self-Found SSF Fate of the Vaal
Permanent Standard

Architecture

poe2-mcp-server/
├── src/
│   ├── index.ts              # Entry point: server init, stdio transport
│   ├── services/
│   │   └── api.ts            # HTTP client, rate limiter, logs parsing
│   └── tools/
│       ├── currency.ts       # Currency exchange rate tools
│       ├── items.ts          # Exchange item price tools
│       ├── wiki.ts           # Wiki search & poe2db lookup
│       ├── builds.ts         # Meta build overview
│       └── logfile.ts        # Local logs parser
├── dist/                     # Compiled output (npm run build)
├── package.json
├── tsconfig.json
└── README.md

Data Sources

Source Auth Rate Limit Update Frequency
poe.ninja PoE2 Exchange API None ~12 req / 5 min ~1 hour
poe.ninja PoE2 Build Index API None ~12 req / 5 min ~1 hour
poe2wiki.net MediaWiki API None Standard MW limits Community-driven
poe2db.tw None Reasonable use Each patch
Local Client.txt / LatestClient.txt None N/A (local file) Real-time

A built-in rate limiter ensures poe.ninja limits are respected automatically.

Development

npm run dev      # Watch mode: recompiles on file changes
npm run build    # One-time build
npm start        # Run the server (stdio)

Adding a New Tool

  1. Create a file in src/tools/
  2. Export a register*Tools(server: McpServer) function
  3. Import and call it in src/index.ts
  4. Rebuild: npm run build

License

MIT

Disclaimer

This product isn't affiliated with or endorsed by Grinding Gear Games in any way.

Path of Exile is a registered trademark of Grinding Gear Games. All game content and materials are trademarks and copyrights of their respective owners.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选