Angel One logo

Angel One

Connects AI clients to Angel One SmartAPI for trading, portfolio data, market analysis, GTT rules, charges, and margin estimates.

Install Angel One

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "angel-one": {
      "command": "npx",
      "args": [
        "-y",
        "angel-one-mcp"
      ],
      "env": {
        "ANGEL_API_KEY": "YOUR_VALUE_HERE",
        "ANGEL_CLIENT_ID": "YOUR_VALUE_HERE",
        "ANGEL_PASSWORD": "YOUR_VALUE_HERE",
        "ANGEL_TOTP_SECRET": "YOUR_VALUE_HERE",
        "SOFT_MAX_ORDER_QTY": "YOUR_VALUE_HERE",
        "HARD_MAX_ORDER_QTY": "YOUR_VALUE_HERE",
        "SOFT_MAX_ORDER_VALUE": "YOUR_VALUE_HERE",
        "HARD_MAX_ORDER_VALUE": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env ANGEL_API_KEY=YOUR_VALUE_HERE --env ANGEL_CLIENT_ID=YOUR_VALUE_HERE --env ANGEL_PASSWORD=YOUR_VALUE_HERE --env ANGEL_TOTP_SECRET=YOUR_VALUE_HERE --env SOFT_MAX_ORDER_QTY=YOUR_VALUE_HERE --env HARD_MAX_ORDER_QTY=YOUR_VALUE_HERE --env SOFT_MAX_ORDER_VALUE=YOUR_VALUE_HERE --env HARD_MAX_ORDER_VALUE=YOUR_VALUE_HERE --transport stdio angel-one -- npx -y angel-one-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y angel-one-mcp

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The Angel One MCP server connects MCP clients to Angel One SmartAPI for orders, portfolios, market data, GTT rules, charges, and margin estimates. It runs as a stdio TypeScript server and can be started with npx or from a local build. Authentication uses SmartAPI credentials plus a base32 TOTP secret, with lazy login and token refresh handled by the API layer. Use it when an agent needs Angel One account data or trading actions, while keeping the configured order safety limits in mind.

Use cases

  • Place and manage Angel One orders from an MCP client
  • Review holdings, positions, funds, and trade records
  • Analyze market prices, candles, OI, Greeks, and movers
  • Create and inspect GTT trading rules
  • Estimate brokerage charges and margin requirements

Key features

  • Angel One SmartAPI access over stdio
  • Order, portfolio, and position operations
  • Market data including candles, OI, Greeks, and PCR
  • GTT rule management
  • Margin and brokerage estimation
  • Configurable safety limits for trading mutations

Tools32

What Angel One lets your agent do. Expand a tool for its parameters.

Verified live~3.9k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

15/18 checks healthy over the last 117d

What it can do

From the 32 tools this server returned when we ran it; 32 declare their own safety hints.

Can delete or modify data · 7Handles credentials · 3Makes network requests · 32Read-only tools · 25
Network at startup3 connections
Files written at startupNone
Install scriptsprepare
npm provenanceSigned build
Package age163 days
Maintainers1

Observed 2026-10-31 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 17d ago via OSV.dev · angel-one-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads315Package downloads in the last 30 days.
Last commit6mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed32Callable tools this server registers over MCP.

How Angel One works

What the Angel One MCP server does

The Angel One MCP server exposes Angel One SmartAPI through Model Context Protocol tools. It covers both read and mutation workflows, including account information, trading operations, market analysis, GTT management, and trading-cost calculations.

Read operations can retrieve holdings, positions, available funds, user profile data, order and trade records, and market information. Market tools include instrument search, last traded price, quotes, candles, open interest, Greeks, movers, and put-call ratio data. Other tools estimate margin and brokerage charges.

Trading actions include placing, modifying, and cancelling orders, converting positions, and creating, changing, cancelling, listing, or inspecting GTT rules. Login and logout are also exposed through the tool set.

How it works

The server is implemented in TypeScript and communicates with MCP clients over stdio. It calls SmartAPI directly with fetch() rather than depending on an Angel One SDK. When credentials are supplied, authentication is performed lazily, and the API layer refreshes tokens as needed.

Trading mutations pass through configurable safety checks. Soft quantity and value limits reject an action by default but can be overridden with force: true. Hard limits cannot be bypassed through a tool call; changing them requires updating the environment and restarting the process. For market orders, the server attempts to check order value using the current LTP before proceeding.

Setup and configuration

The Angel One MCP server requires Node.js 18 or later. The simplest setup uses an MCP client configuration that runs npx -y angel-one-mcp with these required variables: ANGEL_API_KEY, ANGEL_CLIENT_ID, ANGEL_PASSWORD, and ANGEL_TOTP_SECRET. The TOTP value is a base32 secret, allowing the server to generate login codes automatically.

For a source installation, clone the repository, run npm install, copy .env.example to .env, build the project, and start it. The client should then use build/index.js as the server entry point. The package is also published on npm and listed in the official MCP Registry under io.github.ameernoufil/angel-one.

Optional safeguards are controlled by SOFT_MAX_ORDER_QTY, HARD_MAX_ORDER_QTY, SOFT_MAX_ORDER_VALUE, and HARD_MAX_ORDER_VALUE. The documented defaults are 25 and 100 for quantity, and 10,000 and 100,000 for value, respectively.

Tools and capabilities

The Angel One MCP server groups its tools into these areas:

  • Authentication: login and logout.
  • Portfolio: holdings, positions, funds, and position conversion.
  • Orders: placement, modification, cancellation, order-book lookup, and trade lookup.
  • Market data: search, LTP, quotes, candles, open interest, Greeks, movers, and PCR.
  • GTT: create, modify, cancel, list, and inspect rules.
  • Calculators: margin and brokerage estimates.
  • User data: profile retrieval.

Limitations and notes

This server is intended for Angel One SmartAPI accounts and requires valid SmartAPI credentials. It is a stdio server, so the MCP client must support launching a local process or an equivalent package command. The safety guard applies to the listed trading mutations, but soft-limit overrides and any changes to hard limits should be handled deliberately because they affect whether orders can be submitted.

The README identifies Claude, Cursor, Copilot, and other MCP clients as usage targets, but the exact client configuration format may vary. An agent-focused onboarding prompt is available in the repository at docs/llm-setup.md.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Angel One

Angel One is an MCP server that connects AI clients to Angel One SmartAPI. Its main tools cover order placement and management, portfolio and funds, market data, GTT rules, charge and margin estimates, authentication, and profile access. It runs over stdio and can be launched with npx.

Install it by configuring your MCP client to run `npx -y angel-one-mcp` and supplying the four required credentials. Alternatively, clone the repository, run `npm install`, build it, and point the client to `build/index.js`.

Configure Cursor to launch the stdio server with `npx` or use the built `build/index.js` entry point.

It needs `ANGEL_API_KEY`, `ANGEL_CLIENT_ID`, `ANGEL_PASSWORD`, and `ANGEL_TOTP_SECRET`. The TOTP secret must be base32 encoded so the server can generate authentication codes automatically.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAngel One AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/angel-one?style=directory)](https://allmcps.com/mcp/angel-one)
HTML Embed
<a href="https://allmcps.com/mcp/angel-one"><img src="https://allmcps.com/api/badge/angel-one?style=directory" alt="Angel One on AllMCPs" /></a>