npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

groww-mcp

v1.5.0

Published

MCP server for interacting with the Groww trading API - fetch portfolio, get live quotes, place/cancel/modify orders, and more

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 stock
    • ltp: Get the last traded price for one or more stocks
    • ohlc: Get OHLC (Open, High, Low, Close) data for stocks
    • historical-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)

  1. Clone the repository:
    git clone https://github.com/venkatakaushikvemani/groww-mcp
    cd groww-mcp
  2. Install dependencies:
    npm install
    # or
    pnpm install
  3. Set environment variables: Create a .env file in the root directory and add:
    GROWW_API_KEY=your_groww_api_key_here
    PORT=3000 # or your preferred port
  4. 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