Flattrade Trading MCP - Connect your AI Assistants
Flattrade MCP is an open-source Model Context Protocol server that lets ChatGPT, Claude, Gemini, Cursor and any MCP-compatible AI securely trade, analyze markets and stream live data on your Flattrade account.
Works with the tools you already love
If your AI supports MCP, it works with Flattrade.
A universal protocol between your AI and your broker.
Flattrade MCP is an open-source Model Context Protocol server that lets any AI assistant securely interact with your Flattrade trading account.
Instead of switching between multiple apps, just ask your AI to retrieve live market data, check holdings, place orders, manage positions, or build automated strategies.
Natural language interface
Talk to your account the same way you talk to your AI.
Runs locally
Credentials stay on your machine. Nothing shipped to the cloud.
One protocol, every AI
Compatible with ChatGPT, Claude, Gemini, Cursor, VSCode & more.
Works with every AI assistant that speaks MCP.
No lock-in. No custom SDKs. Point your MCP-compatible AI at Flattrade and start trading in natural language.
If your AI supports MCP, it works with Flattrade.
Built for developers. Free for everyone.
From a single sentence to a live position.
Ask, analyze, execute. Everything your broker exposes - now available to your AI.
Market Analysis
Option chains, PCR, IV rankings, top movers, sector rotation - all with a prompt.
Portfolio
Holdings, portfolio value, today's P&L, available margin, funds.
Trading
Buy, sell, modify, cancel. Order book & trade book - all conversational.
Live Market Feed
Subscribe via WebSocket to realtime prices, depth, market watch and streaming ticks.
Historical Data
Candles, OHLC, indicators, backtesting, export - piped straight into your AI.
AI Strategy Builder
Generate Python or Pine Script, size positions, define entry/exit and risk - all in a single conversation.
From your prompt to the exchange in milliseconds.
A single MCP server sits between your AI and the exchange. Bi-directional streaming keeps prices, orders and positions live.
You
Prompt in natural language
AI Assistant
ChatGPT · Claude · Gemini · Cursor
Flattrade MCP
Local · secure · open-source
Exchange
NSE · BSE · MCX
Click a prompt. Watch your AI trade.
A playground of real Flattrade MCP interactions. No account required - this demo mirrors how ChatGPT, Claude or Cursor would answer once connected.
Every broker action, exposed as an MCP tool.
17+ tools your AI can call. Fully documented. Composable in any workflow.
One config. Every AI. Zero glue code.
Drop this snippet into your AI assistant's MCP config. That's the whole installation. No SDK. No boilerplate.
npx @flattrade/mcp
Start building today.
Explore the source code, documentation, installation guide, examples, and contribute back to the project. MIT licensed.
github.com/flattrade/flattrademcp
Five steps. One coffee. You're live.
Questions, answered.
Build the future of AI trading.
Connect your AI assistant to Flattrade today. Free, open source, and shipping on your terms.