Groww MCP package
Project description
How to Set Up GrowwMCP with Claude Desktop
This guide will help you connect your GrowwMCP to Claude Desktop, allowing you to analyse your portfolio, placing orders, analyse market and lot more using simple chat commands.
Step 1: Install Prerequisite Software
To get started, please install the following applications on your computer.
-
Python 3.10: [! Required, it is mandatory to use python 3.10, the package isn't supported by python version <= 3.9]
- Install Python by following the official guide at this URL:
- https://www.python.org/downloads/release/python-31018/
-
uv (A Python Package Installer):
- Use the official documentation at the following link to install
uv: - https://docs.astral.sh/uv/getting-started/installation/
- Use the official documentation at the following link to install
Important: Mac users should install Python and uv using the command below. (If you do not have administrative privileges, please contact your IT Administrator). Do not try
pip install uvto avoid unexpected behavior
brew install uv
brew install python@3.10
- Install the Claude Desktop Application
- Obtain the installer for your specific operating system from https://claude.ai/download and execute it. (Administrator permissions are necessary). [On macOS, this will download as a .dmg file. Double-click it to launch the installer.]
Important: It is recommended to use administrator/root privileges when installing the above tools. This will help ensure that Claude can locate and utilize them correctly.
Step 2: Get Your Groww API Credentials
To connect Claude to your Groww account, you need special keys. You must first have access to the Groww API.
- Visit the Groww API documentation to get your API Key, API Secret, and set up your TOTP secret.
- Keep these keys safe and ready for the next step.
Step 3: Configure Claude Desktop
Now, you will tell Claude Desktop how to run the Groww tool.
-
Open your Claude Desktop configuration file.
- For help finding this file, see the official guide here (you do not need to install Node.js): https://modelcontextprotocol.io/quickstart/user
-
In the configuration file, find the
mcpServerssection and add the following code inside it:{ "mcpServers": { "growwmcp": { "command": "uv", "args": [ "run", "--python", "3.10", "--with", "growwmcp", "python", "-m", "growwmcp", "--stdio" ], "env": { "GROWW_API_KEY": "<your api key here>", "GROWW_API_SECRET": "<your api secret here>" } } } }
-
Replace
<your api key here>and<your api secret here>with the actual keys you got from Groww in Step 2. -
Save and close the configuration file.
Step 4: Verify the Setup
-
Restart your Claude Desktop application.
-
Check the "Search & Tools" section in Claude. You should see growwmcp listed as an available tool.
- Note: It may take 10-15 seconds for the tool to appear the first time while it sets up.
Step 5: Start Using the Groww Tool
Once confirmed, you can start chatting with Claude to manage your portfolio. Try commands like but not limited to:
Place an order for 5 units of Reliance stockFind next Thursday's NIFTY 25000 PE contractWhat is my current portfolio value?
(Optional) For Better Responses
You can help Claude understand how to use the Groww tool more effectively by adding a system prompt.
- In the Claude Desktop chat interface, click the
+button. - Find the
growwmcpsection and click "Add" next toprompt_template_prompt.
This will give Claude better instructions, leading to more accurate results. You are all set
Security/Vulnerability
This package is supposed be run by a mcp supported tool (i.e. claude desktop) so ensure you trust claude desktop with your data, and keep your
<your api key here>and<your api secret here>safe.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file growwmcp-0.1.0.tar.gz.
File metadata
- Download URL: growwmcp-0.1.0.tar.gz
- Upload date:
- Size: 40.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5c932a1fb55e5d09965bb84d21291871df7d3e64dbbbf55426b8eb90ee00f15
|
|
| MD5 |
7e09430efa0b54cea4e97aa2a5a3268d
|
|
| BLAKE2b-256 |
88944af185370e02a94738c85973cad8b4914a40bb9925ae71d8499aadcf007e
|
File details
Details for the file growwmcp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: growwmcp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 42.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ac7f4bff4b11df35ab9b97673cbcd6e3607844e7bce1a6440b86ac25620a5eb1
|
|
| MD5 |
d37a350c9501538cfd382578d752de50
|
|
| BLAKE2b-256 |
671d9a8ee10b52eb05991bd9a53e8cbab210d822d8c8c76cf33ca9ed30dc63be
|