MCP-Quant Financial Research
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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.
This server cannot be deployed
Maintenance
Related MCP Connectors
Backtest and analyze any portfolio, incl. nested multi-strategy ones: returns, risk, factors, guides
Finance research agent for thesis, trade note, and market-state review.
AI research on U.S. stocks, ETFs and crypto. Read your research reports and the method behind each analysis, and ask SAGE to price and start new research. Figures are computed in code on licensed market data, with sources listed. Research, not investment advice.
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 gradedqualityDmaintenanceEnables 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.2Apache 2.0