Angel One MCP server
io.github.ameernoufil/angel-one·v1.0.10Angel One SmartAPI MCP for orders, portfolio, market data, GTT rules, charges, and margin.
0 stars63 downloads/wk
Reviews
Write oneNobody has reviewed Angel One yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Angel One tools (32, 8 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
cancel_gtt_rulewrite actionCancel an existing GTT rule by ID.
cancel_orderwrite actionCancel a pending order by order ID and variety.
convert_positionConvert an existing position from one product type to another (e.g. INTRADAY to DELIVERY).
create_gtt_rulewrite actionCreate a GTT (Good Till Triggered) rule. When trigger price is hit, the order is automatically placed.
estimate_chargesEstimate brokerage, STT, transaction charges, GST, SEBI charges, and stamp duty for proposed trades.
estimate_marginCalculate margin requirements for a batch of potential orders before placing them.
get_all_holdingsGet extended portfolio holdings with total holding value, total investment, total P&L, and P&L percentage.
get_bse_intradayGet top BSE intraday movers data.
get_candle_dataGet historical OHLCV candle data for a symbol. Intervals: ONE_MINUTE, FIVE_MINUTE, FIFTEEN_MINUTE, THIRTY_MINUTE, ONE_HOUR, ONE_DAY.
get_fundsGet available funds and margins: cash, collateral, utilised margins, net value.
get_gainers_losersGet top gainers or losers by OI or price change percentage for derivatives.
get_gtt_rule_detailsGet details of a specific GTT rule by ID.
get_gtt_rule_listList GTT rules filtered by status. Returns paginated results.
get_holdingsGet portfolio holdings: stocks owned, quantities, average prices, P&L, LTP.
get_ltpGet last traded price for a symbol. Also returns open, high, low, close.
get_market_quoteGet market quote data. Modes: FULL (all fields), OHLC, LTP. Pass exchange and token list.
get_nse_intradayGet top NSE intraday movers data.
get_oi_buildupGet OI Buildup analysis: Long Buildup, Short Buildup, Short Covering, Long Unwinding.
get_oi_dataGet historical Open Interest data for derivatives. Same intervals as candle data.
get_option_greeksGet option Greeks (Delta, Gamma, Theta, Vega, IV) for all strikes of a given underlying and expiry.
get_order_bookwrite actionGet all orders for today: pending, executed, rejected. Shows status, prices, quantities.
get_order_detailswrite actionGet detailed information for a specific order by its order ID.
get_positionsGet open positions: intraday/carryforward, buy/sell qty, avg prices, unrealised P&L.
get_profileGet Angel One user profile: name, email, mobile, exchanges, products, broker info.
get_put_call_ratiowrite actionGet Put-Call Ratio data for the derivatives market.
get_trade_bookGet executed trades for today: fill prices, quantities, timestamps.
loginAuthenticate with Angel One SmartAPI. Auto-generates TOTP. Stores session internally.
logoutEnd Angel One SmartAPI session and invalidate tokens.
modify_gtt_ruleModify an existing GTT rule. Change price, quantity, or trigger price.
modify_orderwrite actionModify an existing pending order. Change price, quantity, order type, or trigger price.
place_orderwrite actionPlace a buy/sell order on Angel One. Supports NORMAL, STOPLOSS, AMO, ROBO varieties. Returns order ID on success.
search_scripSearch for trading instruments by name. Returns symbol tokens needed for other tools.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan29 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 128 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Angel One compares
Against every graded E-commerce MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 72/100
- higher than 45% of 2,174 E-commerce servers
- Tools
- 32
- the typical E-commerce server has 6
- Tools that change things
- 25%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 63
- more than 57% of 411 E-commerce servers with a package
What its tools let an agent do: 23 read · 1 create · 6 change · 2 delete
Install Angel One in Claude Code, Cursor or VS Code
Runs npx -y angel-one-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add angel-one -- npx -y angel-one-mcp
What the publisher says
From the Angel One repository's README, as published. We do not edit it. Read it on GitHub
Angel One MCP Server
TypeScript Model Context Protocol server for Angel One SmartAPI.
Use it from Claude, Cursor, Copilot, or any MCP client to:
- place and manage orders
- read holdings, positions, and funds
- fetch market data, candles, OI, Greeks, and movers
- manage GTT rules
- estimate charges and margin
Highlights
- Direct fetch() integration. No Angel One SDK dependency.
- Auto TOTP generation from your base32 secret.
- Lazy login with token refresh in API layer.
- Safety guard for trading mutations with soft and hard limits.
- stdio MCP server. Works well with npx.
Discoverability
- npm package: angel-one-mcp
- Official MCP Registry: io.github.ameernoufil/angel-one
- GitHub repo: ameernoufil/angel-one-mcp
If your client supports registry-based discovery, search for io.github.ameernoufil/angel-one. If your client prefers package installs, use angel-one-mcp from npm.
Quick Start
Option A: Use with npx (recommended)
Add this to your MCP client config:
{
"mcpServers": {
"angel-one": {
"type": "stdio",
"command": "npx",
"args": ["-y", "angel-one-mcp"],
"env": {
"ANGEL_API_KEY": "your_smartapi_key",
"ANGEL_CLIENT_ID": "your_client_id",
"ANGEL_PASSWORD": "your_mpin",
"ANGEL_TOTP_SECRET": "your_base32_totp_secret"
}
}
}
}Option B: Run from source
git clone https://github.com/ameernoufil/angel-one-mcp.git
cd angel-one-mcp
npm install
cp .env.example .env
npm run build
npm startIf running from source, point your MCP client to build/index.js.
Environment Variables
Required:
- ANGELAPIKEY
- ANGELCLIENTID
- ANGEL_PASSWORD
- ANGELTOTPSECRET
Optional safety limits:
- SOFTMAXORDER_QTY default 25
- HARDMAXORDER_QTY default 100
- SOFTMAXORDER_VALUE default 10000
- HARDMAXORDER_VALUE default 100000
Example .env:
ANGEL_API_KEY=your_smartapi_key
ANGEL_CLIENT_ID=your_client_id
ANGEL_PASSWORD=your_mpin
ANGEL_TOTP_SECRET=your_base32_totp_secretSafety Model
Trading mutations are guarded.
Soft limits block by default and can be overridden with force: true. Hard limits cannot be bypassed without changing env vars and restarting the server.
Guarded operations include:
- place_order
- modify_order
- creategttrule
- modifygttrule
- convert_position
For MARKET orders, the server attempts LTP-based value checks before allowing the request.
Tool Coverage
- Auth: login and logout
- Portfolio: holdings, positions, funds, conversion
- Orders: place, modify, cancel, book lookup, trade lookup
- Market: search, LTP, quotes, candles, OI, Greeks, movers, PCR
- GTT: create, modify, cancel, list, inspect
- Calculator: margin and brokerage estimates
- User: profile
For an agent-focused onboarding prompt, see docs/llm-setup.md.
Development
Requirements:
- Node.js 18+
Commands:
npm install
npm run build
npm run lint
npm run lint:fix
npm run format
npm run dev
npm startArchitecture Notes
- Entry point: src/index.ts
- API client and auth flow: src/api.ts
- Config and safety limits: src/config.ts
- Order guard: src/guards.ts
- Tool registration: src/tools/index.ts
- Tool implementations: src/tools/*.ts
License
MIT
Nothing above is checked by us. What we check is on the safety report.
Angel One: common questions
- Is Angel One MCP server safe?
- Mostly: it is graded B (72/100). Read the Angel One safety report
- How do I install Angel One?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Angel One need an API key?
- Yes. The registry entry asks for
ANGEL_API_KEY,ANGEL_CLIENT_ID,ANGEL_PASSWORD,ANGEL_TOTP_SECRET. - Is Angel One maintained?
- The last commit was 166 days ago (2026-05-22). The latest release is v1.0.10.
- What can I use instead of Angel One?
- Servers from other publishers that do the same job: Polymarket Toolkit MCP server, Pagseguro MCP server and Federal Register MCP server.
- How does Angel One compare with other E-commerce MCP servers?
- safety score 72/100 (higher than 45% of 2,174 E-commerce servers); tools 32 (the typical E-commerce server has 6); tools that change things 25% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Angel One
Same job from other publishers: the closest match first, then the best rated.
- Polymarket ToolkitRead-only Polymarket data tools for AI agents: profiles, PnL, market scans. No keys, no orders.not reviewedEstablishedB
- PagseguroMCP server for PagSeguro/PagBank — orders, Pix, boleto, credit card, chargesnot reviewedEstablishedB
- Federal RegisterFederal Register proposed/final rules, notices, executive orders, FAR cases. 8 tools.not reviewedGrowingA
- Federal RegisterFederal Register proposed and final rules, notices, executive orders, and FAR cases. 8 tools.not reviewedGrowingA
LongbridgeUS/HK markets — 163 tools: quotes, options, orders, fundamentals, screener, IPO, alerts, DCA & gridnot reviewedGrowingA