pricempire-mcp
This MCP server lets you query and manage your Pricempire CS2 trader portfolio through an LLM agent, without requiring manual UI interaction. Key capabilities include:
Portfolio value & summary (
get_portfolio_value): Total current value, 24h change, item count, invested amount, profit/loss, and ROI — per portfolio or combined.List portfolio items (
list_portfolio_items): Per-item details including current price, quantity, float, paint seed, stickers, category, average buy price, unrealized P/L, and ROI. Supports filtering by limit or minimum value.Cross-marketplace price lookup (
get_item_prices): Current prices for one or more CS2 items across Buff163, Steam, CSFloat, Skinport, and more (v4 API with v3 fallback).Price history (
get_price_history): Historical price data for a specific item on a given marketplace over a configurable number of days.Portfolio analysis (
analyze_portfolio): Structured breakdown by category (skins, containers, gloves, agents, charms, stickers) with subtotals, percentages, top N holdings, and unpriceable item count.Write operations: Create, update, and delete portfolios, manage transactions, and configure price alerts.
Raw API access: Direct access to Pricempire's v3, v4, and v4.trader endpoints for advanced use cases.
Multi-portfolio support: Optionally scope queries to a specific named portfolio.
Provides tools to query and analyze a Counter-Strike 2 trader portfolio, including total value, category breakdowns, top holdings, and price comparisons across marketplaces.
Allows price comparison and historical price data for in-game items from the Steam marketplace.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pricempire-mcpWhat's my portfolio worth right now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Pricempire MCP Server
A Model Context Protocol (MCP) server for querying your Pricempire CS2 (Counter-Strike 2) trader portfolio: total value, breakdowns by category, top holdings, cross-marketplace price comparison, and price history.
Built on nt4f04uNd/pricempire, a fork of the official
@pricempire/api Node.js client that adds
support for the real Trader Portfolio API (/v4/trader/*), which the published npm package
does not implement.
This server is on-demand: it can both inspect Pricempire data and, for the Trader API surface exposed by the installed JS client fork, perform write operations such as creating portfolios, managing transactions, and maintaining price alerts. It does not run alerts, bots, or schedulers by itself.
What it is useful for
This MCP server is useful when you want an LLM agent to help you inspect your Pricempire portfolio without manually clicking around the UI or exporting data.
Typical use cases:
check your total portfolio value, invested amount, unrealized P/L, and ROI
see your most valuable items and how concentrated your portfolio is
break down value by category such as skins, containers, agents, gloves, and charms
compare item prices across marketplaces
inspect historical price data for a specific item or marketplace source
create/update/delete trader portfolios and transactions
create/update/delete price alerts
access trader insights, trends, and raw v3/v4 endpoints
build portfolio summaries or visualizations in a separate skill layer
Related MCP server: mcp-server-runescape
Trader transaction notes
The live Pricempire Trader API has two quirks that matter for transaction writes:
asset_idalone is not reliable for item-specific transactions. For accurate imports, prefer passingasset_item_idas well.transaction prices are effectively expected in cents, not floating-point USD values. For example,
0.70 USDshould be sent as70.
Because of that, trader_add_transaction in this MCP server behaves defensively:
if you provide
asset_item_id, it creates the transaction and immediately rebinds it to the concrete item with a follow-up updateif you omit
asset_item_idand provide a singlemarket_hash_name, it returns a ready-to-openpricempire.com/api-data/...lookup URLif you omit
asset_item_idand provide multiplemarket_hash_names, it returns a one-shot browser-console script that resolves all required IDs in one run
How to start using it
The normal flow is:
Build this repository and configure your Pricempire API key.
Register the server in your MCP client.
Ask your agent questions about your portfolio.
Examples of the kinds of prompts this enables:
"What's my portfolio worth right now?"
"Show me my top 10 most valuable items."
"How much of my portfolio is in cases versus skins?"
"Which items have the biggest unrealized losses?"
"Visualize my portfolio by category."
Visualization skills
If you want a higher-level presentation layer on top of this MCP server, see
pricempire-mcp-cs-tools.
That repository contains CS2-specific skills, prompts, and example visualizations built on top of the tools exposed here. The intended split is:
pricempire-mcp: data access and portfolio analysis toolspricempire-mcp-cs-tools: visualization-oriented skill layer
Prerequisites
Node.js 18 or newer
A Pricempire API key with Trader tier access (portfolio value/holdings are a Trader-tier feature; see pricempire.com account settings). Cross-marketplace price lookup tools (
get_item_prices,get_price_history) additionally require v3/v4 market data access depending on your plan.
Setup
npm install
cp .env.example .env
# edit .env and set PRICEMPIRE_API_KEY (and optionally DEFAULT_CURRENCY / DEFAULT_SOURCES)
npm run build.env is git-ignored — never commit real API keys. .env.example documents each variable with
placeholder values only.
Environment variables
Variable | Required | Description |
| Yes | Your Pricempire API key (UUID v4). |
| No | Default currency code (e.g. |
| No | Comma-separated default marketplace sources (e.g. |
Portfolios themselves aren't selected via env vars — the account tied to PRICEMPIRE_API_KEY may
have multiple named portfolios (e.g. "Main portfolio", "Secondary portfolio"); tools default to all
of them combined, or accept an optional portfolio name/slug filter per call.
Running
npm run dev # run directly from TypeScript source with tsx (auto-reload)
npm run build # compile to dist/
npm start # run the compiled server (node dist/index.js)The server communicates over stdio, per the MCP stdio transport convention.
Registering with an MCP client
Add an entry pointing at the built dist/index.js. Example mcp.json-style configuration:
{
"mcpServers": {
"pricempire": {
"command": "node",
"args": ["/absolute/path/to/pricempire-mcp/dist/index.js"],
"env": {
"PRICEMPIRE_API_KEY": "your-pricempire-api-key",
"DEFAULT_CURRENCY": "USD",
"DEFAULT_SOURCES": "buff163,steam"
}
}
}
}Adjust the path and the exact config file/format for your MCP client (e.g. Copilot CLI, Claude Desktop, etc.).
Quick start checklist
Copy
.env.exampleto.env.Set
PRICEMPIRE_API_KEY.Run
npm install.Run
npm run build.Register
dist/index.jsin your MCP client.Restart or reload the MCP client if needed.
Ask a portfolio question such as "Analyze my portfolio."
Available tools
Tool family | Description |
| Opinionated high-level tools for portfolio analysis and visualization workflows. |
| Raw parity tools for the JS client's |
| Raw parity tools for the JS client's paid-tier |
| Raw parity tools for the JS client's |
Every tool catches API errors (invalid/missing key, rate limiting, plan restrictions, server
errors) and returns a structured error object ({ error: true, kind, message, detail }) instead
of throwing, so a calling agent can explain the problem in plain language.
trader_add_transaction expectations
For reliable use of trader_add_transaction, pass:
pricein cents, for example70for0.70 USDasset_item_idwhenever you already know the exact item variant
If asset_item_id is missing, the tool returns a structured helper payload instead of silently
creating a likely mis-bound transaction.
Companion Copilot skill
See skills/pricempire-portfolio/SKILL.md for guidance an
LLM agent can use to combine these tools when answering common portfolio questions.
Notes & limitations
Portfolio tools (
get_portfolio_value,list_portfolio_items,analyze_portfolio) use the Pricempire Trader API (/v4/trader/portfolios*), via thent4f04uNd/pricempirefork depended on inpackage.json("@pricempire/api": "github:nt4f04uNd/pricempire#codex/trader-portfolio-api"). The published npm package does not implement these endpoints — see that fork's README for details on what was added.The MCP server also exposes raw-parity tools for the installed fork's
v3,v4, andv4.tradermethod surface in addition to the higher-level analysis helpers documented above.This is currently built on a fork because upstream
@pricempire/apidoes not yet expose the Trader Portfolio API. Upstream tracking issue: pricempire/pricempire#3.get_item_pricesandget_price_historyuse the market-wide v3/v4 endpoints from the original package and require separate plan access from the Trader tier; if your key doesn't have that access, these tools return a structuredauth/forbiddenerror rather than crashing.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityAmaintenanceAn unofficial MCP server that integrates with the Questrade API to provide access to trading accounts, market data, and portfolio information. It enables users to view balances, track positions, search symbols, and analyze market trends through natural language.Last updated9593MIT
- Alicense-qualityDmaintenanceMCP server for interacting with RuneScape and Old School RuneScape data, including item prices, player hiscores, and more.Last updated1313Apache 2.0
- Flicense-qualityCmaintenanceAn MCP server that turns Interactive Brokers into a question-answering portfolio analyst.Last updated4

Octav API MCP Serverofficial
Alicense-qualityAmaintenanceMCP server for querying cryptocurrency portfolio data, transaction history, net worth, and historical snapshots across 20+ blockchains via the Octav API.Last updated16MIT
Related MCP Connectors
MCP server for Gainium — manage trading bots, deals, and balances via AI assistants
A MCP server built for developers enabling Git based project management with project and personal…
MCP server aggregating developer infrastructure deals, free tiers, and startup programs
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nt4f04uNd/pricempire-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server