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.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Neon Database
MCP server for interacting with Neon Management API and databases
E2B
Using MCP to run code via e2b.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.