Agenten stärken
Installation vom Herausgeber. Kein PlugMCP-Endpunkt.
Host a copy with our keys and logs.
Noch kein paketiertes Release in der Registry. Folgen Sie der README des Repositorys.
Remote-URL oder ein Befehl auf Ihrem Rechner? Worin sich die beiden Installationen unterscheiden
Auf PlugMCP ausführen
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
StartenThe most complete MCP server for Groww — 25 tools, automated TOTP auth, smart orders (GTT/OCO), option chain with Greeks, and local instrument search. No other Groww MCP has all of these.
A Model Context Protocol (MCP) server that connects AI assistants (Claude, GPT, Gemini) to the Groww trading platform. Trade stocks, manage your portfolio, place F&O orders, and access live market data — all through natural language.
Built with Ruby, powered by the official MCP Ruby SDK.
Install from RubyGems:
gem install groww-mcp
Or run from source:
git clone https://github.com/developerjai/groww-mcp.git
cd groww-mcp
bundle install
cp .env.example .env
Edit .env with your Groww credentials (see Authentication below).
Add to your .mcp.json:
{
"mcpServers": {
"groww": {
"type": "stdio",
"command": "groww-mcp",
"env": {
"GROWW_TOTP_KEY": "your_totp_key",
"GROWW_TOTP_SECRET": "your_totp_secret"
}
}
}
}
Or use with Claude Desktop — add to claude_desktop_config.json:
{
"mcpServers": {
"groww": {
"command": "groww-mcp"
}
}
}
Running from source instead of the gem? Use
"command": "ruby", "args": ["/path/to/groww-mcp/bin/groww-mcp"].
Groww MCP supports 3 authentication methods. Choose the one that fits your workflow:
Fully automated. No daily manual steps. The server generates access tokens automatically using a TOTP secret.
Go to groww.in → Log in
Navigate to Profile → Settings → Trading APIs
Click "Generate API key" dropdown → "Generate TOTP token"
You'll get two values:
eyJ...) → This is your GROWW_TOTP_KEYUG3X...) → This is your GROWW_TOTP_SECRETAdd to your .env:
GROWW_TOTP_KEY=eyJraWQi...your_totp_jwt_key
GROWW_TOTP_SECRET=UG3XTATB22XLH5SGGLHHV736PEOYUZSB
That's it. The server will automatically generate fresh access tokens on every startup. No manual steps, no daily website visits.
Requires daily approval on the Groww website before the server can generate tokens.
.env:GROWW_API_KEY=eyJraWQi...your_api_key
GROWW_API_SECRET=your_api_secret
For quick testing. Token expires daily at 6:00 AM IST.
.env:GROWW_ACCESS_TOKEN=eyJraWQi...your_access_token
⚠️ You'll need to regenerate this token every day before 6:00 AM IST.
GTT (Good Till Triggered): Automatically places an order when price hits your target. OCO (One Cancels Other): Sets both stop-loss AND target — whichever hits first executes.
Market data tools require the Groww Live Data subscription (₹499 + GST/month). Without it, these tools will return a clear error message explaining how to subscribe.
Instrument lookup runs locally against Groww's public instruments CSV (cached for 24h) — fast, and no Live Data subscription needed.
Note on backtesting: the Groww API does not offer a backtesting endpoint, so this server doesn't ship a
run_backtesttool. Useget_historical_datato pull candles and let your AI assistant run the analysis.
Once connected, you can use natural language with your AI assistant:
"Show me my current holdings"
"What's my available margin?"
"Place a limit buy order for 10 shares of RELIANCE at ₹2,800"
"Cancel order ORD123456"
"Get the current price of INFY" (requires Live Data subscription)
groww-mcp/
├── bin/
│ └── groww-mcp # Executable entry point
├── lib/
│ ├── groww_mcp.rb # Main module, tool registry (25 tools)
│ └── groww_mcp/
│ ├── version.rb # Gem version
│ ├── auth.rb # 3-method authentication (TOTP, approval, manual)
│ ├── client.rb # Groww API client (net/http, correct endpoints)
│ ├── base_tool.rb # Shared tool helpers
│ └── tools/
│ ├── auth_tools.rb # authenticate
│ ├── portfolio_tools.rb # holdings, positions, margins
│ ├── order_tools.rb # place, modify, cancel, list, detail
│ ├── smart_order_tools.rb # GTT, OCO (create, modify, cancel, list)
│ ├── market_tools.rb # quote, LTP, OHLC, historical
│ ├── option_chain_tools.rb # option chain, Greeks, order trades
│ ├── instrument_tools.rb # local search, detail, CSV download
│ └── user_tools.rb # profile
├── .env.example # Configuration template
├── Gemfile # Dependencies
├── groww-mcp.gemspec # Gem specification
├── LICENSE # MIT
└── README.md # This file
Looking for alternatives? Here's every Groww MCP server available:
This project is built on top of the Groww Trade API to make algorithmic and AI-assisted trading accessible to every Groww user.
@AskGroww — If you're from the Groww team, I'd love to collaborate. This MCP server makes your Trade API accessible to every AI assistant (Claude, GPT, Gemini) through the open MCP standard. Let's make Groww the most AI-friendly broker in India.
Contributions are welcome! Whether it's a bug fix, new tool, documentation improvement, or feature idea — all PRs are appreciated.
See CONTRIBUTING.md for guidelines.
Some ideas to get started:
Building AI-powered tools for Indian markets.
🚀 The most complete MCP server for Groww — 25 tools, ⚡ automated TOTP auth, GTT/OCO smart orders, 📈 option chain with Greeks, backtesting. 🤖 Connect any AI assistant to your Groww trading account.
Tools
Noch keine Tool-Liste. Remote-Server erhalten eine nach dem ersten Health-Check.
FAQ
Kopieren Sie auf dieser Seite die stdio-Konfiguration für Cursor, Claude Desktop, Claude Code oder VS Code. Sie nutzt die Installation des Herausgebers, keinen PlugMCP-Proxy.
In diesem Eintrag ist keine erforderliche Umgebungsvariable aufgeführt.
Groww läuft lokal über stdio.
Zuletzt geprüft: 2026-10-28. 🚀 The most complete MCP server for Groww — 25 tools, ⚡ automated TOTP auth, GTT/OCO smart orders, 📈 option chain with Greeks, backtesting. 🤖 Connect any AI assistant to your Groww trading account.