FinanceQuery

io.github.Verdenroz由 GitHub 帳號 Verdenroz 發布v3.4.0更新於 Nov 19, 2026

Stock quotes, charts, financials, options, SEC filings, crypto and macro data. Hosted, no API key.

發布方自己的服務:Finance Foundation

已驗證Streamable HTTP可網頁執行金融資料與分析

概覽

AI 產生的概覽

一個託管、免金鑰的 MCP 伺服器,讓助理取得股票報價、圖表、財報、選擇權、SEC 文件、加密貨幣與總體經濟資料。

可以做什麼
  • 查詢報價、公司簡介、搜尋與篩選器,以及市場總覽、交易時段和指數
  • 取得歷史 OHLCV 圖表、42 項技術指標、風險指標與回測結果
  • 讀取基本面:損益表、資產負債表、現金流量表、股利、持股人、分析師評等與目標價
  • 取得選擇權鏈、加密貨幣市值、外匯、期貨、大宗商品與恐懼貪婪指數
  • 檢索並閱讀 SEC EDGAR 文件、XBRL 資料、法說會逐字稿、新聞稿、新聞與 RSS 訂閱
  • 取得 FRED 總體經濟時間序列與美國公債殖利率
適用情境
適合讓助理研究股票、ETF、加密貨幣或總體經濟環境,比較公司,查看即將到來的財報與股利,或閱讀監理文件與法說會內容,而不必自行串接多個付費資料 API。
執行需求
託管端點無需安裝或 API 金鑰。自架需要 Docker 或 Rust 工具鏈;選用的 EDGAR_EMAIL 可啟用 SEC EDGAR 工具,FRED_API_KEY 可啟用 FRED 序列,託管執行個體已預先設定這兩項。需要網路存取。
安裝前請注意
資料來自第三方供應商(Yahoo、CoinGecko、FMP、EDGAR、FRED、Polygon、Alpha Vantage),可能延遲、不完整或不準確,且不構成投資建議。自架並設定 EDGAR_EMAIL 時,會把你的聯絡電子郵件放入 User-Agent 傳送給 SEC。工具為唯讀,但回測需要特殊建置功能。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 FinanceQuery,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.Verdenroz%2Ffinance-query/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "financequery": {
      "type": "http",
      "url": "https://finance-query.com/mcp"
    }
  }
}

README

finance-query-mcp

MCP server for finance-query — real-time stock quotes, charts, technical indicators, financials, options, SEC filings, and more as MCP tools.

Works with any MCP-compatible agent: Claude Code, Claude Desktop, Cursor, Windsurf, Zed, Continue, VS Code Copilot, and others.

Hosted (Recommended)

A hosted instance runs at https://finance-query.com/mcp. No installation required — just add it to your client config.

Note: The hosted instance runs with EDGAR_EMAIL and FRED_API_KEY pre-configured, so all tools are available.

Claude Code

Add to .mcp.json in your project root:

json
{  "mcpServers": {    "finance-query": {      "type": "http",      "url": "https://finance-query.com/mcp"    }  }}

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

json
{  "mcpServers": {    "finance-query": {      "type": "http",      "url": "https://finance-query.com/mcp"    }  }}

Cursor

Add to .cursor/mcp.json in your project or ~/.cursor/mcp.json globally:

json
{  "mcpServers": {    "finance-query": {      "type": "http",      "url": "https://finance-query.com/mcp"    }  }}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

json
{  "mcpServers": {    "finance-query": {      "type": "http",      "url": "https://finance-query.com/mcp"    }  }}

VS Code (GitHub Copilot)

Add to .vscode/mcp.json in your project:

json
{  "servers": {    "finance-query": {      "type": "http",      "url": "https://finance-query.com/mcp"    }  }}

Continue

Add to .continue/config.yaml:

yaml
mcpServers:  - name: finance-query    type: http    url: https://finance-query.com/mcp

Zed

Add to ~/.config/zed/settings.json:

json
{  "context_servers": {    "finance-query": {      "command": {        "path": "cargo",        "args": ["run", "-p", "finance-query-mcp", "--quiet"],        "env": {          "EDGAR_EMAIL": "[email protected]",          "FRED_API_KEY": "your_fred_api_key"        }      }    }  }}

