{"schemaVersion":"0.1","serverInfo":{"name":"Pattern Machine","version":"1.0.0","description":"Time series pattern matching and financial market intelligence for AI agents. Pay-per-call via x402 on Base mainnet (USDC). No API keys required.","homepage":"https://market2000.xyz"},"endpoint":"https://market2000.xyz/mcp","transport":"streamable-http","capabilities":{"tools":{"available":true,"count":33},"resources":{"available":false},"prompts":{"available":false}},"payment":{"required":true,"protocol":"x402","network":"eip155:8453","asset":"USDC","discovery":"https://market2000.xyz/.well-known/x402"},"tools":[{"name":"regime_detection","description":"What historical market period does now most resemble? Top-3 era analogs + forward returns."},{"name":"forward_distribution","description":"Full P10→P90 return distribution across all historical analogs for a pattern window."},{"name":"macro_analog","description":"Match current macro conditions (VIX, yields, SPY, gold) to historical market periods."},{"name":"get_patterns","description":"Find top-k historical price analogs via DTW with 7d/30d forward return stats."},{"name":"get_patterns_raw","description":"DTW pattern search — raw matched windows only, no forward return computation."},{"name":"get_patterns_ohlc","description":"DTW pattern search with full OHLC candlestick data per matched window."},{"name":"screen","description":"Rank up to 50 tickers by pattern similarity in one batch call."},{"name":"playbook","description":"Cross-asset playbook: when ticker showed this pattern, what did peers do?"},{"name":"pattern_backtest","description":"Every time ticker did X% in N days, what happened next? Returns full distribution."},{"name":"position_size","description":"Kelly criterion position sizing from a pattern's historical forward distribution."},{"name":"pattern_alert","description":"Register a webhook that fires when price action matches a historical template."},{"name":"get_latest_price","description":"Most recent closing price and 1-day change for any ticker."},{"name":"get_price_history","description":"OHLC candlestick bars for a ticker and date range."},{"name":"get_market_movers","description":"Top gainers, losers, and most-active US stocks."},{"name":"get_fear_greed","description":"CNN Fear & Greed Index — composite score, 7 components, 30-day history."},{"name":"get_earnings_calendar","description":"Companies reporting earnings on a given date with EPS and revenue estimates."},{"name":"get_economic_calendar","description":"Macro events (CPI, Fed, NFP, GDP) with forecasts and previous values."},{"name":"get_fundamentals","description":"Company fundamentals — valuation, margins, growth, balance sheet, analyst targets."},{"name":"get_options_chain","description":"Full options chain — calls and puts with IV, OI, and put/call ratio."},{"name":"optimize_portfolio","description":"Markowitz portfolio optimization — max Sharpe, min volatility, or max return."},{"name":"correlation_matrix","description":"Cross-asset Pearson/Spearman correlation matrix with diversification score."},{"name":"earnings_surprise","description":"EPS beat/miss history, average surprise magnitude, and price reaction on earnings days."},{"name":"daily_brief","description":"One-call morning digest: fear/greed + top movers + earnings + macro events."},{"name":"analyze","description":"Natural language market query — ask any market question in plain English."},{"name":"watch_register","description":"Price alert — webhook fires once when ticker crosses a price threshold."},{"name":"watch_status","description":"Check status of a registered price alert."},{"name":"watch_cancel","description":"Cancel a registered price alert."},{"name":"pattern_alert_status","description":"Check status of a registered pattern alert."},{"name":"pattern_alert_cancel","description":"Cancel a registered pattern alert."},{"name":"get_trends","description":"Google Trends — daily/weekly/monthly top search queries by country or worldwide."},{"name":"get_hardware_prices","description":"CPU/GPU retail price index plus semiconductor stock market proxy."},{"name":"search_arxiv","description":"arXiv academic paper search with keyword query and optional category filter."},{"name":"verify_signature","description":"Verify the secp256k1 signature on a response body for verifiable data provenance."}]}