Skip to main content
Glama
luongndcoder

fiinquant-mcp

by luongndcoder

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FIINQUANT_PLANNofree | paid — picks default capsfree
FIINQUANT_MAX_ROWSNoMax table rows500
FIINQUANT_PASSWORDYesSDK password
FIINQUANT_USERNAMEYesSDK username
FIINQUANT_LOG_LEVELNostderr logsINFO
FIINQUANT_MAX_CHARSNoMax response chars80000
FIINQUANT_TIMEOUT_SNoHard timeout per call30
FIINQUANT_MAX_HISTORY_DAYSNoMax start→end span31
FIINQUANT_ENFORCE_PLAN_LIMITSNoLocal rate/history/ticker guardstrue
FIINQUANT_REQUESTS_PER_MINUTENoLocal RPM guard90
FIINQUANT_REQUESTS_PER_SECONDNoLocal RPS guard80
FIINQUANT_MAX_REALTIME_TICKERSNoCap per realtime-ish call33

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
fq_pingA

Health check for the personal FiinQuant MCP process (no credentials required).

fq_session_statusA

Show credentials/session status and supported Gateway ops.

fq_list_opsA

List logical Gateway operations this MCP can dispatch.

fq_get_price_historyB

OHLCV convenience (tickers CSV, start/end YYYY-MM-DD).

fq_get_stock_pricesC

Primary price tool: latest trade and/or OHLCV for stocks/indexes.

fq_get_market_statisticsB

Market stats (market_cap, volume/value). Prefer fq_get_stock_prices for OHLCV.

fq_get_market_breadthC

Index breadth: advancing / declining / unchanged.

fq_get_index_constituentsB

Members of an index basket (e.g. VN30).

fq_get_money_flow_contributionC

Money-flow / index contribution ranking (topGainers, topLosers).

fq_get_realtime_bid_askA

Realtime bid/ask snapshot (may be empty outside market hours).

fq_list_tickersA

List tickers (optional market filter HOSE/HNX/UPCOM).

fq_ticker_infoC

Basic metadata for one ticker.

fq_get_basic_infoB

Company name, exchange, sector, ICB classification.

fq_get_icb_industriesC

ICB industry list by level.

fq_get_financial_ratiosC

Financial ratios. years/quarters as CSV when needed.

fq_get_financial_statementsC

BCTC: income_statement | balance_sheet | cashflow | full | note.

fq_get_valuation_timeseriesC

Valuation history; scope=stock|index|sector.

fq_get_equity_snapshotC

Point-in-time snapshot (pe/pb, market_cap, liquidity, foreign room).

fq_screen_stocksC

Stock screening. filters is JSON array string of indicator rules.

fq_get_technical_indicatorsC

TA indicators. indicators JSON e.g. [{"name":"rsi","window":14}].

fq_detect_patternC

Pattern detection (doji, engulfing, support/resistance, …).

fq_get_rrg_analysisC

Relative Rotation Graph vs benchmark.

fq_get_rebalanceB

Index rebalance allocation for a cash budget.

fq_run_custom_analysisA

Run FiinQuant custom analysis; omit analysis_id to list available.

fq_search_methodsB

Discover FiinQuantX methods / screening indicators.

fq_call_methodA

Call a FiinQuantX method by id when no domain tool fits.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/luongndcoder/fiinquant-python-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server