About LangAlpha
LangAlpha is an MCP server published by ginlix-ai in the Agents category: claude Code for Financial Market. Conduid read 62 tools from its source: compare_financials, compare_valuations, get_analyst_estimates, get_analyst_price_targets, get_analyst_ratings, get_analyst_recommendations and 56 more. No package is published for it, so it installs from a source checkout.
The repository has 2.4K stars and 396 forks, is licensed Apache-2.0, and its last commit was on 2 Dec 2026. The latest release is desktop-oss-v0.4.0 (24 Nov 2026): The LangAlpha desktop app for running LangAlpha yourself. It follows desktop-v0.4.0 (24 Nov 2026), and the 5 most recent releases go back to desktop-oss-v0.3.1 (9 Nov 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include investment, langchain, langraph and trading.
Install
git clone https://github.com/ginlix-ai/LangAlphaTools (62)
compare_financialsFinancial statements for several companies for side-by-side comparison.| Parameter | Type | Description |
|---|---|---|
| quarterly | boolean | Quarterly if True, else annual. |
| statement_type | string | "income", "balance", or "cashflow". |
| tickers * | array | Symbols, e.g. ["AAPL", "MSFT", "GOOGL"]. |
compare_valuationsValuation multiples across several stocks for side-by-side comparison.| Parameter | Type | Description |
|---|---|---|
| tickers * | array | Symbols, e.g. ["AAPL", "MSFT", "GOOGL"]. |
get_analyst_estimatesFetch consensus analyst estimates by fiscal period for revenue, EBITDA,| Parameter | Type | Description |
|---|---|---|
| limit | integer | Periods back from the furthest one estimated, often years out (default 10). |
| period | string | "annual" | "quarter" (a half-yearly reporter's are half-years). |
| symbol * | string | Ticker, e.g. "AAPL", "0700.HK", "600519.SH". |
get_analyst_price_targetsAnalyst price-target summary for a stock. Use for consensus target vs.| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_analyst_ratingsFetch analyst views: consensus price target, monthly rating counts, and| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rows per list, 1 to 100. |
| symbol * | string | Ticker, e.g. "AAPL", "TSM". |
get_analyst_recommendationsAggregated analyst recommendation counts by period. Use to gauge the| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_asset_dataFetch OHLCV bars for a stock, commodity, crypto, or forex pair.| Parameter | Type | Description |
|---|---|---|
| asset_type * | string | stock|commodity|crypto|forex. |
| from_date | string | "YYYY-MM-DD[ HH:MM]". |
| interval | string | See above. |
| symbol * | string | Commodity "GCUSD", crypto "BTCUSD", forex "EURUSD". |
| to_date | string | Same format. |
get_balance_sheetBalance sheet (assets, liabilities, equity). Use for leverage, liquidity,| Parameter | Type | Description |
|---|---|---|
| quarterly | boolean | Quarterly if True, else annual. |
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_cash_flowCash flow statement (operating, investing, financing). Use for cash| Parameter | Type | Description |
|---|---|---|
| quarterly | boolean | Quarterly if True, else annual. |
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_company_infoCompany profile and key statistics. Use for sector/industry, market cap,| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_conversationFetch replies to an X conversation thread (last ~7 days).| Parameter | Type | Description |
|---|---|---|
| bearer_token | string | Loaded from the sandbox vault (`get("X_BEARER_TOKEN")`). |
| conversation_id * | string | Often equals the root tweet id — find it via get_tweet_by_id on the root. |
| max_results | integer | Posts per page. Default 50, max 100. |
| next_token | string | Pagination cursor from a previous response. |
get_dividends_and_splitsFetch historical dividend payments and stock splits.| Parameter | Type | Description |
|---|---|---|
| symbol * | string | Ticker — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_earnings_calendarFetch the earnings calendar for all companies reporting in a date range —| Parameter | Type | Description |
|---|---|---|
| from_date * | string | "YYYY-MM-DD". |
| to_date * | string | "YYYY-MM-DD". |
get_earnings_dataHistorical EPS estimate vs. actual per quarter. Use to review earnings| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_earnings_datesEarnings announcement dates with EPS estimate vs. actual. Use for the| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_earnings_estimatesForward EPS estimates by period.| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_earnings_historyHistorical EPS estimate vs. actual with surprise. Use to review recent| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_earnings_surprisesFetch each report's EPS and revenue against the consensus estimate| Parameter | Type | Description |
|---|---|---|
| limit | integer | Reports, the next scheduled one included (default 12). |
| symbol * | string | Ticker, e.g. "AAPL", "0700.HK". |
get_economic_calendarFetch economic events, such as Fed meetings, jobs reports, and CPI releases.| Parameter | Type | Description |
|---|---|---|
| from_date | string | "YYYY-MM-DD" (default: yesterday UTC, or 7 days before an earlier to_date). |
| to_date | string | "YYYY-MM-DD" (default: 7 days after from_date). |
get_economic_indicatorFetch a US economic indicator series: GDP, CPI, unemployment, Fed funds.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Observation count (default 50). |
| name * | string | "GDP", "CPI", "unemploymentRate", "federalFundsRate", "inflationRate" (10Y breakeven, not CPI), "retailSales", "consumerSentiment", "nonFarmPayrolls". |
get_financial_ratiosFetch raw historical key metrics and financial ratios.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Number of periods (default 10). |
| period | string | "annual" | "quarter". |
| symbol * | string | Ticker, e.g. "AAPL", "0700.HK", "600519.SH". |
get_financial_statementsFetch raw historical financial statements for trend analysis or model| Parameter | Type | Description |
|---|---|---|
| limit | integer | Number of periods (default 10). |
| period | string | "annual" | "quarter". |
| statement_type | string | "income" | "balance" | "cash" | "all". |
| symbol * | string | Ticker, e.g. "AAPL", "0700.HK", "600519.SH". |
get_growth_estimatesGrowth estimates for the stock vs. the index.| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_growth_metricsFetch raw historical growth rates.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Number of periods (default 10). |
| period | string | "annual" | "quarter". |
| symbol * | string | Ticker, e.g. "AAPL", "0700.HK", "600519.SH". |
get_historical_valuationFetch DCF fair value and enterprise value history.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Number of periods (default 10). |
| period | string | "annual" | "quarter". |
| symbol * | string | Ticker, e.g. "AAPL", "0700.HK", "600519.SH". |
get_income_statementIncome statement (revenue, expenses, margins, net income). Use for| Parameter | Type | Description |
|---|---|---|
| quarterly | boolean | Quarterly if True, else annual. |
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_industry_infoOverview of an industry — top performing and top growth companies plus| Parameter | Type | Description |
|---|---|---|
| industry_key * | string | Yahoo industry key, e.g. "software-infrastructure". |
get_insider_rosterCurrent insiders and their holdings. Use to see who the insiders are and| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_insider_tradesFetch insider transactions from SEC Form 4 filings, with quarterly totals.| Parameter | Type | Description |
|---|---|---|
| limit | integer | Number of recent transactions (default 50). |
| symbol * | string | Ticker, e.g. "AAPL". |
get_insider_transactionsRecent insider buy/sell transactions. Use to track insider activity.| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_institutional_holdersTop institutional holders of a stock. Use to see which institutions hold| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_key_executivesFetch key executives with title and compensation — identify the| Parameter | Type | Description |
|---|---|---|
| symbol * | string | Ticker — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_major_holdersOwnership breakdown (insider %, institution %, etc.). Use for a| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_market_risk_premiumFetch market risk premium by country for CAPM/WACC — get the equity riskget_market_statusCurrent status and index summary for a market. Use to check whether a| Parameter | Type | Description |
|---|---|---|
| market | string | Market code (see above; default "US"). |
get_multiple_stocks_dividendsDividend history for several stocks in one call. Use to compare payout| Parameter | Type | Description |
|---|---|---|
| tickers * | array | Symbols, e.g. ["AAPL", "MSFT", "JNJ"]. |
get_multiple_stocks_earningsHistorical earnings (EPS estimate vs. actual) for several stocks at once.| Parameter | Type | Description |
|---|---|---|
| tickers * | array | Symbols, e.g. ["AAPL", "MSFT", "GOOGL"]. |
get_multiple_stocks_historyHistorical OHLCV bars for several stocks.| Parameter | Type | Description |
|---|---|---|
| interval | string | 1min|5min|15min|30min|1hour|1day|1week|1month (native 2m|90m|5d|3mo accepted; 4hour unsupported). |
| period | string | 1d,5d,1mo,3mo,6mo,1y,2y,5y,10y,ytd,max. |
| tickers * | array | Symbols, e.g. ["AAPL", "MSFT", "0700.HK"]. |
get_mutualfund_holdersTop mutual-fund holders of a stock. Use to see the largest fund| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_newsLatest news articles for a stock. Use to pull recent headlines and| Parameter | Type | Description |
|---|---|---|
| count | integer | Number of articles (default 10). |
| tab | string | One of "news", "all", or "press releases". |
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_options_chainList an underlying's options contracts; use to find contract tickers.| Parameter | Type | Description |
|---|---|---|
| contract_type | string | "call" or "put" (default: both). |
| expiration_date_gte | string | Min expiration "YYYY-MM-DD". |
| expiration_date_lte | string | Max expiration "YYYY-MM-DD". |
| limit | integer | Max contracts (default 50, max 1000). |
| strike_price_gte | number | Min strike price. |
| strike_price_lte | number | Max strike price. |
| underlying_ticker * | string | Underlying stock ticker, e.g. "AAPL". |
get_options_pricesFetch OHLCV bars for one options contract.| Parameter | Type | Description |
|---|---|---|
| from_date * | string | Start date "YYYY-MM-DD". |
| interval | string | One of the intervals above. |
| options_ticker * | string | OCC contract ticker, e.g. "O:AAPL260618C00220000". |
| to_date * | string | End date "YYYY-MM-DD". |
get_options_snapshotOptions snapshots: session prices, greeks, IV and open interest.| Parameter | Type | Description |
|---|---|---|
| options_tickers * | string | OCC tickers, comma-separated, e.g. "O:AAPL260618C00220000". |
get_predefined_screenRun a named Yahoo predefined screener. Use for common ready-made scans| Parameter | Type | Description |
|---|---|---|
| screen_name * | string | A Yahoo predefined screener name (see above). |
get_revenue_estimatesForward revenue estimates by period. Use for consensus revenue for coming| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_sector_infoOverview of a market sector — top companies, ETFs, and its industries.| Parameter | Type | Description |
|---|---|---|
| sector_key * | string | One of the keys above. |
get_shares_floatFetch shares float, outstanding shares, and float percentage.| Parameter | Type | Description |
|---|---|---|
| symbol * | string | Ticker — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_short_dataFetch short interest and/or short volume for a US stock.| Parameter | Type | Description |
|---|---|---|
| data_type | string | "short_interest", "short_volume", or "both" (default). |
| from_date | string | "YYYY-MM-DD" start filter (optional). |
| limit | integer | Max records per section (default 20, max 50000). |
| symbol * | string | Stock ticker, e.g. "AAPL". |
| to_date | string | "YYYY-MM-DD" end filter (optional). |
get_stock_dataFetch OHLCV price bars for a stock.| Parameter | Type | Description |
|---|---|---|
| end_date | string | Same format. |
| interval | string | See above. |
| start_date | string | "YYYY-MM-DD[ HH:MM]". |
| symbol * | string | Ticker — US "AAPL", HK "0700.HK", A-share "600519.SH", LSE "VOD.L". |
get_stock_historyHistorical OHLCV price bars for one stock.| Parameter | Type | Description |
|---|---|---|
| interval | string | 1min|5min|15min|30min|1hour|1day|1week|1month (native 2m|90m|5d|3mo accepted; 4hour unsupported). |
| period | string | 1d,5d,1mo,3mo,6mo,1y,2y,5y,10y,ytd,max. |
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_sustainability_dataESG / sustainability scores for a company. Use for ESG risk context.| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_technical_indicatorFetch a technical indicator time series over OHLCV bars.| Parameter | Type | Description |
|---|---|---|
| indicator * | string | FMP name — "rsi", "ema", "sma", "wma", "adx", "williams". |
| period | integer | Lookback length (default 14). |
| symbol * | string | Ticker, e.g. "AAPL", "0700.HK", "600519.SH". |
| timeframe | string | FMP-native bar — "1min"…"4hour", "1day" (default "1day"). |
get_treasury_ratesFetch US Treasury rates across the yield curve (1M to 30Y): the risk-free| Parameter | Type | Description |
|---|---|---|
| from_date | string | Start date "YYYY-MM-DD" (default: recent data). |
| to_date | string | End date "YYYY-MM-DD" (default: today). |
get_tweet_by_idFetch a single X post by its numeric id.| Parameter | Type | Description |
|---|---|---|
| bearer_token | string | Loaded from the sandbox vault (`get("X_BEARER_TOKEN")`). |
| tweet_id * | string | Numeric tweet id as a string (the trailing digits of an X URL). |
get_upgrades_downgradesHistory of analyst rating changes (upgrades/downgrades). Use to track| Parameter | Type | Description |
|---|---|---|
| ticker * | string | Symbol — US "AAPL", HK "0700.HK", A-share "600519.SH". |
get_user_by_usernameLook up an X user profile by handle (without @).| Parameter | Type | Description |
|---|---|---|
| bearer_token | string | Loaded from the sandbox vault (`get("X_BEARER_TOKEN")`). |
| username * | string | Handle without @ (e.g. "XDevelopers"). 1-15 chars, [A-Za-z0-9_]. |
scrape_pageScrape one web page and extract its content.| Parameter | Type | Description |
|---|---|---|
| extraction | string | markdown (default) | html (raw) | text (plain). |
| mode | string | fast|browser|stealth. |
| solve_cloudflare | boolean | Solve Cloudflare challenges (stealth mode only). |
| timeout | number | Per-fetch seconds, 1-60. |
| url * | string | Full http(s) URL. Localhost and private addresses are rejected. |
scrape_pagesScrape up to 10 web pages concurrently.| Parameter | Type | Description |
|---|---|---|
| extraction | string | markdown (default) | html (raw) | text (plain). |
| mode | string | fast|browser|stealth. |
| solve_cloudflare | boolean | Solve Cloudflare challenges (stealth mode only). |
| timeout | number | Per-fetch seconds, 1-60. |
| urls * | array | Full http(s) URLs, max 10 per call (4 in browser/stealth). |
screen_stocksScreen equities with Yahoo filters on numeric/categorical criteria.| Parameter | Type | Description |
|---|---|---|
| count | integer | Max rows (default 25, max 250). |
| filters * | array | List of filter dicts (see above). |
| sort_asc | boolean | Ascending if True (default False). |
| sort_field | string | Field to sort by (default "percentchange"). |
search_all_postsFull-archive X post search, back to March 2006. Use when `search_posts`| Parameter | Type | Description |
|---|---|---|
| bearer_token | string | Loaded from the sandbox vault (`get("X_BEARER_TOKEN")`). |
| end_time | string | ISO8601 exclusive upper bound. |
| max_results | integer | Posts per page. Default 10, max 500. |
| next_token | string | Pagination cursor from a previous response. |
| query * | string | X search syntax. Example: '$TSLA (earnings OR guidance)'. |
| start_time | string | ISO8601 inclusive lower bound (back to 2006-03-26). |
search_postsSearch recent X posts (last ~7 days) using X search syntax.| Parameter | Type | Description |
|---|---|---|
| bearer_token | string | Loaded from the sandbox vault: `from vault import get; get("X_BEARER_TOKEN")`. |
| end_time | string | ISO8601 exclusive upper bound. |
| max_results | integer | Posts per page. Default 10, max 100. |
| next_token | string | Pagination cursor from a previous response. |
| query * | string | X search syntax. Example: '$TSLA -is:retweet lang:en'. |
| start_time | string | ISO8601 inclusive lower bound (e.g. "2026-04-20T00:00:00Z"). |
search_tickersLook up tickers and related news by free-text keyword. Use to resolve a| Parameter | Type | Description |
|---|---|---|
| max_results | integer | Max ticker quotes to return (default 8). |
| news_count | integer | Max news articles to return (default 5). |
| query * | string | Keyword — company name or symbol, e.g. "apple", "AAPL". |
Security checks
Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 6.5K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by uv.lock and 5 more.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 6.5K words, fetched 5 days ago. The original in the repository is authoritative.
Read full README