Groww MCP Server
Enables interaction with the Groww trading platform to fetch portfolio data, get live stock quotes and historical market data, and place, modify, or cancel stock orders through natural language commands.
README
Groww MCP Server
This project provides an MCP (Multi-Channel Platform) server for interacting with the Groww trading API. It allows you to fetch portfolio data, get live quotes, place/cancel/modify orders, and more, all via a unified API interface.
Features
- Fetch your current portfolio
- Get live stock quotes and OHLC data
- Place, modify, and cancel stock orders
- Fully typed and validated with Zod schemas
Available Tools
portfolio
Fetches the user's current portfolio holdings, including trading symbol, quantity, and average price. Use this tool to view your current investments.
- Actions:
get: Get the current portfolio
- Sample Prompt:
Show my portfolio
place_order
Place a new stock order (buy/sell). Use this tool to execute trades on Groww.
- Sample Prompts:
Place a buy order for 10 shares of TATAMOTORS Buy 10 shares of SADHNANIQ at market price
modify_order
Modify an existing stock order. Use this tool to update quantity, price, or trigger price of a pending order.
- Sample Prompts:
Modify my order for BPL to 20 shares Update the price of my order to 100 rupees
cancel_order
Cancel an existing stock order. Use this tool to cancel a pending order on Groww.
- Sample Prompts:
Cancel my latest order for BPL Cancel order with ID ABC123
order_status
Get the status of a stock order. Use this tool to check the current status, filled quantity, and other details of an order.
- Sample Prompts:
What is the status of my last order? Check the status of order ABC123
market-data
Fetch live quotes, last traded prices (LTP), OHLC, or historical candle data for stocks. Use this tool to get real-time or historical market data.
- Actions:
live-quote: Get live quote data for a specific stockltp: Get the last traded price for one or more stocksohlc: Get OHLC (Open, High, Low, Close) data for stockshistorical-candle: Fetch historical candle data (Open, High, Low, Close, Volume) for a stock for a given time range and interval
- Sample Prompts:
Get the live quote for TATAMOTORS What is the last traded price of BPL and HFCL? Show me the OHLC data for TATAMOTORS Show me the historical candle data for TATAMOTORS for the last 1 day Fetch 5-minute historical candles for TATAMOTORS from 2024-06-01 09:15:00 to 2024-06-01 15:30:00
Requirements
- Node.js v18 or later
- A valid Groww API key
Setup (Local)
- Clone the repository:
git clone https://github.com/venkatakaushikvemani/groww-mcp cd groww-mcp - Install dependencies:
npm install # or pnpm install - Set environment variables:
Create a
.envfile in the root directory and add:GROWW_API_KEY=your_groww_api_key_here PORT=3000 # or your preferred port - Start the server:
npm start # or pnpm start
Use with Cursor / Claude / Windsurf
mcp.json
{
"mcpServers": {
"groww-mcp": {
"command": "pnpm",
"args": ["dlx", "groww-mcp"],
"env": {
"GROWW_API_KEY": "YOUR_GROWW_API_KEY"
}
}
}
}
Usage
- The server exposes intent-based tools for portfolio, market data, and order management.
- See the code in
src/groww/tools/for available tools and their parameters.
Contributing
Pull requests and issues are welcome! Please open an issue to discuss your ideas or report bugs.
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.