XCREENER

com.xcreener由 xcreener.com 发布v0.2.1更新于 Oct 24, 2026

Local stdio MCP bridge for XCREENER's XQL screener API — validate, explain, and run queries.

已验证STDIO仅桌面金融数据与分析

概览

AI 生成的概览

XCREENER XQL 筛选器 API 的本地 stdio 桥接,让助手校验、解释并运行覆盖加密货币、外汇、指数、商品和金属的市场筛选。

可以做什么
校验 XQL 查询文本:解析并生成执行计划,但不访问实时数据。解释查询的执行计划,并给出可读说明。对实时市场数据运行 XQL 筛选,返回匹配的标的。查询自然语言交易用语到 XQL 语法的对照参考。
适用场景
适合希望助手把自然语言的市场问题转成 XQL 筛选,并在加密货币、外汇、指数、商品和金属上运行,而无需自己编写 HTTP 胶水代码的场景。
运行要求
以 stdio 在本地运行,通常通过 npx 或 Claude Desktop 安装包。需要 XCREENER API 密钥,通过环境变量 XCREENER_API_KEY 提供;密钥为延迟校验,缺失或无效只会在首次调用工具时以认证错误出现。需要访问 XCREENER API 的网络连接。
安装前请注意
API 密钥是放在环境变量中的机密。运行筛选会把查询发送到 XCREENER 的远程 API 并返回实时市场数据。输出属于技术性市场数据,并非投资建议;执行任何交易价位前请自行核实。

安装

在 SourceWeft 中

  1. 打开 控制台中的 XCREENER,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@xcreener/mcp

[npm version] [license]

Local stdio MCP bridge for XCREENER's XQL screener API — validate, explain, and run XQL queries from Claude Desktop, Cursor, Windsurf, or any stdio MCP client.

About XCREENER

XCREENER is a market screener that scans Crypto, Forex, Indices, Commodities, and Metals simultaneously, so you don't have to check charts one at a time. It's built for beginner traders through ready-made screeners as well as for developers and AI agents, who can express custom conditions in XCREENER Query Language (XQL) and run them instantly via a REST API or MCP. Learn more at xcreener.com.

What this MCP server does

This package is the local stdio bridge to XCREENER's XQL API specifically. It exposes xql_validate, xql_explain, xql_run, and xql_nl_reference as MCP tools, so any stdio MCP client can check and execute XQL screens against live market data without you writing any HTTP glue code.

Installation

Claude Desktop (.mcpb)

Download the latest xcreener.mcpb from this repo's Releases page, then double-click it to install — Desktop asks for your API key in a masked field as part of that same dialog. No JSON to hand-edit, no separate Node install.

Other MCP clients (npx)

Add this to your client's MCP server config (e.g. Cursor, Windsurf, Claude Code):

json
{  "mcpServers": {    "xcreener": {      "command": "npx",      "args": ["-y", "@xcreener/mcp"],      "env": { "XCREENER_API_KEY": "your-api-key" }    }  }}

From source

bash
git clone https://github.com/xcreener/xcreener-mcp.gitcd xcreener-mcpnpm installnpm run build

Then point your client at node dist/index.js with XCREENER_API_KEY set in its environment.

Configuration

VariableRequiredDescription
XCREENER_API_KEYYesYour XCREENER API key, from xcreener.com/account/api-key.

The key is checked lazily — an invalid or missing key won't stop the server from starting, it'll just surface as an auth error the first time a tool is called.

Available tools

NameTypeDescription
xql_validateToolValidate XQL query text by parsing and planning it, without executing it against live data.
xql_explainToolParse and plan an XQL query, returning its execution plan and a human-readable explanation.
xql_runToolParse, plan, and execute an XQL query against live market data, returning matching instruments.
xql_nl_referenceToolReference document mapping natural-language trading phrases to XQL syntax.

Example session

Under the hood, the assistant calls the xql_nl_reference tool, translates your plain-English ask into an XQL query, and calls xql_validate/xql_run — what you see is just the human-visible conversation. A few real examples:

Multi-market screen

You: check all markets and see which instruments are oversold at the moment

XCREENER runs (same query per market — CRYPTO, FOREX, INDICES, METALS, COMMODITIES):

xql
market = "CRYPTO"timeframe = h1columns = [rsi(14)]sort = rsi(14) ascrsi(14) < 30

XCREENER: Oversold (RSI(14) < 30, hourly) across all markets:

MarketSymbolRSI(14)
CryptoBTCUSDT26.3
CryptoETHUSDT27.5
CryptoXRPUSDT28.0
CommoditiesWHEATUSD21.0
CommoditiesCORNUSD22.6

Forex, Indices, and Metals had no oversold matches.

Single-market snapshot

You: can you give me updates on how the metals are doing?

XCREENER runs:

xql
market = "METALS"timeframe = h1let uptrend = close > sma(50)columns = [close, roc(1), rsi(14), uptrend]sort = roc(1) descclose > 0

XCREENER: Metals snapshot, hourly:

SymbolClose1h ROCRSI(14)Trend (vs SMA50)
XPTUSD (Platinum)1,637.98+0.03%54.8Uptrend
XAGUSD (Silver)57.48+0.02%38.6Downtrend
XAUUSD (Gold)4,043.69+0.01%41.0Downtrend

Overall: fairly quiet, no oversold/overbought extremes (all RSI 38–55). Platinum's the strongest — up-trending with the best momentum — while gold and silver are drifting below their 50-hour average.

Cross-pair aggregate analysis

You: which currency is the weakest and strongest?

XCREENER runs:

xql
market = "FOREX"timeframe = h1columns = [close, roc(1)]sort = roc(1) descclose > 0

XCREENER: Based on the 1h ROC across all 28 pairs (aggregating each currency's average move against the other seven):

RankCurrencyAvg 1h Strength
1 (strongest)CHF+0.0414%
2JPY+0.0184%
...
8 (weakest)USD-0.0421%

Strongest: CHF — up against every other major this hour. Weakest: USD — sold broadly against EUR, GBP, AUD, JPY, and CHF alike.

Actionable trade plan

You: NZD looks like the strongest currency this week — which pair should I long based on that, and what stop-loss/take-profit levels make sense?

XCREENER runs:

xql
market = "FOREX"timeframe = h1symbols = ["NZDUSD"]columns = [close, atr(14), sma(50), highest(high, 20), lowest(low, 20), w::lowest(low, 52), rsi(14)]close > 0

XCREENER: Idea: Long NZDUSD — the cleanest multi-timeframe confluence: NZD is the #2 strongest currency of the week, daily is non-conflicting, and hourly shows an uptrend (close 0.5881 > SMA(50) 0.5846) with bullish-but-not-overbought momentum (RSI(14) 60.8).

LevelRationale
Entry~0.5881Current price
Stop Loss0.5845Below the 20h swing low and h1 SMA(50); ~3× ATR(14)
TP10.5940~1.6:1 R:R, partial scale-out
TP20.6093Weekly 52-week high, ~5.9:1 R:R

Not financial advice — a technical read off the pulled data; confirm against execution/spread costs before entering.

Development

bash
npm run dev         # tsup --watchnpm run build        # build dist/index.jsnpm run build:mcpb   # build + pack dist-mcpb/xcreener.mcpbnpm run lintnpm run typecheck

The build produces a single bundled ESM file (dist/index.js) with all dependencies inlined via tsup, so both the npm package and the .mcpb bundle ship without node_modules.

License

MIT — see LICENSE.

来源:README.md,提交 3c2689f

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.2.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分