Skip to main content
Glama
Angel One MCP

Angel One MCP

by igeniusdev

Angel One MCP by iGeniusDev

A local Model Context Protocol server for Angel One SmartAPI. Use an MCP client to query live quotes and historical candles, search instruments, and review holdings, positions, orders and trades. The server also exposes order management, GTT creation and position conversion, with dry-run enabled by default.

Install

Use Python 3.10 or newer, Git, and an Angel One SmartAPI account with TOTP configured.

git clone https://github.com/igeniusdev/angel-one-mcp.git
cd angel-one-mcp
python3 -m venv .venv
.venv/bin/python -m pip install .
cp .env.example .env
chmod 600 .env

On Windows use .venv\Scripts\python.exe and copy .env.example to .env. Fill in your own SmartAPI key, client code, PIN/password and TOTP secret in the local .env file. Keep that file private.

Related MCP server: Kotak Neo Trading MCP

Connect Claude Desktop or another stdio MCP client

Add this entry to your client's MCP configuration and replace both paths with absolute paths on your computer. In Claude Desktop, open Settings → Developer → Edit Config.

{
  "mcpServers": {
    "angel-one": {
      "command": "/absolute/path/to/angel-one-mcp/.venv/bin/python",
      "args": ["-m", "angel_one_mcp.server"],
      "env": {
        "ANGEL_ONE_ENV_FILE": "/absolute/path/to/angel-one-mcp/.env"
      }
    }
  }
}

Restart the client and try “Show my holdings” or “Look up the latest price for RELIANCE on NSE.” This repository is public and each user runs the MCP locally using their own Angel One account.

Trading mode

Keep DRY_RUN_MODE=true while testing. The trading tools simulate orders, modifications, cancellations, GTT creation and position conversion. Portfolio and market-data calls still use the live SmartAPI. Setting DRY_RUN_MODE=false explicitly enables live orders and other account changes. MAX_ORDER_QUANTITY caps the quantity for order placement.

License and attribution

This community project is maintained by iGeniusDev and is independent of Angel One.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides comprehensive trading and market data functionality for Indian equity markets through Angel One's SmartAPI, enabling portfolio management, order placement, and real-time data queries.
      7
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables automated trading on Kotak Neo from AI environments with secure credential vault, TOTP generation, and smart order commands.
      ISC
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables read-only access to Kalshi Trade API v2 for exchange status, markets, cash, positions, fills, and resting orders, with optional mutating order tools gated behind a safe mode and explicit confirmation.
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables users to search simulated NSE instruments, get quotes and account state, preview trades, and place or cancel orders only after explicit confirmation, using short-lived previews and persistent JSON account state.
      8
      MIT