MCPInstall
FinanceQuery logo

FinanceQuery

by Verdenroz 53 stars verdenroz/finance-query

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

READMEHEAD

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:

{
  "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):

{
  "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:

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

Windsurf

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

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

VS Code (GitHub Copilot)

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

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

Continue

Add to .continue/config.yaml:

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

Zed

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

{
  "context_servers": {
    "finance-query": {
      "command": {
        "path": "cargo",
        "args": ["run", "-p", "finance-query-mcp", "--quiet"],
        "env": {
          "EDGAR_EMAIL": "your@email.com",
          "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)

# HTTP transport (remote/VPS)
docker run -p 3000:3000 \
  -e MCP_TRANSPORT=http \
  -e EDGAR_EMAIL=your@email.com \
  -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

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

# HTTP
MCP_TRANSPORT=http cargo run -p finance-query-mcp --quiet

For stdio, point your client at the binary:

{
  "mcpServers": {
    "finance-query": {
      "command": "cargo",
      "args": ["run", "-p", "finance-query-mcp", "--quiet"],
      "env": {
        "EDGAR_EMAIL": "your@email.com",
        "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.

More Research & Data MCP servers

Similar servers from the same category.

WeatherXM PRO logo

WeatherXM PRO

weatherxm

Integrates with WeatherXM PRO APIs to provide access to hyperlocal weather data, historical observations, and forecast performance metrics for location-specific analysis and planning.

APICLI+6
Gralio logo

Gralio

tymonte

Access 3+ million SaaS reviews, detailed pricing data, alternatives, ratings, funding information, growth metrics, user sentiment analysis, and functional feature data for over 30,000 software products.

Research & Data

Integrates with professional cryptocurrency data APIs from DefiLlama Pro, CoinGecko Pro, and Arkham Intelligence to provide real-time token prices, market data, blockchain analytics, and on-chain intelligence for crypto researchers and traders.

search

Enables semantic and keyword searches across Space Frontiers' library, telegram, and reddit databases through a FastAPI-based server with flexible authentication options.

databaseauthentication+1