# alphasift [Health: Active]

**Category:** 💰 Finance & Fintech  
**Repository:** https://github.com/ZhuLinsen/alphasift  
**GitHub Stars:** 639  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/alphasift

## Description
AI 量化选股与公开验真引擎（A股/美/港/日/韩/台/印 7市场）：YAML多因子、公告排雷、14工具 STDIO MCP 与免费定时运行 | AI stock screener (7 markets): red-flag filter, MCP & live T+N ledger

## Tools
Capabilities this server exposes over MCP:

- **alphasift_list_strategies** — List available quantitative stock screening strategies and metadata.
- **alphasift_get_strategy** — Get full YAML-derived configuration and factor weights for a named strategy.
- **alphasift_compare_strategies** — Compare two strategies across style, data requirements, hard filters, and factor weights.
- **alphasift_screen** — Run stock screening for a strategy and return structured ScreenResult JSON. Defaults to use_llm=false unless explicitly enabled.
- **alphasift_list_patterns** — List declarative CN daily-matrix technical pattern definitions.
- **alphasift_scan_patterns** — Scan the local CN DailyPack for matching chart/volume patterns.
- **alphasift_replay_patterns** — Replay CN chart patterns point-in-time on the local CN DailyPack with next_open fills and zero-snooping H1->H2 Walk-Forward (Regime x Overhead) audit.
- **alphasift_overview** — Build the AlphaSift operational overview (strategies, source health, history, performance).
- **alphasift_doctor_data_sources** — Inspect snapshot & daily K data source health and strategy field readiness.
- **alphasift_notify_status** — Inspect configured notification channels and ledger path (never exposes secrets).
- **alphasift_list_runs** — List saved screening runs stored under ALPHASIFT_DATA_DIR/runs.
- **alphasift_markets_digest** — Build a structured multi-market post-close screening digest (MarketDigest JSON + IM card) from saved runs under ALPHASIFT_DATA_DIR/runs.
- **alphasift_daily_report** — Build the offline-safe CN post-close DailyReport JSON + <1200-char IM card (market regime, multi-strategy consensus, AI rebalance diff, and pattern radar) from the local CN DailyPack and saved runs (never spends LLM credits).
- **alphasift_markets** — Return metadata for all 7 supported equity markets (cn/us/hk/jp/kr/tw/in) or a single market when `market` is specified (currency, timezone, sessions, benchmark).

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

```json
"mcpServers": {
  "alphasift": {
    "command": "uvx",
    "args": ["alphasift","mcp"]
  }
}
```

## Documentation

## What alphasift does

alphasift provides an AI-assisted quantitative screening workflow for seven equity markets: A shares, US stocks, Hong Kong stocks, Japan, South Korea, Taiwan, and India. Its deterministic layer applies readable YAML strategies and multi-factor scoring to market data. The repository includes 12 built-in strategy definitions, including value-oriented approaches such as `dual_low` and `global_value`.

The screening pipeline can add an intelligence review stage using current announcements, news, and capital-flow context. Material negative information can impose a score ceiling in the review process. Results can then be stored for later evaluation, included in HTML reports, or compared with a rules-only run.

alphasift also maintains a public paper-trading record. Selected results are evaluated at the next open and tracked at T+5, T+10, and T+20, with one-price-limit openings excluded from the calculation. This record is intended for post-selection verification rather than live order execution.

## How it works

The MCP entry point is launched with `alphasift mcp`. An MCP client communicates with the process over STDIO and can call read-only screening tools or access the exposed resources. A typical configuration uses `uvx alphasift mcp`, avoiding a separate package installation; an installed package can be invoked with the `alphasift` executable instead.

The processing flow starts with YAML rules and factor scores, applies risk and sector-diversification constraints, and optionally performs AI-based information review. The project can also build a local 250-day China A-share data package for replay and strategy evaluation. Separate commands provide a local web interface, daily reports, and saved screening runs.

## Setup and configuration

Install from PyPI with `pip install alphasift`, or use `uvx` directly in an MCP client configuration:

```json
{
  "mcpServers": {
    "alphasift": {
      "command": "uvx",
      "args": ["alphasift", "mcp"]
    }
  }
}
```

Python 3.10 or newer is supported. The MCP server can perform rule-only work without an API key. Optional AI review can be enabled by placing `GEMINI_API_KEY`, `DEEPSEEK_API_KEY`, or `OPENAI_API_KEY` in the environment. Local commands include `alphasift screen`, `alphasift serve`, `alphasift pack build`, `alphasift evaluate-strategies`, and `alphasift daily-report`.

Docker Compose is also available for starting the local web workspace. The web interface is separate from the STDIO MCP entry point and can be served on a local host and port.

## Tools and capabilities

- Run read-only quantitative screening tools through MCP.
- Access four MCP resources containing AlphaSift data or screening context.
- Apply YAML-defined multi-factor strategies across seven markets.
- Compare strategy conditions and weighting preferences.
- Run scans with or without AI intelligence review.
- Produce saved runs, strategy evaluations, and printable HTML daily reports.
- Inspect public T+5, T+10, and T+20 paper-tracking results.
- Use sector-bucket limits to reduce concentration among selected companies.

## Limitations and notes

MCP operations are read-only and are intended for screening and research; the described workflow does not place trades. AI review is optional and requires a supported model API key, while rules-only screening does not. Market coverage, strategy behavior, and evaluation outputs depend on the available market data and the selected strategy. The public tracking ledger reports paper results and should not be treated as a guarantee of future performance.

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