Zed runs MCP servers as local processes (stdio). Clone the repo and run from source, or build the binary with cargo build -p finance-query-mcp --release and point "path" at target/release/fq-mcp.


Self-Hosting

If you'd prefer to run your own instance, the server supports both HTTP and stdio transports.

Docker (recommended)

bash
# HTTP transport (remote/VPS)docker run -p 3000:3000 \  -e MCP_TRANSPORT=http \  -e [email protected] \  -e FRED_API_KEY=your_fred_api_key \  ghcr.io/verdenroz/finance-query/mcp:latest

Point your client at http://localhost:3000/mcp.

From Source

bash
# stdio (default — for local clients that launch the process)cargo run -p finance-query-mcp --quiet
# HTTPMCP_TRANSPORT=http cargo run -p finance-query-mcp --quiet

For stdio, point your client at the binary:

json
{  "mcpServers": {    "finance-query": {      "command": "cargo",      "args": ["run", "-p", "finance-query-mcp", "--quiet"],      "env": {        "EDGAR_EMAIL": "[email protected]",        "FRED_API_KEY": "your_fred_api_key"      }    }  }}

Environment Variables

VariableRequiredDescription
EDGAR_EMAILOptionalEnables get_edgar_* tools. SEC requires a contact email in the User-Agent.
FRED_API_KEYOptionalEnables get_fred_series. Free key at fred.stlouisfed.org. get_treasury_yields is keyless and always available.

Available Tools

Quotes

ToolDescription
get_quoteCurrent quote + full company data for a symbol
get_quotesBatch quotes for multiple symbols
get_recommendationsSimilar stocks and analyst ratings
get_splitsHistorical stock split history

Charts & Sparklines

ToolDescription
get_chartHistorical OHLCV candlestick data
get_chartsBatch OHLCV data for multiple symbols
get_sparkLightweight close-price sparklines (faster than get_charts)

Fundamentals

ToolDescription
get_financialsIncome statement, balance sheet, or cash flow
get_batch_financialsFinancials for multiple symbols
get_holdersMajor, institutional, fund, or insider holders
get_analysisAnalyst recommendations, upgrades/downgrades, earnings estimates

Technical Indicators (42 indicators)

ToolDescription
get_indicatorsAll 42 indicators for a symbol (SMA, EMA, RSI, MACD, Bollinger Bands, Ichimoku, etc.)
get_batch_indicatorsIndicators for multiple symbols

Options

ToolDescription
get_optionsOptions chain for a symbol (nearest or specific expiration)

Dividends

ToolDescription
get_dividendsDividend history + analytics (CAGR, avg payment)
get_batch_dividendsDividends for multiple symbols

Market Data

ToolDescription
get_market_summaryMajor indices and currencies by region
get_market_hoursMarket open/closed status by region
get_trendingTrending tickers by region
get_indicesWorld market indices (S&P 500, DAX, Nikkei, etc.)
get_fear_and_greedCNN Fear & Greed Index (0–100)
get_sectorSector data for any of the 11 GICS sectors
get_industryIndustry data by slug

Search & Discovery

ToolDescription
searchSearch stocks, ETFs, and companies by name or ticker
lookupType-filtered ticker discovery (equity, ETF, fund, index, etc.)
screenerPredefined screeners (most-actives, day-gainers, undervalued-growth, etc.)
get_newsNews for a symbol or general market news
get_feedsRSS/Atom feeds from Bloomberg, WSJ, FT, SEC, MarketWatch, and more
get_transcriptsEarnings call transcripts

Risk Analytics

ToolDescription
get_riskVaR (95/99%), Sharpe/Sortino/Calmar ratios, beta, max drawdown

Crypto (CoinGecko, no API key)

ToolDescription
get_crypto_coinsTop N coins by market cap

FRED / US Treasury

ToolDescription
get_fred_seriesAny FRED time series (FEDFUNDS, CPI, GDP, UNRATE, etc.)
get_treasury_yieldsUS Treasury yield curve (1m–30y) for a given year

SEC EDGAR

ToolDescription
get_edgar_factsXBRL structured financial data for any public company
get_edgar_submissionsSEC filing history and company metadata
get_edgar_searchFull-text search across SEC filings

Backtesting (requires backtesting build feature)

