Warframe MCP Server

Warframe MCP Server

Provides AI assistants with real-time access to Warframe market data and game information, including item search, orders, statistics, and liquidity estimates.

Category
访问服务器

README

Warframe MCP Server

Warning: This project was 100% vibecoded and exists purely for my personal needs. Use at your own risk.

A Model Context Protocol (MCP) server that gives AI assistants real-time access to Warframe data. The production Cloudflare Worker exposes read-only Warframe Market search, current orders, closed-order statistics, and a local liquidity estimate, including OpenAI-compatible search and fetch tools. The legacy Node entrypoint retains 19 broader game-data tools.

Cloudflare Worker Tools

Tool Description
wfm_search_items Search tradable items by Russian name, English name, or slug
wfm_get_top_orders Get up to five current sell and buy orders for an item slug
wfm_get_item_statistics Get normalized 48-hour and 90-day closed-order statistics per exact item variant
wfm_get_item_liquidity Estimate per-variant liquidity from current orders and 90-day reported volume
search Return up to ten OpenAI-compatible citation results with stable wfm:item:<slug> IDs
fetch Resolve a stable item ID to a current market document with top sell and buy orders

The wfm_* tools return short text plus structuredContent and the applied market filters. Search and top-orders results use retrieved_at; statistics and liquidity results use retrievedAt. The standard search and fetch tools return the OpenAI compatibility shape in structuredContent and duplicate the same object as JSON in text content.

Historical data comes from the deprecated and unsupported Warframe Market v1 statistics route. It is optional: liquidity still reports the current order snapshot when history is unavailable, but returns score=null, grade=unknown, and low confidence. reportedClosedVolume is Warframe Market's reported volume, not a complete or independently verified record of in-game trades.

Legacy Node Tools

Tool Description
world_state Current sortie, archon hunt, nightwave, invasions, open world cycles, events, Steel Path, construction progress, daily deals
baro_kiteer Baro Ki'Teer status, inventory, and plat-per-ducat value analysis
active_fissures Void Fissure listings with tier/Steel Path/Void Storm/mission type filters
lookup_warframe Warframe stats, abilities, component drops, build cost, vault status
lookup_weapon Weapon damage per fire mode, crit/status, components, build info
lookup_mod Mod stats at all ranks, polarity, drain, rarity, drop locations
lookup_item Generic item lookup (arcanes, resources, blueprints, companions)
market_price_check Live warframe.market prices — sell/buy stats, cheapest sellers, trade chat messages
search_drops Drop table search — relics, missions, enemies, with drop chances
relic_drops Which relics contain a prime part, refinement chances, relic farm locations
prime_vault_status Vaulted / farmable / Varzia resurgence status for prime items
simaris_target Today's Cephalon Simaris synthesis target and scan locations
find_enemy_spawn Where specific enemies spawn — confirmed locations from drop tables
lookup_builds Top community mod builds from Overframe.gg with mod lists and stats
crafting_requirements Full crafting recipes — components, credits, build time, sub-recipes
crafting_usage Reverse ingredient lookup — "what uses this?" / "safe to sell?"
farm_route_optimizer Best nodes to farm multiple resources — dark sector bonuses, overlap scoring
task_synergy_planner Cross-reference Nightwave with fissures/invasions/sortie for max efficiency
color_palette_finder Find closest in-game color palette match for any hex color (Fashion Frame)

Most lookup tools accept arrays (batch mode) to handle multiple items in a single call.

Quick Start

npm

git clone https://github.com/YOUR_USER/warframe-mcp.git
cd warframe-mcp
npm install
npm run build

Cloudflare Worker (target production runtime):

npm run dev
# Health: http://127.0.0.1:8787/healthz
# MCP:    http://127.0.0.1:8787/mcp

Stdio mode (for MCP clients like Claude Desktop, OpenCode, Cursor):

npm start

Legacy Node HTTP mode (Streamable HTTP transport for remote/web clients):

npm run start:http
# Listening on http://127.0.0.1:3000/mcp

Docker

