# XCREENER [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/xcreener/xcreener-mcp  
**GitHub Stars:** 1  
**npm Downloads (last month):** 194  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/xcreener

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

## Tools
Capabilities this server exposes over MCP:

- **xql_validate** — Validate XQL query text by parsing and planning it, without executing it against live data.
- **xql_explain** — Parse and plan an XQL query, returning its execution plan and a human-readable explanation.
- **xql_run** — Parse, plan, and execute an XQL query against live market data, returning matching instruments. Call xql_validate on the query first to catch syntax errors before spending a live-data round trip on this call.
- **xql_nl_reference** — Fetch the XQL natural-language reference document, mapping retail-trader phrasing to valid XQL syntax and documenting hard limits (300-bar lookback ceiling, closed market/timeframe enums, the atr no-source-argument exception, etc.). Call this before writing a query, or after xql_validate/xql_explain/xql_run returns isError: true, to see the exact construct you likely got wrong.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

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

**Requires environment variables:** `XCREENER_API_KEY` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What XCREENER MCP server does

XCREENER MCP server exposes XCREENER's XQL screener API as four MCP tools. It supports query validation, execution-plan inspection, live screening, and a reference for translating natural-language trading terms into XQL syntax. The underlying market screener covers Crypto, Forex, Indices, Commodities, and Metals.

The server is intended for agents and MCP clients that need to create or run structured market screens without implementing HTTP requests to the XCREENER API. Queries can select markets, timeframes, symbols, output columns, sorting, conditions, and calculated indicators, as shown in the repository examples.

## How it works

The package runs locally and communicates with the MCP client over stdio. A client can first call `xql_nl_reference` to look up relevant XQL expressions, then send the resulting query to `xql_validate` or `xql_run`. Validation parses and plans the text but does not request live market data. Explanation performs the same parsing and planning while also returning an execution plan and a human-readable description.

`xql_run` parses and plans the query, then executes it against live market data and returns matching instruments. The examples show single-market screens, repeated queries across multiple markets, currency-pair comparisons, and indicator-based output such as RSI, ROC, ATR, SMA, highs, and lows. Results depend on the query and the data available from XCREENER at execution time.

## Setup and configuration

For Claude Desktop, download the latest `xcreener.mcpb` file from the repository's Releases page and install it. The desktop installation flow asks for the API key in a masked field, so a separate JSON configuration and Node installation are not required for that route.

Other stdio clients can launch the package with `npx -y @xcreener/mcp` and provide the key through the `XCREENER_API_KEY` environment variable. The key is obtained from the XCREENER account API-key page. A typical configuration uses the `xcreener` server name, the `npx` command, the package argument, and an environment entry for the key.

Building from source requires cloning the repository, running `npm install`, and running `npm run build`. The resulting client command is `node dist/index.js`, with `XCREENER_API_KEY` present in its environment. The key is checked when a tool is called, so a missing or invalid value does not prevent startup; instead, the first tool call returns an authentication error.

## Tools and capabilities

- `xql_validate`: Checks XQL by parsing and planning it without executing the screen.
- `xql_explain`: Returns the planned execution steps together with a readable explanation.
- `xql_run`: Executes a planned XQL query against live market data and returns matching instruments.
- `xql_nl_reference`: Provides mappings from natural-language trading phrases to XQL syntax.

XCREENER MCP server is suitable for workflows that separate query construction from execution: an agent can consult the reference, validate generated syntax, inspect the plan, and only then run the screen. It can also support direct natural-language requests when the client turns those requests into XQL before calling the tools.

## Limitations and notes

This package is a local stdio bridge specifically for XCREENER's XQL API; it is not described as a general-purpose market-data connector. Running live screens requires a valid XCREENER API key. Validation and explanation avoid live-data execution, but `xql_run` does access current market data.

The repository's examples demonstrate technical screening and analysis, not trade execution. Their sample commentary also states that technical readings are not financial advice and should be checked against execution and spread costs. The project is licensed under MIT.

_Full upstream README: https://allmcps.com/mcp/xcreener/readme_