ToolDescription
run_backtestRun a prebuilt strategy (SMA crossover, RSI reversal, MACD signal, Bollinger mean-reversion, SuperTrend follow, Donchian breakout) against a symbol's history — returns summary metrics, a paginated equity curve, and a paginated trade list.

來源:finance-query-mcp/README.md,提交 4697974

工具

64

get_analysis

Analyst Data

Get analyst data for a stock: recommendation trends, upgrades/downgrades, earnings estimates, or earnings history.

輸入參數fieldssymbol必填analysis_type必填

get_calendar

Upcoming Events for Symbols

Get a time-sorted calendar of upcoming financial events (earnings with estimates, ex-dividend and dividend-payment dates, options expirations, and — when FRED is configured — market-wide economic releases) across multiple symbols. Answers 'what's coming up for my portfolio?' in one call.

輸入參數range必填fieldssymbols必填

get_chart

Price Chart (OHLCV)

Get historical OHLCV candlestick chart data for one or more stock symbols (comma-separated). A single symbol supports start/end absolute timestamps and returns one chart; multiple symbols return a batch of charts plus per-symbol errors (interval/range only, no start/end).

輸入參數endlimitrange必填startcursorfieldssymbols必填interval必填

get_commodity

Commodity Quote

Get a commodity's current quote (e.g. gold, silver, crude oil), provider-routed (Yahoo, keyless).

輸入參數fieldssymbol必填

get_company_profile

Company Profile

Get a company's identity/classification profile (name, description, asset type, exchange, currency, country, sector, industry, market capitalization).

輸入參數fieldssymbol必填

get_congressional_trades

Congressional Trades

Get congressional trading disclosures for a symbol. Uses FMP when FMP_API_KEY is set, keyless House PTR filings otherwise.

輸入參數limitcursorfieldssymbol必填

get_crypto

Top Cryptocurrencies

Get top cryptocurrency coins by market cap from CoinGecko (no API key required).

輸入參數countlimitcursorfieldsvs_currency

get_crypto_news

Crypto News

Get market-wide crypto news (currently FMP only, requires FMP_API_KEY).

輸入參數countlimitcursorfields

get_dividends

Dividend History

Get dividend history for one or more dividend-paying stocks (comma-separated symbols). A single symbol returns paginated dividend history plus analytics (CAGR, average payment, payout count); multiple symbols return a batch of dividend histories plus per-symbol errors (no analytics for batch).

輸入參數limitrange必填cursorfieldssymbols必填

get_earnings_surprises

Earnings Surprises

Get a stock's earnings-surprise history (actual vs. estimated EPS).

輸入參數fieldssymbol必填

get_earnings_transcript

Earnings Call Transcript

Get an earnings call transcript for a symbol. Provide quarter and year for a specific call, or omit both for the latest (Yahoo only).

輸入參數yearfieldssymbol必填quarter必填

get_edgar_facts

SEC EDGAR XBRL Facts

Get SEC EDGAR XBRL structured financial data (all reported accounting concepts) for a company. Requires EDGAR_EMAIL env var.

輸入參數limitcursorfieldssymbol必填conceptstaxonomy

get_edgar_submissions

SEC EDGAR Filing History

Get SEC filing history and company metadata from EDGAR (up to 1000 most recent filings). Requires EDGAR_EMAIL env var.

輸入參數limitcursorfieldssymbol必填

get_etf_profile

ETF Profile and Holdings

Get an ETF's profile and holdings (net assets, expense ratio, sector/country weightings, top holdings).

輸入參數fieldssymbol必填

get_executive_compensation

Executive Compensation

Get disclosed executive compensation by year for a symbol.

輸入參數limitcursorfieldssymbol必填

get_fails_to_deliver

Fails-to-Deliver Records

Get fails-to-deliver records for a symbol. Uses FMP when FMP_API_KEY is set, keyless EDGAR otherwise.

輸入參數limitcursorfieldssymbol必填

get_fear_and_greed

Fear & Greed Index

Get the CNN Fear & Greed Index — market sentiment from extreme fear (0) to extreme greed (100).

輸入參數fields

get_feeds

Financial News Feeds

Fetch RSS/Atom news from financial publishers (Bloomberg, WSJ, MarketWatch, FT, SEC, etc.).