docker build -t warframe-mcp .

# HTTP mode (default)
docker run -p 3000:3000 warframe-mcp

# Stdio mode
docker run -i warframe-mcp node dist/index.js

Configuration

The Cloudflare Worker requires no environment variables. Market tool arguments default to language=ru, platform=pc, and crossplay=true.

The Worker also requires no secrets, KV namespaces, D1 databases, Durable Objects, or service bindings. Its own source uses Worker Web APIs; nodejs_compat remains enabled because the official Cloudflare agents dependency imports Node compatibility modules and the bundle does not build without the flag.

The environment variables below apply only to the legacy Node HTTP entrypoint. None are required.

Variable Default Description
PORT 3000 HTTP listen port
HOST 127.0.0.1 Bind address. Use 0.0.0.0 for LAN/container access
ALLOWED_HOSTS Comma-separated hostnames/IPs allowed through DNS rebinding protection (only needed when HOST=0.0.0.0)
MCP_SESSION_IDLE_TIMEOUT_MS 1800000 (30 minutes) Idle timeout for legacy HTTP MCP sessions. Sessions older than this are closed and removed by a periodic sweep. Applies only to the legacy Node HTTP server; the Worker /mcp endpoint is stateless and stores no sessions. Values below 1000 or non-numeric values fall back to the default.

Example — LAN-accessible server:

HOST=0.0.0.0 PORT=3000 ALLOWED_HOSTS=192.168.1.100,mypc.local npm run start:http

Platform identifiers

Legacy tools accept the same canonical platform value regardless of the upstream they query. The MCP server normalizes the value internally, so callers never need to know that WarframeStatus uses xb1/swi while Warframe Market uses xbox/switch.

User value Warframe Market WarframeStatus
pc pc pc
ps4 ps4 ps4
xbox xbox xb1
switch switch swi
mobile mobile not supported

The following legacy aliases are accepted for backward compatibility and map to the canonical value:

Alias Canonical
xb1 xbox
swi switch
ns switch
psn ps4

mobile is only accepted by tools whose upstream exposes it (Warframe Market). Worldstate tools reject mobile with an error listing the accepted values. Unknown values are rejected by all tools; the error message enumerates the accepted canonical values and aliases.

Cloudflare Deployment

Check the bundle without publishing:

npm run deploy:dry

For the first deployment, authenticate Wrangler and publish:

npx wrangler login
npx wrangler whoami
npm run deploy

Wrangler prints the exact deployment URL. With the configured Worker name and a standard workers.dev subdomain, the endpoints have this form:

Health: https://warframe-mcp.<YOUR_WORKERS_SUBDOMAIN>.workers.dev/healthz
MCP:    https://warframe-mcp.<YOUR_WORKERS_SUBDOMAIN>.workers.dev/mcp

Replace the placeholder with the subdomain shown by Wrangler. A configured Cloudflare custom domain can be used instead.

Client Setup

ChatGPT

ChatGPT requires a reachable HTTPS remote MCP endpoint; it cannot connect directly to localhost. The current setup flow is documented in ChatGPT Developer mode:

  1. In ChatGPT on the web, enable Developer mode under Settings → Security and login.
  2. Open Settings → Plugins, select the plus button, and create a developer-mode app.
  3. Set the server URL to https://warframe-mcp.<YOUR_WORKERS_SUBDOMAIN>.workers.dev/mcp.
  4. Select No Authentication. The pilot exposes only public read-only data.
  5. Refresh or scan the tools and confirm that wfm_search_items, wfm_get_top_orders, wfm_get_item_statistics, wfm_get_item_liquidity, search, and fetch are visible.
  6. In a conversation, select Developer mode and enable the created app.

Use the ready-to-paste project guidance from docs/chatgpt-project-instructions.md so price questions always use current MCP data.

Claude Desktop

Add to claude_desktop_config.json:

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

Claude Desktop (Docker)

{
  "mcpServers": {
    "warframe": {
      "command": "docker",
      "args": ["run", "-i", "--rm", "warframe-mcp", "node", "dist/index.js"]
    }
  }
}

