groww-mcp
Click on "Deploy 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., "@groww-mcp Show my portfolio summary and today's top gainers"
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.
____ ____ ___ _ _ _ _ _ _ __ __ ____ ____
/ ___|/ ___| / _ \| | | | | | | | \/ |/ ___|/ _ |
| | _| |___ | | | | | | | | | | __ | |\/| | | | |_) |
| |_| |\___ \| |_| | |_| |_| |/ / | | | | | |___| __/
\____|____/ \___/ \_____/|___/ |_| |_| \____|_|Trade on Groww. Through Claude.
What is this
An MCP server that connects Claude Desktop to Groww's trading platform. It registers 23 tools that let you manage equity holdings, place buy/sell orders, track live market data, run SIPs, and invest in mutual funds -- all through natural language prompts in Claude. Supports a full mock mode for demos without touching real money.
Related MCP server: Groww MCP Server
Architecture
┌──────────────────┐ stdio / MCP ┌──────────────────────┐
│ │ ────────────────────────────> │ │
│ Claude Desktop │ │ groww-mcp │
│ (MCP Client) │ <──────────────────────────── │ (MCP Server) │
│ │ tool results (text) │ │
└──────────────────┘ └──────────┬───────────┘
│
│ HTTPS
│ axios + retry
v
┌──────────────────────┐
│ Groww API │
│ (or mock layer) │
└──────────────────────┘
┌──────────────────────────────────────────┐
│ Registered Tools │
├────────────┬───────────┬─────────────────┤
│ portfolio │ orders │ market │
│ positions │ watchlist│ quotes │
│ holdings │ modify │ OHLC │
├────────────┼───────────┼─────────────────┤
│ SIP │ funds │ search │
│ create │ invest │ top movers │
│ pause/stop │ details │ status │
└────────────┴───────────┴─────────────────┘Quickstart
1. Clone and build
git clone https://github.com/darved2305/groww-mcp.git
cd groww-mcp
npm install
cp .env.example .env # add your GROWW_API_TOKEN or leave MOCK_MODE=true
npm run build2. Register with Claude Desktop
Open your claude_desktop_config.json and add:
{
"mcpServers": {
"groww": {
"command": "node",
"args": ["/absolute/path/to/groww-mcp/dist/index.js"],
"env": {
"MOCK_MODE": "true",
"GROWW_API_TOKEN": "your_token_here"
}
}
}
}3. Restart Claude Desktop. You're done.
Tools
23 tools across 6 domains.
Portfolio
# | Tool | Description | Params |
1 |
| Current equity holdings with P&L | -- |
2 |
| Invested, current value, day P&L | -- |
3 |
| Intraday open positions | -- |
4 |
| Past orders, filterable by date |
|
Market
# | Tool | Description | Params |
5 |
| LTP, bid/ask, volume for symbol |
|
6 |
| Fuzzy search stocks by name/ticker |
|
7 |
| OHLC candles, 1d/1w/1m/1y |
|
8 |
| Top 5 gainers and losers | -- |
9 |
| NSE/BSE open or closed | -- |
Orders
# | Tool | Description | Params |
10 |
| BUY/SELL, MARKET/LIMIT, CNC/MIS |
|
11 |
| Cancel a pending order |
|
12 |
| Change price or quantity |
|
13 |
| Real-time order status |
|
Watchlist
# | Tool | Description | Params |
14 |
| All watchlist symbols with LTP | -- |
15 |
| Add a symbol |
|
16 |
| Remove a symbol |
|
SIP
# | Tool | Description | Params |
17 |
| All active SIPs with next date | -- |
18 |
| New SIP: fund, amount, frequency |
|
19 |
| Pause an active SIP |
|
20 |
| Cancel SIP permanently |
|
Mutual Funds
# | Tool | Description | Params |
21 |
| Search by name, category, AMC |
|
22 |
| NAV, AUM, expense ratio, returns |
|
23 |
| One-time lumpsum investment |
|
Example Prompts
"What's my current portfolio P&L today?"
"Buy 10 shares of RELIANCE at market price"
"Show me top gainers on NSE right now"
"Start a 5000/month SIP in Mirae Asset Large Cap"
"Cancel all my pending orders"
Environment Variables
Variable | Required | Default | Description |
| Yes* | -- | Groww API token for authentication |
| No |
| Base URL for the Groww API |
| No |
| Set to |
| No |
| Runtime environment |
*Not required when MOCK_MODE=true.
Mock Mode
The server ships with a full mock data layer. Set MOCK_MODE=true in your environment and every tool returns realistic hardcoded data using real Indian stocks (RELIANCE, TCS, INFY, HDFCBANK, ICICIBANK, WIPRO, BAJFINANCE) and real mutual fund schemes. No Groww account needed. No API calls made.
MOCK_MODE=true node dist/index.jsWARNING
This software can place real trades and move real money.
A poorly worded prompt can trigger a market order. A misunderstood confirmation can invest your savings in the wrong fund. The mock mode exists specifically so you don't learn this the hard way.
Use MOCK_MODE=true until you are absolutely certain. Test with small amounts first. The authors of this project accept zero responsibility for financial losses incurred through use of this tool.
License
MIT
Available Tools
23 toolsadd_to_watchlistC
Add a stock symbol to your watchlist
Inputs: symbol (required), exchange.
cancel_orderC
Cancel a pending order by order ID
Inputs: order_id (required).
cancel_sipC
Cancel a SIP permanently
Inputs: sip_id (required).
create_sipC
Create a new SIP with fund ISIN, amount, frequency, and start date
Inputs: isin (required), amount (required), start_date (required), frequency.
get_fund_detailsA
NAV, AUM, expense ratio, returns (1y/3y/5y), risk grade for a mutual fund
Inputs: isin (required).
get_holdingsB
Fetch all current equity holdings with avg buy price, current value, P&L %
Inputs: no named parameters.
get_market_statusA
Check if NSE/BSE is currently open for trading
Inputs: no named parameters.
get_ohlc_dataC
OHLC candles for a symbol — supports 1d/1w/1m/1y intervals
Inputs: symbol (required), exchange, interval.
get_order_historyB
Past orders with status, optionally filter by date range
Inputs: start_date, end_date.
get_order_statusC
Real-time status of a specific order
Inputs: order_id (required).
get_portfolio_summaryC
Total invested, current value, total P&L, day's P&L
Inputs: no named parameters.
get_positionsB
Intraday open positions with unrealized P&L
Inputs: no named parameters.
get_quoteC
LTP, bid/ask, open, high, low, volume for a symbol (NSE/BSE)
Inputs: symbol (required), exchange.
get_top_moversB
Top 5 gainers and losers for the day
Inputs: no named parameters.
get_watchlistB
List all watchlist symbols with LTP and day change
Inputs: no named parameters.
invest_in_fundC
One-time lumpsum investment in a mutual fund
Inputs: isin (required), amount (required).
list_sipsB
All active SIPs with fund name, amount, next date
Inputs: no named parameters.
modify_orderC
Modify price/quantity of a pending limit order
Inputs: order_id (required), quantity, price, trigger_price.
pause_sipC
Pause an active SIP temporarily
Inputs: sip_id (required).
place_orderB
Place BUY/SELL order — supports MARKET/LIMIT, CNC/MIS/NRML product types
Inputs: symbol (required), order_type (required), quantity (required), exchange, +4 more.
remove_from_watchlistC
Remove a stock symbol from your watchlist
Inputs: symbol (required), exchange.
search_fundsC
Search mutual funds by name, category, or AMC
Inputs: query (required), category, amc.
search_stocksC
Fuzzy search stocks and MFs by name or ticker
Inputs: query (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 23 tools
Each tool has a clearly distinct purpose with no significant overlap. For example, get_quote provides real-time price data, get_ohlc_data offers historical chart data, and get_fund_details focuses on mutual fund metrics. Even related tools like place_order and modify_order are clearly differentiated by their specific actions.
All tools follow a consistent verb_noun naming pattern (e.g., get_quote, place_order, search_funds). The verbs are appropriately descriptive (get, add, cancel, create, etc.) and the nouns clearly identify the target resource, creating a highly predictable and readable naming convention throughout the set.
With 23 tools, the count is slightly high but reasonable for a comprehensive trading and investment platform covering stocks, mutual funds, orders, SIPs, and watchlists. Each tool appears to serve a specific, necessary function without obvious redundancy, though the number approaches the upper limit of what feels well-scoped.
The tool set provides complete coverage for core trading and investment workflows. It includes market data (quote, OHLC, status), order management (place, modify, cancel, history), portfolio tracking (holdings, summary, positions), mutual fund operations (invest, SIP management, search), and watchlist management. No obvious gaps exist for the domain.
Related MCP Connectors
Trading MCP server for AI agents, with live market data, account reads and controlled execution.
Open-source MCP server for Zerodha Kite Connect. Portfolio, market data, backtesting, alerts.
Hosted MCP server for Indian NSE/BSE stock research: 59 tools for quotes, financials and ratios, peers, shareholding and pledge, filings with extracted facts, screens, F&O and FII/DII context. Source and freshness on every answer; no buy/sell calls.
MCP server for stocksense-ai documentation, generated by doc2mcp.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables interaction with Interactive Brokers TWS/Gateway via natural language for portfolio management and market data retrieval. It provides tools for account summaries, historical data, and a secure two-step confirmation process for placing and canceling orders.6MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server for the Groww trading platform. This enables LLM applications to interact with your Groww trading account.5-
- FlicenseNot gradedqualityDmaintenanceAn MCP server for Zerodha Kite Connect that enables AI agents to execute trades, manage portfolios, fetch market data, and perform technical and fundamental analysis.-
- FlicenseNot gradedqualityDmaintenanceAn MCP server that lets a language model place real equity orders on a live Groww brokerage account.-