輸入參數limitcursorfieldssources

get_filing_sections

SEC Filing Sections

Get sectioned text of one SEC filing by accession number (10-K or 8-K). Routes through EDGAR (best-effort HTML extraction) or Polygon when configured.

輸入參數form必填fieldssymbol必填accession_number必填

get_financials

Financial Statements

Get income statement, balance sheet, or cash flow statement for one or more stock symbols (comma-separated). A single symbol returns one statement; multiple symbols return a batch plus per-symbol errors.

輸入參數fieldsmetricssymbols必填frequency必填statement必填

get_forex

Exchange Rate

Get a currency pair's current exchange rate, provider-routed (Capability::FOREX).

輸入參數to必填from必填fields

get_forex_news

Forex News

Get market-wide forex news (currently FMP only, requires FMP_API_KEY).

輸入參數countlimitcursorfields

get_fred_series

FRED Economic Series

Get FRED macroeconomic time series data (e.g., FEDFUNDS, CPIAUCSL, GDP, UNRATE). Requires FRED_API_KEY env var.

輸入參數id必填as_oflimitcursorfields

get_futures

Futures Quote

Get a futures contract's current quote, provider-routed (Yahoo, keyless).

輸入參數fieldssymbol必填

get_grading_actions

Analyst Upgrades and Downgrades

Get provider-routed analyst upgrades and downgrades for a symbol.

輸入參數limitcursorfieldssymbol必填

get_holders

Ownership and Insider Activity

Get ownership data for a stock: major holders, institutional/fund ownership, or insider activity.

輸入參數limitcursorfieldssymbol必填holder_type必填

get_index_constituent_changes

Index Constituent Changes

Get additions and removals from an index's constituent list.

輸入參數limitcursorfieldssymbol必填

get_index_constituents

Index Constituents

Get an index's current constituent list, provider-routed (Wikipedia, S&P 500 only).

輸入參數fieldssymbol必填

get_indicators

Technical Indicators

Get all 42 technical analysis indicators (SMA, EMA, RSI, MACD, Bollinger Bands, Ichimoku, etc.) for one or more stock symbols (comma-separated). A single symbol returns one indicators object; multiple symbols return a paginated batch plus per-symbol errors.

輸入參數limitrange必填cursorfieldssymbols必填interval必填

get_indices

World Market Indices

Get world market indices (S&P 500, DAX, Nikkei, etc.), optionally filtered by region.

輸入參數fieldsregion必填

get_industry

Industry Overview

Get comprehensive industry data (overview, performance, top companies) for a specific industry slug.

輸入參數langfieldsindustry必填

get_key_metrics_ttm

Key Metrics (TTM)

Get trailing-twelve-month key metrics for a symbol.

輸入參數fieldssymbol必填

get_market_calendar

Market-Wide Event Calendar

Get a market-wide event calendar over a date range: earnings, IPOs, dividends, splits, economic releases, market holidays, or live exchange open/closed status. Unlike get_calendar (per-symbol), this spans the whole market.

輸入參數tofromkind必填fields

get_market_hours

Market Hours

Get current market hours and open/closed status for a region.

輸入參數fieldsregion必填

get_market_summary

Market Summary

Get market overview with major indices and currencies for a region.

輸入參數langfieldsregion必填

get_news

Stock and Market News

Get recent news. If a symbol is provided, returns news for that stock; otherwise returns general market news.

輸入參數langlimitcursorfieldssymbol

get_options

Options Chain

Get the options chain for a symbol. Provide an expiration timestamp to get a specific expiry, or omit for the nearest expiration.

輸入參數limitcursorfieldssymbol必填expiration

get_press_releases

Company Press Releases

Get a company's own press releases, distinct from get_news (press coverage). Routes through EDGAR 8-K exhibits, falling back to FMP/Alpha Vantage when configured.

輸入參數limitfieldssymbol必填

get_price_target_consensus

Price Target Consensus

Get a stock's consensus analyst price target (high/low/mean/median).

輸入參數fieldssymbol必填

get_price_target_summary

Price Target Summary

Get analyst price-target counts and averages per window (FMP only, requires FMP_API_KEY).

輸入參數fieldssymbol必填

