India Markets
MCP server giving AI agents NSE/BSE quotes, technical signals and valuation data
India Markets is an open-source MCP server for stock market data. It runs locally on your machine and is started by your AI client.
- Pricing
- Open source
- Platforms
- CLI, Linux, macOS
- Runs
- Locally
- Version
- 0.3.0
- Listing updated
Similar MCP servers
Install
Add with the CLI
Run in a terminal
claude mcp add india-markets-mcp -- uvx india-markets-mcpAdd --scope user to use it in every project, or --scope project to share it in .mcp.json.
Or share it with your project
Add to .mcp.json
{
"mcpServers": {
"india-markets-mcp": {
"command": "uvx",
"args": [
"india-markets-mcp"
]
}
}
}Add to claude_desktop_config.json
{
"mcpServers": {
"india-markets-mcp": {
"command": "uvx",
"args": [
"india-markets-mcp"
]
}
}
}Settings → Developer → Edit Config, then quit and reopen Claude Desktop.
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"india-markets-mcp": {
"command": "uvx",
"args": [
"india-markets-mcp"
]
}
}
}Use .cursor/mcp.json in a project to share it with the project.
Add to ~/.copilot/mcp-config.json
{
"mcpServers": {
"india-markets-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"india-markets-mcp"
]
}
}
}Or put the same entry in .mcp.json at your workspace root to share it.
Add with the CLI
Run in a terminal
codex mcp add india-markets-mcp -- uvx india-markets-mcpOr add to config.toml
Add to ~/.codex/config.toml
[mcp_servers.india-markets-mcp]
command = "uvx"
args = ["india-markets-mcp"]Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"india-markets-mcp": {
"command": "uvx",
"args": [
"india-markets-mcp"
]
}
}
}Gemini CLI and Antigravity
Gemini CLI
Add to ~/.gemini/settings.json
{ "mcpServers": { "india-markets-mcp": { "command": "uvx", "args": [ "india-markets-mcp" ] } } }Or run: gemini mcp add -s user india-markets-mcp uvx -- india-markets-mcp
Antigravity
Add to ~/.gemini/config/mcp_config.json
{ "mcpServers": { "india-markets-mcp": { "command": "uvx", "args": [ "india-markets-mcp" ] } } }Use .agents/mcp_config.json to add it to one workspace only.
Devin Desktop (formerly Windsurf)
Add to ~/.config/devin/mcp_config.json
{ "mcpServers": { "india-markets-mcp": { "command": "uvx", "args": [ "india-markets-mcp" ] } } }On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.
Cline
Add to cline_mcp_settings.json
{ "mcpServers": { "india-markets-mcp": { "command": "uvx", "args": [ "india-markets-mcp" ] } } }Open it from the MCP Servers icon → Configure → Configure MCP Servers.
Zed
Add to Zed settings.json
{ "context_servers": { "india-markets-mcp": { "command": "uvx", "args": [ "india-markets-mcp" ] } } }Open it with zed: open settings file. Merge context_servers into the settings you already have.
JetBrains AI Assistant and Junie
AI Assistant
Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add
{ "mcpServers": { "india-markets-mcp": { "command": "uvx", "args": [ "india-markets-mcp" ] } } }Junie
Add to ~/.junie/mcp/mcp.json
{ "mcpServers": { "india-markets-mcp": { "command": "uvx", "args": [ "india-markets-mcp" ] } } }Use .junie/mcp/mcp.json to share it with a project.
Kiro
Add to ~/.kiro/settings/mcp.json
{ "mcpServers": { "india-markets-mcp": { "command": "uvx", "args": [ "india-markets-mcp" ] } } }Use .kiro/settings/mcp.json to add it to one workspace only.
Using several servers? Build one config file with the MCP config generator.
About India Markets
Adds Indian equity market data to any MCP-compatible AI client. An agent can look up a ticker from a company name, pull the latest close and 52-week range, and request indicators such as RSI(14), 30-day volatility and a rule-based trend regime.
Fundamentals cover market cap reported in crore rupees, P/E, P/B, ROE, debt-to-equity and dividend yield, along with side-by-side comparisons and median sector peer valuation. Indices like NIFTY, BANKNIFTY and SENSEX are supported directly, and the server returns null for missing values instead of estimating them.
It is aimed at developers and analysts who want an agent to report facts about Indian stocks. Data is sourced through Yahoo Finance, so it can be delayed or rate-limited and is intended for research rather than trading systems.
Tools this server provides (7)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 4 of 7 tools read data; 3 names don't say.
From the server's own tool labels and tool names; not verified by us.
- search_symbolName suggests: reads
- Find a ticker from a company name across NSE/BSE equities, indices and ETFs.
- get_quoteName suggests: reads
- Latest close, daily change, 52-week range, volume.
- get_signalsName suggests: reads
- RSI(14), 30-day volatility, max drawdown, 12-1 momentum, rule-based trend regime.
- compare_symbols
- Rank 2-10 symbols by return, with volatility and drawdown.
- get_fundamentalsName suggests: reads
- Market cap in crore, P/E, P/B, ROE, debt/equity, dividend yield, sector.
- compare_fundamentals
- Side-by-side valuation of 2-10 symbols, cheapest P/E first.
- sector_peers
- Large-cap vs hand-picked same-sector peers median P/E and P/B.
What it does
- Ticker name search
- Finds NSE and BSE symbols, indices and ETFs from a company name.
- Live quote snapshot
- Returns latest close, daily change, 52-week range and volume.
- Technical signal set
- Computes RSI, volatility, max drawdown, momentum and a trend regime with its rule text.
- Valuation comparison
- Compares market cap, P/E, P/B, ROE and debt-to-equity across several symbols.
- Sector peer benchmark
- Shows a large-cap's P/E and P/B against a median of same-sector peers.
- Read-only tool annotations
- Tools are marked read-only so clients can call them without repeated confirmation.
Good for
- Checking the current price and 52-week position of an Indian stock inside a chat
- Comparing valuation multiples across companies in the same sector
- Ranking several NSE or BSE symbols by return and drawdown
- Building a facts-only market briefing for a portfolio review
Pricing
Open source
Free and MIT licensed; runs locally.
India Markets FAQ
Does India Markets need an API key?
No API keys are required; it runs over stdio after installing from PyPI.
How is India Markets installed?
Through uvx or pip, using the india-markets-mcp package with a command entry in the MCP client config.
What happens when data is missing?
Missing fundamentals or values are returned as null rather than guessed.
Where does the market data come from?
It uses the unofficial yfinance library, which pulls data from Yahoo Finance.
Is India Markets free?
Yes. India Markets is open source, so you can use and self-host it for free.
How do I add India Markets to Claude Code?
Run this command in your terminal: claude mcp add india-markets-mcp -- uvx india-markets-mcp
What are the best alternatives to India Markets?
The closest alternatives to India Markets are Indian Stock Exchange, Indian NSE Stock Insights, India Stock MCP, Portfolio Signals and FinStack MCP.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.