MCP server for Indian stock market analysis — fundamentals, technicals, DCF, peer comparison
MCP server for Indian stock market analysis — fundamentals, technicals, DCF, peer comparison. Exposed over MCP by the stock mcp server, that capability becomes something an assistant can invoke while it works, not something you go and do afterwards.
The server ships on PyPI as stock-analyst-mcp, so your MCP client can launch it on demand — there is no separate build step. Add the server block to your client's configuration, restart it, and the tools register themselves.
Everything the assistant can do here goes through one of these:
analyze_stock — Full analysis: fundamentals + technicals + peers + DCF + forecast + newsget_fundamentals — Financial ratios: profitability, liquidity, leverage, efficiency, valuationget_technicals — Technical signals: EMA trend, RSI, MACD, Bollinger positionget_peer_comparison — Peer fundamental + technical metrics with rankingsget_dcf_valuation — DCF: WACC (India-adjusted), equity value/share, sensitivity rangeget_revenue_forecast — Revenue forecast: base/bull/bear scenariosget_news — Recent headlines + analyst recommendation summarycompare_stocks — Side-by-side comparison of multiple stocksget_raw_data — Fetch cached raw financials for deep divesget_config — View current configuration settings for all analysis toolsset_config — Update configuration settings dynamically (e.g., technical analysis period)Key — TypeYou will need one environment variable: SA_REDIS_URL. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Stock's toolset — analyze_stock, get_fundamentals, get_technicals and 11 more — is a fair guide to whether it matches your workflow. It is maintained by Stock Analyst Contributors; worth a glance at recent repository activity before you build anything load-bearing on it.
We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.
| Tool | What it does |
|---|---|
| analyze_stock | Full analysis: fundamentals + technicals + peers + DCF + forecast + news |
| get_fundamentals | Financial ratios: profitability, liquidity, leverage, efficiency, valuation |
| get_technicals | Technical signals: EMA trend, RSI, MACD, Bollinger position |
| get_peer_comparison | Peer fundamental + technical metrics with rankings |
| get_dcf_valuation | DCF: WACC (India-adjusted), equity value/share, sensitivity range |
| get_revenue_forecast | Revenue forecast: base/bull/bear scenarios |
| get_news | Recent headlines + analyst recommendation summary |
| compare_stocks | Side-by-side comparison of multiple stocks |
| get_raw_data | Fetch cached raw financials for deep dives |
| get_config | View current configuration settings for all analysis tools |
| set_config | Update configuration settings dynamically (e.g., technical analysis period) |
| Key | Type |
| default_period | str |
| ta_rsi_period | int |
{
"mcpServers": {
"stock-analyst": {
"command": "uvx",
"args": ["stock-analyst-mcp"]
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| SA_REDIS_URL | Endpoint or connection string the server talks to. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.