MCP-Quant Financial Research
Click on "Deploy 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., "@MCP-Quant Financial ResearchCompare Sharpe ratios and max drawdown for AAPL and MSFT since 2020"
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.
MCP-Quant Financial Research
A provenance-aware MCP server for deterministic financial research. The LLM boundary is intentionally narrow: planning is optional, while data retrieval, validation, metrics, and risk calculations are deterministic Python operations.
Architecture
MCP client
|
+--> research(query)
| |
| +--> typed analysis plan
| +--> Yahoo Finance data + quality metadata
| +--> deterministic metrics
| +--> cited/provenance-aware report
|
+--> get_price_history(...)
+--> calculate_risk_metrics(...)
+--> research://capabilitiesRelated MCP server: MCP Financial Analyst
Run locally
source venv/bin/activate
export PYTHONPATH="$PWD/src"
python main.pyThe local smoke test does not require a Groq key. Start the MCP server over stdio with:
PYTHONPATH=src python -m financial_mcp.serverThe VS Code MCP configuration is in .vscode/mcp.json.
Test
PYTHONPATH=src pytest -qMCP surface
research(query): runs the full typed research workflow.get_price_history(symbols, start_date, end_date): retrieves adjusted prices and data-quality metadata.calculate_risk_metrics(symbols, start_date, end_date): computes cumulative and annualized returns, volatility, Sharpe ratio, drawdown, and beta.research://capabilities: describes the server guarantees.
Design decisions
No arbitrary LLM-generated code is executed.
LLM planning is disabled by default to avoid unnecessary quota usage and preserve reproducibility.
External data is returned with source, retrieval time, requested range, and quality checks.
Quantitative calculations are performed by pandas/numpy, not generated by the model.
Tool arguments are validated with Pydantic before execution.
Next research extensions
The natural next modules are a news/filings adapter, transaction-cost-aware backtesting, SQLite caching, OpenTelemetry traces, and an evaluation set measuring extraction accuracy, numerical correctness, citation completeness, latency, and token usage.
This project is for research and education, not investment advice.
Related MCP Connectors
Finance research agent for thesis, trade note, and market-state review.
Portfolio-aware finance tools: drift, risk, earnings, benchmarks, news, tax harvesting
Evidence-backed crypto due diligence with sources, freshness, and a runtime receipt on every call.
Broad, OAuth-protected provider and financial-domain API tools for research agents.
Related MCP Servers
- FlicenseBqualityNot gradedmaintenanceEnables LLMs to retrieve, analyze, and visualize stock prices and financial report data for quantitative trading research and investment analysis. Provides real-time and historical stock data, financial statement analysis, key metric calculations, and trading signal visualization.13-
- FlicenseNot gradedqualityCmaintenanceEnables financial analysis by fetching real market data from Yahoo Finance, computing moving averages, returns, and volatility, and generating price charts.-
- FlicenseAqualityBmaintenanceProvides multi-agent equity research for US markets with provenance-backed financial data from SEC EDGAR, technicals, macro, and Alpaca paper trading, enforcing risk limits and journaling theses.27-
- AlicenseNot gradedqualityBmaintenanceProvides tools to research crypto trading strategies via backtesting, walk-forward validation, and paper trading, with a deflated-Sharpe overfitting check. Enables natural-language-driven analysis and interpretation of strategy performance.3Apache 2.0