End-of-day US equity data: MA200 deviation rankings, market breadth, chart-pattern win rates.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
Command-line access to Pattern Vista β K-line pattern historical win-rates and MA200 deviation rankings β built to be called by AI agents as easily as by humans.
Output is JSON by default (so an agent can parse it directly); add --table
for a human-readable view.
Generate a key at https://www.pattern-vista.com (Account β API keys), then:
Resolution order: --api-key flag β PATTERN_VISTA_API_KEY β stored config.
A free account sees the top 2 rows of each list and patterns without the
historical win-rate. A paid subscription unlocks the full lists (up to 100) and
hist_win_w20. The tier is enforced server-side from the key β see
is_billed in every response.
The PatternVistaClient core has no CLI dependency β it is what backs the MCP
server below, so the two can never return different things.
The same data as tools your agent can call directly. No install needed if you
have uv:
Drop that into your MCP client's config (Claude Desktop, Claude Code, Cursor, or anything else that speaks MCP over stdio). If you would rather install it:
Or run it in a container. -i is required β the transport is stdio, so without
an attached stdin the server has nothing to read and exits straight away:
| Tool | Answers |
|---|---|
market_stretch | Is the market broadly extended or depressed right now, and how does that rank against its own history? |
deviation_ranking | Which symbols are furthest below (or above) their own 200-day average? |
recommended_patterns | What did last night's scan flag, and has that pattern bucket historically beaten SPY? |
ticker_report | Everything held on one symbol. |
account_status | Which account is this key, and is it on a paid tier? |
Auth resolves exactly as the CLI's does: PATTERN_VISTA_API_KEY, else the key
saved by pv config set-key. Tiering stays server-side β a free key gets 2 rows
and a null hist_win_w20, so check is_billed in the response before treating
a short list as a quiet market.
Works with both generations of the MCP Python SDK (mcp 1.x's FastMCP and
2.x's MCPServer).
(close β MA200) / MA200, refreshed nightly over an S&P 500 +
Nasdaq 100 + major-ETF universe. Split-distorted and implausible values are
filtered out before ranking.pv stretch, market_stretch) is the share of that same
universe closing above its own MA200, one reading per trading day, with the
history behind it. Free for every tier β it is the same number the public
page at https://www.pattern-vista.com/market/stretch publishes.hist_win_w20) is the historical 20-trading-day hit rate of a
pattern type since 2025-01-01. See the methodology post at
https://www.pattern-vista.com/posts/pattern-alpha-backtest.MIT
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/pattern-vista)<a href="https://allmcps.com/mcp/pattern-vista"><img src="https://allmcps.com/api/badge/pattern-vista?style=directory" alt="Pattern Vista on AllMCPs" /></a>