Quant Research Assistant
Provides financial news sentiment analysis by fetching and processing headlines from Google Finance RSS feeds.
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., "@Quant Research Assistantanalyze AAPL's risk metrics and market regime"
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.
π Quant Research Assistant β MCP Server & Claude Plugin
A one-stop quantitative-finance toolkit that gives Claude live financial reasoning β price & risk analysis, strategy backtesting, HMM market-regime detection, options greeks, fundamentals & DCF valuation, news sentiment, regime-aware Monte Carlo, pairs trading, Fama-French factor attribution, portfolio optimisation, and a single composite quant score. Every data source is free β no API keys.
Built by Rohan Inamdar Β· imrohaninamdar.com Β· GitHub
What makes this different
Most quant tools give you a notebook or a dashboard. This gives Claude live financial reasoning: you talk to it in plain English, it calls production-grade financial tools under the hood, returns charts and structured data, and narrates the results.
Two standout, non-library features:
HMM Market Regime Detection β an unsupervised Gaussian Hidden Markov Model trained on return, realised-volatility, momentum and z-score features that classifies market states (Bull / Bear / High-Volatility / Sideways) in real time.
Regime-aware Monte Carlo β forward price simulation that switches between calm and stressed regimes using the HMM's transition matrix, so the downside tail looks like real markets instead of a tidy bell curve.
Related MCP server: tradingview-mcp
Tools (20)
Analysis
Tool | What it does |
| OHLCV fetch with candlestick + Bollinger + volume chart |
| Sharpe, Sortino, Calmar, VaR, CVaR, beta, Jensen's alpha, skew, kurtosis |
| Vectorised SMA / RSI / Momentum / MACD vs buy-and-hold |
| Gaussian HMM regime classification + transition matrix + posteriors |
| Max-Sharpe, Min-Vol, Risk-Parity + efficient frontier + correlation heatmap |
| FRED macro indicators (rates, CPI YoY, VIX, yield curve) + rolling correlation |
| IV skew, put/call ratio, max pain, IV term structure, in-house Black-Scholes greeks |
| Ratios + two-stage DCF / reverse-DCF + Piotroski F-Score + Altman Z-Score |
| Multi-source news headline sentiment (VADER over yfinance + Yahoo/Google RSS) |
| Regime-aware / GBM / bootstrap forward simulation, fan chart, hit-probability, projected VaR |
| RSI, MACD, Bollinger, ADX, Stochastic, ATR, OBV, S/R, patterns β composite signal |
| Engle-Granger + ADF cointegration, hedge ratio, half-life, z-score backtest |
| Fama-French 3-factor + momentum regression (betas, alpha, RΒ², contributions) |
| One 0β100 score + Strong-BuyβStrong-Sell verdict blending all lenses |
Persistent state
add_to_watchlist Β· remove_from_watchlist Β· show_watchlist Β· save_portfolio_tool Β· load_portfolio_tool Β· list_portfolios_tool
Slash command
/quant-deep-dive <TICKER> β chains the tools into one narrated deep-dive report.
Architecture
Claude (MCP client)
β MCP protocol
βΌ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β MCP Server (Python / FastMCP) β 20 tools β
β prices Β· metrics Β· backtest Β· regime Β· portfolio Β· macro β
β options Β· fundamentals Β· sentiment Β· montecarlo β
β technicals Β· pairs Β· factors Β· score Β· watchlist β
β Shared compute: pandas Β· numpy Β· scipy Β· hmmlearn Β· β
β scikit-learn Β· statsmodels β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β
βΌ data sources (all free, no keys)
ββββββββββ ββββββββββββ ββββββββββββββββββ βββββββββββββββββ ββββββββββββββ
βyfinanceβ β FRED CSV β β Ken French Lib β β Yahoo/Google β βSQLite cacheβ
β(prices,β β (macro) β β (FF factors) β β RSS (news) β β+watchlist β
βoptions,β ββββββββββββ ββββββββββββββββββ βββββββββββββββββ ββββββββββββββ
βfund.) β
ββββββββββQuick start
1. Install
git clone https://github.com/irohan0/quant-mcp.git
cd quant-mcp
python -m venv .venv && . .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt2. Run the MCP server
python server.py3a. Use as a Claude Code plugin (recommended: clone + local marketplace)
The tools run a local Python process, so the machine needs the dependencies. The reliable
install is to clone, build the .venv (step 1 above), then add the local checkout as a marketplace:
/plugin marketplace add /path/to/quant-mcp # CLAUDE_PLUGIN_ROOT β your checkout (has .venv)
/plugin install quant-research-assistantThe 20 tools and the /quant-deep-dive command then appear in your session. Verify with
claude mcp list β look for plugin:quant-research-assistant β¦ β Connected.
Why local (not a bare GitHub-marketplace install): the plugin's MCP config (mcp-config.json) launches
${CLAUDE_PLUGIN_ROOT}/.venv/Scripts/python.exe. A local-path install pointsCLAUDE_PLUGIN_ROOTat your checkout, where the.venvlives. A puremarketplace add <github-url>clones the repo without the (git-ignored).venv, so the server has no interpreter. If you install from GitHub, create a.venv+pip installinside the plugin's cache dir, or edit itsmcp-config.jsonto point at a Python that has the deps. On macOS/Linux change the path to${CLAUDE_PLUGIN_ROOT}/.venv/bin/python.
3b. Use with Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"quant-research-assistant": {
"command": "/path/to/quant-mcp/.venv/bin/python",
"args": ["/path/to/quant-mcp/server.py"]
}
}
}4. (Optional) Gradio web UI for demos
python web/app.py # http://localhost:7860 β a tab per toolExample prompts
"Give me the quant score for NVDA and explain the breakdown"
"/quant-deep-dive AAPL"
"Run a regime-aware Monte Carlo on TSLA for the next quarter β what's the
probability it reaches $400, and what's the projected downside?"
"Show me AAPL's options: IV skew, put/call positioning, max pain and ATM greeks"
"Is KOβPEP cointegrated, and what does the pairs backtest look like?"
"What are SPY's Fama-French factor exposures and alpha over 3 years?"
"Build a max-Sharpe portfolio from AAPL, MSFT, GOOGL, SPY, BND, GLD and save it as 'core'"Running tests
pytest tests/ -v # 51 unit tests, fully network-free (synthetic data + mocks)Tech stack
MCP:
mcp[cli](FastMCP)Data (all free):
yfinance(prices, options, fundamentals), FRED CSV, Ken French Data Library, Yahoo/Google Finance RSSCompute:
pandas,numpy,scipy,statsmodelsML:
hmmlearn(Gaussian HMM),scikit-learnSentiment:
vaderSentiment,feedparserCharts:
matplotlib(dark theme, base64 PNG)Web UI:
gradioCache & state:
sqlite3(price cache + watchlist/portfolios)
Project structure
quant-mcp/
βββ server.py β MCP server (registers all 20 tools)
βββ mcp-config.json β MCP server config (referenced by the plugin)
βββ .claude-plugin/
β βββ plugin.json β Claude Code plugin manifest
β βββ marketplace.json β single-plugin marketplace
βββ commands/
β βββ quant-deep-dive.md β /quant-deep-dive slash command
βββ tools/
β βββ utils.py β caching, fetch, FRED, chart helpers
β βββ prices.py metrics.py backtest.py regime.py portfolio.py macro.py
β βββ options.py fundamentals.py sentiment.py montecarlo.py
β βββ technicals.py pairs.py factors.py score.py watchlist.py
βββ web/app.py β Gradio web UI (tab per tool)
βββ tests/test_tools.py β 51 network-free unit tests
βββ pyproject.tomlNotes
All data sources are free β no API keys required.
Charts are base64-encoded PNGs in the
chart_png_b64field β render them for the user.SQLite cache avoids redundant fetches (12h TTL for prices, 24h for fundamentals/factors).
yfinance and RSS are scrapers; tools degrade gracefully when a source is unavailable.
Educational only β past performance does not guarantee future results.
License
MIT Β© Rohan Inamdar
This server cannot be installed
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
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/irohan0/quant-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server