KG

karthik1729/groww-mcp

Productivity workflow
4 stars 4 forks Quality 53 Trend 12MIT

MCP server for Groww Trading API - Enables AI assistants to trade stocks, manage portfolios, and analyze markets

Overview

MCP server for Groww Trading API - Trade stocks, manage portfolios, and analyze markets through AI assistants. Generate your API access token: Groww API Documentation Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS): : %APPDATA%\Claude\claude_desktop_config.json : ~/.config/Claude/claude_desktop_config.json Ask Claude to: - "Show my portfolio" - "Get price of RELIANCE" - "Place buy order for 10 shares of TCS" - "Show my available margin"

README

Groww MCP Server

MCP server for Groww Trading API - Trade stocks, manage portfolios, and analyze markets through AI assistants.

Installation

Option 1: Install with Go

go install github.com/karthik1729/groww-mcp/cmd/server@latest

# Binary is installed as 'server', rename for clarity
mv $(go env GOPATH)/bin/server $(go env GOPATH)/bin/groww-mcp

Option 2: Download Binary

Download from GitHub Releases

Setup

1. Get Groww API Token

Generate your API access token: Groww API Documentation

Note: Token expires daily at 6:00 AM IST

2. Set Environment Variable

export GROWW_ACCESS_TOKEN="your_token_here"

3. Configure Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS):

{
  "mcpServers": {
    "groww-mcp": {
      "command": "groww-mcp",
      "env": {
        "GROWW_ACCESS_TOKEN": "your_token_here"
      }
    }
  }
}

Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json

4. Restart Claude Desktop

Usage

Ask Claude to:

  • “Show my portfolio”
  • “Get price of RELIANCE”
  • “Place buy order for 10 shares of TCS”
  • “Show my available margin”

Available Tools

Category Tools
Orders place_order, modify_order, cancel_order, get_orders
Portfolio get_holdings, get_positions
Market Data get_quote, get_ltp, get_ohlc, get_historical_data
Account get_margins, calculate_margin

Support

GitHub Issues

License

MIT


Made with ❤️ by karthik1729

View the full README on GitHub

Install

This server does not publish a one-line install command.

Open the repository installation guide New to MCP? Start with the mcpskill.org guide →

Configuration

{ "mcpServers": { "groww-mcp": { "command": "groww-mcp", "env": { "GROWW_ACCESS_TOKEN": "your_token_here" } } } }