
Groww用Python MCP。默认是SSE(http)连接。只需将一个词改为本地使用STDIO。
概览
这个项目将你的Groww交易账户连接到Claude(或任何支持MCP的AI)。设置好后,你可以直接在Claude中输入“我当前的投资组合价值是多少?”或“显示NIFTY的期权链”——无需再切换标签页。 模型上下文协议(MCP)是一个开放标准,允许AI助手连接外部工具和实时数据。可以把它看作是一个插件,将Claude连接到你的Groww账户。 一旦连接,Claude 就能访问你整个 Groww 账户的访问权限: - groww_get_profile — 您的Groww账户档案 - groww_get_balance — 可用保证金和现金余额 - groww_get_holdings — 所有股票持仓 - groww_get_positions — 实弹头寸(现金或FNO) - groww_place_order — 市价、限价、SL、SL-M订单 - groww_modify_order — 编辑待处理订单 - groww_cancel_order — 取消未结订单 - groww_create_smart_order — GTT或OCO智能订单 - groww_cancel_smart_order — 取消智能订单段 - groww_get_smart_order_list — 查看所有活跃订单......
概述(AI 翻译)
向Claude提问关于你的Groww账户的问题——用通俗易懂的英语。
这个项目将你的Groww交易账户连接到Claude(或任何支持MCP的AI)。设置好后,你可以直接在Claude中输入*“我当前的投资组合价值是多少?”或“显示NIFTY的期权链”*——无需再切换标签页。
**什么是MCP?**模型上下文协议(MCP)是一个开放标准,允许AI助手连接到外部工具和实时数据。可以把它看作是一个插件,将Claude连接到你的Groww账户。
✨ 它能做什么?
一旦连接,Claude 即可访问你整个 Groww 账户中的18个工具:
| 分类 | 你可以问Claude |
|---|---|
| 💼 账户与投资组合 | “我的可用余额是多少?” / “展示我的持仓” |
| 📈 订单管理*“以₹1800价格下限价单,购买10股INFY股票”* | |
| 🧠 智能订单(GTT/OCO) | “如果RELIANCE超过₹2500,则设置触发订单” |
| 📊 市场数据*“获取TCS和WIPRO的LTP”* / “显示OHLC数据” | |
| ⚡ 衍生品(FNO) | “显示本次到期的NIFTY期权链” / “这份合约的希腊代码是多少?” |
查看全部18种工具
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
🚀 Groww MCP Server (Python)
Ask Claude questions about your Groww account — in plain English.
This project connects your Groww trading account to Claude (or any AI that supports MCP). Once set up, you can type things like “What’s my current portfolio value?” or “Show me the option chain for NIFTY” directly in Claude — no more switching tabs.
What is MCP? Model Context Protocol (MCP) is an open standard that lets AI assistants connect to external tools and live data. Think of it as a plug that links Claude to your Groww account.
✨ What Can It Do?
Once connected, Claude gains access to 18 tools across your entire Groww account:
| Category | What you can ask Claude |
|---|---|
| 💼 Account & Portfolio | “What’s my available balance?” / “Show my holdings” |
| 📈 Order Management | “Place a limit order for 10 shares of INFY at ₹1800” |
| 🧠 Smart Orders (GTT/OCO) | “Set a trigger order if RELIANCE crosses ₹2500” |
| 📊 Market Data | “Get the LTP for TCS and WIPRO” / “Show OHLC data” |
| ⚡ Derivatives (FNO) | “Show the NIFTY option chain for this expiry” / “What are the greeks for this contract?” |
📺 Video Tutorial
Click the image above to watch the setup guide.
🛠️ Setup Guide
Time needed: ~10 minutes. No prior coding experience required.
安装
npx -y mcp-remote http://127.0.0.1:8000/sse配置
{
"mcpServers": {
"groww_mcp": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"http://127.0.0.1:8000/sse"
]
}
}
}