OpenCode

Add to opencode.json:

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

Cloudflare Worker clients (Streamable HTTP)

Run the Worker locally, then connect to http://127.0.0.1:8787/mcp:

npm run dev

# GET  /healthz — service health
# POST /mcp     — stateless MCP JSON-RPC requests

The Worker creates a fresh MCP server and transport for every request. It does not store HTTP sessions and requires no authentication.

Warframe Market access is coordinated per Worker isolate: at most three external requests start per second, transient failures are retried with Retry-After or bounded jittered backoff, and identical concurrent requests are deduplicated. The item catalog is cached for six hours, current full/top order snapshots for 20 seconds, and legacy statistics for five minutes.

Typical flow:

  1. Call search with {"query":"Титания Прайм"}.
  2. Pass the returned wfm:item:<slug> ID to fetch.

The direct market flow remains available through wfm_search_items followed by wfm_get_top_orders, wfm_get_item_statistics, or wfm_get_item_liquidity. Pass the exact rank, subtype, charges, amberStars, or cyanStars when the item has variants.

Legacy Node HTTP clients

Start the server in HTTP mode, then connect to http://localhost:3000/mcp:

npm run start:http

# POST /mcp — JSON-RPC requests (initialize, tools/list, tools/call)
# GET  /mcp — SSE stream for server-to-client notifications
# DELETE /mcp — Session termination

Sessions are managed via the Mcp-Session-Id header. Send an initialize request without a session ID to start a new session.

Smoke Test

For the production Worker surface, start Wrangler and connect an MCP client to http://127.0.0.1:8787/mcp:

npm run dev

Complete MCP initialize, then verify tools/list contains all six Worker tools. Exercise:

wfm_get_item_statistics {"slug":"arcane_energize","rank":0}
wfm_get_item_statistics {"slug":"arcane_energize","rank":5}
wfm_get_item_liquidity  {"slug":"arcane_energize","rank":0}
wfm_get_item_liquidity  {"slug":"arcane_energize","rank":5}

Confirm the ranks remain separate. Also check one non-ranked Prime component, one ranked mod, and one current catalog item with subtypes; subtype availability can change with the upstream catalog. Review warnings and timestamps in every statistics/liquidity result. These smoke calls use the public API; automated tests use only mocks and fixtures.

For the legacy Node entrypoint:

# Stdio — should return JSON with 19 tools
echo '{"jsonrpc":"2.0","method":"tools/list","id":1}' | node dist/index.js

# HTTP — initialize a session
curl -X POST http://localhost:3000/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"0.1"}},"id":1}'

System Prompt

SYSTEM_PROMPT.md contains a ready-to-use system prompt for an AI assistant that uses this MCP server. It includes tool documentation, a decision tree for tool selection, multi-tool chaining strategies, batching guidance, and Warframe domain knowledge (relics, rotations, trading, modding, Steel Path, open world cycles).

Architecture

worker/
├── index.ts              # Cloudflare Worker: /healthz + stateless /mcp tools
├── market-analytics.ts   # Pure statistics normalization and liquidity heuristic
├── openai-compat.ts      # Stable document IDs and OpenAI search/fetch documents
└── warframe-market.ts    # Worker-safe Market API client, reliability, and caches
wrangler.jsonc            # Worker entrypoint and compatibility settings
tsconfig.worker.json      # Worker-only TypeScript configuration
vitest.config.ts          # Tests executed in the Workers runtime