get_protocol_tvl

DeFi Protocol TVL

Get a DeFi protocol's total value locked and per-chain split (DefiLlama, keyless).

輸入參數id必填fields

get_protocol_tvl_history

DeFi Protocol TVL History

Get a DeFi protocol's TVL history, oldest first (DefiLlama, keyless).

輸入參數id必填limitcursorfields

get_quote

Stock Quote

Get current quote and company data (price, market cap, PE ratio, 52-week range, etc.) for one or more stock symbols (comma-separated). A single symbol returns one quote object; multiple symbols return a paginated batch of quotes plus per-symbol errors.

輸入參數langlimitcursorfieldssymbols必填

get_rating_consensus

Analyst Rating Consensus

Get a stock's consensus analyst rating rollup (strong buy/buy/hold/sell/strong sell counts and a headline consensus label).

輸入參數fieldssymbol必填

get_ratios_ttm

Financial Ratios (TTM)

Get trailing-twelve-month financial ratios for a symbol.

輸入參數fieldssymbol必填

get_recommendations

Similar Stocks

Get similar stock recommendations and analyst ratings for a symbol.

輸入參數limitfieldssymbol必填

get_risk

Risk Analytics

Get risk analytics: VaR (95/99%), Sharpe/Sortino/Calmar ratios, beta, and maximum drawdown for a symbol.

輸入參數range必填fieldssymbol必填interval必填benchmark

get_risk_factors

Filing Risk Factors

Get risk factors extracted from a symbol's SEC filings. Routes through EDGAR (best-effort HTML extraction) or Polygon when configured.

輸入參數fieldssymbol必填

get_sector

Sector Overview

Get comprehensive sector data (overview, performance, top companies, ETFs) for one of the 11 GICS sectors.

輸入參數langfieldssector必填

get_sector_pe

Sector P/E Ratios

Get price/earnings ratios by market sector, provider-routed (Yahoo screener fan-out, keyless).

輸入參數fields

get_sector_performance

Sector Performance

Get aggregate performance for every market sector, provider-routed (Yahoo screener fan-out, keyless). Distinct from get_sector (per-sector Yahoo-only shortcut).

輸入參數fields

get_sector_performance_history

Sector Performance History

Get sector performance per session, most recent first.

輸入參數limitfields

get_short_volume

Short-Sale Volume

Get daily FINRA short-sale volume for a symbol (keyless).

輸入參數limitcursorfieldssymbol必填

get_spark

Price Sparklines

Get lightweight close-price sparklines for multiple symbols. Faster and smaller than get_charts — use when you only need price direction/trend across many symbols.

輸入參數range必填fieldssymbols必填interval必填

get_splits

Stock Split History

Get historical stock split history for a symbol.

輸入參數range必填fieldssymbol必填

get_symbol_details

Symbol Reference Details

Get reference detail for one symbol (name, exchange, SIC code, employees, list date).

輸入參數fieldssymbol必填

get_transcripts

Earnings Call Transcripts

Get earnings call transcripts for a company. Returns paragraph-by-paragraph text (speaker, timestamp, text), paginated via paragraph_limit/paragraph_cursor since a full call can be tens of thousands of tokens.

輸入參數langlimitfieldssymbol必填paragraph_limitparagraph_cursor

get_treasury_auctions

Treasury Auction Results

Get US Treasury securities auction results (bid-to-cover ratio, high yield or discount rate, and the primary-dealer/direct/indirect bidder split), newest first. Set upcoming=true for the announced schedule of auctions not yet held. No API key required.

輸入參數tofromcountlimitcursorfieldsupcomingsecurity_termsecurity_type

get_treasury_yields

Treasury Yield Curve

Get US Treasury yield curve data (1m through 30y) for a given year. No API key required.

輸入參數yearlimitcursorfields

lookup

Ticker Lookup by Type

Discover tickers filtered by type (equity, ETF, mutual fund, index, future, currency, cryptocurrency).

輸入參數langlogoquery必填fieldsquery_type必填

screener

Stock Screener

Get results from a predefined stock screener (e.g., most-actives, day-gainers, undervalued-growth-stocks).

輸入參數countfieldsscreener_type必填

版本歷史

1
  1. v3.4.0最新Nov 19, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Finance 整合