Flattrade Trading MCP - Connect your AI Assistants.

Flattrade MCP gives you two simple ways to connect your favorite AI assistant.

$

Compatible with

ChatGPT Claude Gemini Cursor VS Code Cline Windsurf Continue.dev and any MCP client
Instant Connect
ChatGPT · Claude · Gemini Any MCP client
Hosted MCP mcp.flattrade.in/mcp
Flattrade auth · APIs
Your Account NSE · BSE · MCX
Developer Setup
GitHub @flattrade/mcp
Local MCP Server npx · open-source
Flattrade API REST · WebSocket
Your Account NSE · BSE · MCX
Choose Your Setup

Two ways to use Flattrade MCP.

Whether you're a trader looking for a quick setup or a developer building advanced AI workflows, Flattrade MCP offers the right option for you.

Instant Connect

Easy and No code

Use the Hosted Flattrade MCP endpoint to connect your AI assistant in minutes. No downloads. No installations. No technical setup. Paste the endpoint into ChatGPT, Claude, Gemini or any MCP-compatible client and authenticate your Flattrade account.

  • Setup in under 2 minutes
  • No installation
  • Secure hosted endpoint
  • Automatic updates
  • Holdings
  • Limits
  • More features coming soon
URL https://mcp.flattrade.in/mcp
Start Using Hosted MCP

Developer Setup

Open source · Local installation

Install the Flattrade MCP server locally from GitHub. Ideal for developers who want complete control, custom integrations, local execution and full access to the open-source project.

  • Open source (MIT)
  • Local installation
  • GitHub repository
  • Full configuration
  • Advanced development
  • Custom AI workflows
Install
$ npx @flattrade/mcp
Install from GitHub
Comparison

Which option should you choose?

Feature

Instant Connect

Easy and No code

Developer Setup

Open source

Now Available

Hosted MCP Endpoint

No local installation · Direct URL integration · Secure authentication

Get the endpoint
Instant Connect · Hosted MCP

Instant Connect - Hosted MCP.

The fastest way to connect Flattrade to your AI assistant. No downloads, no local server, no config files. Just paste our hosted endpoint URL into ChatGPT, Claude, Gemini or any MCP-compatible client, authenticate your Flattrade account, and start trading in natural language.

Perfect for traders and anyone who wants to be up and running in under two minutes.

Connection Flow

A single URL. Five hops from prompt to exchange.

Hosted MCP Endpoint

URL https://mcp.flattrade.in/mcp

Paste this URL into your AI assistant's MCP config to connect.

Available Today

Live now

  • Holdings
  • Limits / Available Funds

These are the currently supported capabilities of the hosted endpoint.

Coming Soon

On the roadmap

Supported AI Platforms

Compatible with AI assistants that support the Model Context Protocol (MCP).

Quick Setup

1

Open your AI assistant

Launch ChatGPT, Claude, Gemini or any MCP-compatible client.

2

Add the hosted endpoint

Paste https://mcp.flattrade.in/mcp into your MCP config.

3

Authenticate & go

Sign in with your Flattrade account and start retrieving your trading information.

Example Conversation

Show me my holdings.
Here are your current holdings with quantity, average price, current market value, and unrealized P&L.
How much trading limit do I have?
Here are your available limits and funds available for trading.

Connect your AI assistant today

Start using the hosted Flattrade MCP in minutes.

Works with the tools you already love

If your AI supports MCP, it works with Flattrade.

What is MCP

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.

ChatGPT
Claude
Gemini
Cursor

Flattrade MCP

local · secure

Exchange · NSE · BSE · MCX
Supported AI Platforms

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.

Why Flattrade MCP

Built for developers. Free for everyone.

Everything You Can Do

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.

Show NIFTY option chain
Compare Reliance vs TCS
Today's top gainers
Calculate PCR
Find highest IV stocks

Portfolio

Holdings, portfolio value, today's P&L, available margin, funds.

₹12,48,320 +2.4%

Trading

Buy, sell, modify, cancel. Order book & trade book - all conversational.

BUY INFY
100 · ₹1,548
SELL NIFTY 24500 CE
50 · ₹142

Live Market Feed

Subscribe via WebSocket to realtime prices, depth, market watch and streaming ticks.

INFY
₹1,000
+1.18%
TCS
₹1,240
-0.42%
HDFC
₹1,480
+1.18%

Historical Data

Candles, OHLC, indicators, backtesting, export - piped straight into your AI.

Realtime Architecture

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

Realtime WebSocket · ticks · depth · orders
LIVE · flattrade.mcp
09:15:00.121ws.connect ok
09:15:00.204subscribe {"symbol":"NIFTY","depth":true}
09:15:00.208ack NIFTY · 5 depth channels
09:15:00.312tick NIFTY 24,842.30 +0.42%
09:15:00.318order.place buy INFY x100 @market
09:15:00.406order.filled #F8823 @ ₹1,548.20
09:15:00.502tick NIFTY 24,844.90 +0.43%
09:15:00.610tick NIFTY 24,846.10 +0.44%
Try AI Prompts · Live Demo

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.

~/flattrade-mcp · chat
connected · flattrade.mcp
Supported MCP Tools

Every broker action, exposed as an MCP tool.

17+ tools your AI can call. Fully documented. Composable in any workflow.

Developer Friendly

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
~/.config/mcp/config.json

        
Getting Started

Five steps. One coffee. You're live.

Video Tutorials

Connect Flattrade MCP in minutes.

Follow our step-by-step video guides to connect Flattrade MCP with your favorite AI assistant and start using AI-powered trading features.

Instant Connect

Hosted MCP tutorials

Developer Setup

Local MCP tutorials

What you'll learn
  • Connect using the Hosted MCP Endpoint
  • Configure ChatGPT, Claude and Gemini
  • Authenticate your Flattrade account securely
  • Access Holdings and Limits using natural language
  • Understand upcoming MCP capabilities

Ready to connect?

Start using Flattrade Hosted MCP with your preferred AI assistant.

FAQ

Questions, answered.

Build the future of AI trading.

Connect your AI assistant to Flattrade today. Free, open source, and shipping on your terms.