src/
├── index.ts              # Entry point — stdio or HTTP transport
├── api/
│   ├── warframestat.ts   # warframestat.us client (items, drops, worldstate)
│   ├── warframe-market.ts # warframe.market v2 client (prices, orders)
│   ├── overframe.ts      # Overframe.gg scraper (community builds)
│   └── wiki.ts           # Fandom wiki API client (crafting recipes)
├── tools/
│   ├── worldstate.ts     # world_state, baro_kiteer, active_fissures
│   ├── items.ts          # lookup_warframe, lookup_weapon, lookup_mod, lookup_item
│   ├── market.ts         # market_price_check
│   ├── drops.ts          # search_drops, relic_drops
│   ├── primeVault.ts     # prime_vault_status
│   ├── simaris.ts        # simaris_target
│   ├── enemy.ts          # find_enemy_spawn
│   ├── builds.ts         # lookup_builds
│   ├── crafting.ts       # crafting_requirements, crafting_usage
│   ├── farmOptimizer.ts  # farm_route_optimizer
│   ├── synergy.ts        # task_synergy_planner
│   └── colors.ts         # color_palette_finder
├── types/
│   ├── warframestat.ts   # warframestat.us API types
│   ├── warframe-market.ts # warframe.market v2 types
│   ├── overframe.ts      # Overframe build types
│   └── index.ts          # Re-exports
├── data/
│   ├── color-palettes.ts # 31 Warframe color palettes (2,790 colors)
│   └── planet-resources.ts # Planet resource drops, dark sector nodes & bonuses
└── utils/
    ├── cache.ts          # TTL cache (60s–24h depending on data type)
    ├── formatting.ts     # Number/time formatting helpers
    └── lua-parser.ts     # Lua table parser for wiki blueprint data

Data Sources

API Base URL Auth Used For
warframestat.us https://api.warframestat.us None World state, items, drops, mods, weapons, warframes
warframe.market https://api.warframe.market/v2 None Tradable item catalog and current full/top orders
warframe.market legacy statistics https://api.warframe.market/v1 None Deprecated 48-hour and 90-day closed-order statistics; optional and allowed to degrade
Overframe.gg https://overframe.gg None (HTML scraping) Community mod builds
Warframe Wiki MediaWiki API None Crafting recipes (blueprint data)
Bundled static data Planet resources, dark sector bonuses, 31 color palettes (2,790 colors)

Caching

Data Type TTL Examples
World state 60 seconds Fissures, invasions, cycles
Drop tables 5 minutes Drop search results
Worker market items 6 hours Item listing catalog
Worker full orders 20 seconds Current visible order book used for counts and best-price depth
Worker top orders 20 seconds Current buy/sell snapshot
Worker legacy statistics 5 minutes Closed-order 48-hour and 90-day buckets
Static data 24 hours Warframe/weapon/mod stats
Wiki data 24 hours Crafting recipes
Overframe builds 6 hours Community builds

Pilot Limitations

  • The production Worker exposes only wfm_search_items, wfm_get_top_orders, wfm_get_item_statistics, wfm_get_item_liquidity, search, and fetch.
  • It is read-only: there is no Warframe Market login, private profile access, or order mutation.
  • Prices and order counts are current snapshots, not guarantees of an executable trade. Historical volume is reported by a deprecated upstream route and the liquidity score is a deterministic local heuristic, not a profit or execution prediction.
  • Cache, request limiting, and request deduplication are isolate-local and reset on a cold start.
  • The public endpoint has no application authentication or per-user authorization.
  • Availability depends on Cloudflare Workers and the public Warframe Market API; the pilot has no SLA.
  • ChatGPT developer-mode availability and workspace permissions depend on the current ChatGPT plan and admin policy.

Development

npm run dev        # Run the Cloudflare Worker locally
npm run dev:stdio  # Watch-compile the legacy Node entrypoint
npm run typecheck  # Type-check without emitting dist
npm test           # Build and run automated tests
npm run build      # One-shot compile
npm run deploy:dry # Build the Worker deployment bundle without uploading
npm run deploy     # Publish through the authenticated Wrangler account
npm run check      # Type-check, test, and dry-run the Worker bundle
npm start          # Run stdio mode

Requirements

  • Node.js >= 20.3 (required by Wrangler)
  • TypeScript 5.x
  • Worker runtime dependencies: @modelcontextprotocol/sdk, agents, and zod
  • Express is used only by the legacy Node HTTP entrypoint and is not bundled into the Worker

License

MIT

推荐服务器

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 模型以安全和受控的方式获取实时的网络信息。

官方
精选