DOS Growth MCP Server
Connects a brokerage account to AI assistants, enabling portfolio queries, order management, and market data access through natural language.
README
🚀 DOS Growth MCP Server (Python)
Ask an AI assistant questions about your connected trading account in plain English with DOS Growth.
Live service: https://dos-growth-mcp.onrender.com
DOS Growth connects a supported brokerage account to Claude or any other MCP-compatible AI client. Once configured, you can ask for your portfolio value, balances, holdings, market data, option chains, and more without switching tabs.
What is MCP? Model Context Protocol (MCP) is an open standard that lets AI assistants connect to external tools and live data.
✨ What can DOS Growth do?
Once connected, your AI client gains access to 18 tools:
| Category | Example request |
|---|---|
| 💼 Account & Portfolio | "What's my available balance?" / "Show my holdings" |
| 📈 Order Management | "Place a limit order for 10 shares of INFY at ₹1,800" |
| 🧠 Smart Orders (GTT/OCO) | "Set a trigger order if RELIANCE crosses ₹2,500" |
| 📊 Market Data | "Get the LTP for TCS and WIPRO" / "Show OHLC data" |
| ⚡ Derivatives (FNO) | "Show the NIFTY option chain" / "What are the greeks?" |
<details> <summary>See all 18 DOS Growth tools</summary>
dos_growth_get_profile— Brokerage account profiledos_growth_get_balance— Available margins and cash balancedos_growth_get_holdings— Equity holdingsdos_growth_get_positions— Live positions (Cash or FNO)dos_growth_place_order— Market, Limit, SL, and SL-M ordersdos_growth_modify_order— Edit a pending orderdos_growth_cancel_order— Cancel an open orderdos_growth_create_smart_order— GTT or OCO smart ordersdos_growth_cancel_smart_order— Cancel a smart-order legdos_growth_get_smart_order_list— View active smart ordersdos_growth_get_quote— Price, volume, and market-depth datados_growth_get_ltp— Last Traded Price for multiple symbolsdos_growth_get_ohlc— Open, High, Low, and Close valuesdos_growth_get_historical_candles— Historical data for analysisdos_growth_get_option_chain— Option chains for indices and stocksdos_growth_get_greeks— Delta, Theta, Gamma, and Vegados_growth_get_expiries— Available expiry datesdos_growth_get_contracts— Contracts for a selected expiry
</details>
🛠️ Setup guide
Time needed: About 10 minutes. No prior coding experience is required.
Step 1 — Get the code
Clone your DOS Growth repository:
git clone <your-dos-growth-repository-url> dos-growth
cd dos-growth
Alternatively, use the repository page's Code → Download ZIP option and extract the archive.
Step 2 — Install uv
uv installs and runs this Python project. Follow the official uv installation guide, then verify it:
uv --version
Step 3 — Create your brokerage API keys
DOS Growth currently integrates with the Groww Trade API through its official Python SDK.
- Open the Trade API keys page.
- Sign in and create an API key and API secret.
- Store both credentials securely.
Treat these credentials like a password. Never share them or commit them to Git.
Step 4 — Configure DOS Growth
Copy .env.example to a new file named .env.local, then enter your credentials:
DOS_GROWTH_API_KEY=your_api_key_here
DOS_GROWTH_API_SECRET=your_api_secret_here
# Optional: DOS_GROWTH_API_TOKEN=your_predefined_token_if_available
For compatibility with earlier installations, GROWW_API_KEY, GROWW_API_SECRET, and GROWW_API_TOKEN are also accepted as fallback names.
Step 5 — Install dependencies and start DOS Growth
uv sync
uv run main.py
The server runs at http://127.0.0.1:8000. Keep the terminal open while using an MCP client.
Step 6 — Connect Claude Desktop
Open Claude Desktop, go to Settings → Developer, and select Edit Config. Add:
{
"mcpServers": {
"dos_growth": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"http://127.0.0.1:8000/sse"
]
}
}
}
Save the configuration and restart Claude Desktop. DOS Growth should appear as a connected MCP server.
Step 7 — Try it
- "What is my current account balance?"
- "Show me my holdings."
- "What's the LTP for RELIANCE and TCS?"
☁️ Free cloud deployment on Render
The included Dockerfile and render.yaml deploy DOS Growth as a free Render web service with an HTTPS onrender.com subdomain.
Configure these values as Render secrets during deployment:
DOS_GROWTH_ACCESS_TOKEN— a long, random token that protects the MCP endpointsDOS_GROWTH_API_KEYandDOS_GROWTH_API_SECRET— your brokerage API credentialsDOS_GROWTH_API_TOKEN— optional pre-generated brokerage token
The public health endpoint is /health, and the protected MCP endpoint is /sse.
Use the deployed service from Claude Desktop on Windows with this configuration, replacing the URL and token:
{
"mcpServers": {
"dos_growth": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://dos-growth-mcp.onrender.com/sse",
"--header",
"Authorization:${AUTH_HEADER}"
],
"env": {
"AUTH_HEADER": "Bearer replace_with_your_access_token"
}
}
}
}
Never put the access token or brokerage credentials in Git. Render stores these values as encrypted environment secrets.
🔌 Other MCP clients
Any MCP-compatible client can connect while DOS Growth is running:
- SSE endpoint:
http://127.0.0.1:8000/sse
🧪 Test with MCP Inspector
npx @modelcontextprotocol/inspector uv run main.py
This opens a browser interface where developers can call each tool and inspect its response.
❓ Troubleshooting
DOS Growth does not appear as a connected tool
Make sure the server is running, save the MCP client configuration, and restart the client.
uv: command not found
Restart the terminal after installing uv. If needed, review the uv installation guide.
DOS_GROWTH_API_KEY is missing or authentication fails
Confirm .env.local is in the project root and that the variable names are spelled exactly as shown.
Port 8000 is already in use
Stop the other process using that port before starting DOS Growth.
📜 Project identity
- App: DOS Growth
- Company: DOS
- Developer: Dikshu
- License: MIT
Developed for the community by Dikshu at DOS.
⚠️ Disclaimer: DOS Growth is an unofficial, community-built wrapper for the Groww Trade API. DOS Growth, DOS, and Dikshu are not affiliated with or endorsed by Groww. Trading involves financial risk. Use this software at your own discretion and always verify orders before placing them.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。