fiinquant-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fiinquant-mcpget latest stock prices for FPT and VNM"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
fiinquant-mcp (personal)
Personal resilient MCP server wrapping the FiinQuant / FiinQuantX Python SDK for Claude Desktop / Cursor (stdio).
Not an official FiinGroup/FiinQuant product. Tool surface aligned with official FiinQuant MCP domain tools, with timeout / error envelope / size budget so agent hosts do not hang.
Version: 0.2.1 (P0 + P1 + free-tier guards)
Quick start (uvx)
Requires uv.
{
"mcpServers": {
"fiinquant": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/luongndcoder/fiinquant-python-mcp",
"fiinquant-mcp"
],
"env": {
"FIINQUANT_USERNAME": "your_user",
"FIINQUANT_PASSWORD": "your_pass"
}
}
}
}Live data needs the private SDK wheel:
"args": [
"--from", "git+https://github.com/luongndcoder/fiinquant-python-mcp",
"--with", "/ABS/PATH/to/FiinQuantX.whl",
"fiinquant-mcp"
]See config/mcp.example.json and config/mcp.with-sdk.example.json.
Related MCP server: Daito
Tools (P0 + P1)
Domain | Tools |
Health |
|
Market |
|
Universe |
|
Fundamental |
|
Screen / TA |
|
Meta |
|
~26 tools total. Names use fq_ prefix; semantics match official FiinQuant MCP domain tools.
Examples
fq_get_stock_prices tickers=FPT,VNM latest=true
fq_get_financial_ratios tickers=FPT years=2023,2024
fq_get_financial_statements tickers=FPT statement=income_statement
fq_screen_stocks filters=[{"indicator":"roe","operator":"gt","value":20}] limit=30
fq_get_technical_indicators tickers=VNM indicators=[{"name":"rsi","window":14}]
fq_get_index_constituents index=VN30Responses:
{"ok": true, "data": ..., "meta": {"truncated": false, "row_count": 10}}{"ok": false, "code": "TIMEOUT|AUTH|SDK_ERROR|VALIDATION|INTERNAL", "message": "...", "hint": "..."}Architecture
Cursor / Claude Desktop
│ stdio
▼
uvx → fiinquant-mcp (FastMCP tools)
│
▼
FiinQuantGateway (session, timeout, re-auth, size budget)
│
▼
ops.py aliases → FiinQuantX / fiinquant SDK methodsIf your SDK method names differ, edit src/fiinquant_mcp/ops.py or run:
python scripts/inventory_fiinquant_sdk.pyFree plan limits (default)
MCP defaults match FiinQuant Trải nghiệm / Miễn phí so agent tools don't burn quota:
Limit | Free tier |
Connections | 1 (single Gateway session) |
Requests / month | 100,000 (account-side) |
Requests / minute | 90 (enforced locally) |
Requests / second | 80 (enforced locally) |
Realtime tickers / call | ≤ 33 |
History depth | ≤ 1 month (~31 days) |
Timeframes |
|
Over-limit calls return JSON VALIDATION or RATE_LIMIT with a hint — process stays up.
Upgrade? set FIINQUANT_PLAN=paid (or raise the override envs). Disable guards: FIINQUANT_ENFORCE_PLAN_LIMITS=false.
Environment
Variable | Default | Meaning |
| — | SDK username |
| — | SDK password |
|
|
|
|
| Local rate/history/ticker guards |
|
| Max |
|
| Cap per realtime-ish call |
|
| Local RPM guard |
|
| Local RPS guard |
|
| Hard timeout per call |
|
| Max table rows |
|
| Max response chars |
|
| stderr logs |
Develop
git clone https://github.com/luongndcoder/fiinquant-python-mcp.git
cd fiinquant-python-mcp
uv sync --extra dev
uv run pytest -v
uvx --from . fiinquant-mcpLicense
MIT for this wrapper only. FiinQuant SDK and market data remain under FiinQuant terms.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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