mcpField
A
Angel One Mcp

Angel One Mcp

Local
github.com/kousthubha-skyData & Analytics0Updated 32w ago

About Angel One Mcp

Angel One MCP connects Angel One SmartAPI to AI assistants for market queries, portfolio management, and trading. It also provides historical data, GTT rules, and options analytics.

Key features

  1. 01Place, modify, and cancel orders
  2. 02Query holdings and portfolios
  3. 03Get live and historical market data
  4. 04Manage GTT rules
  5. 05Analyze options and markets

Use cases

  1. 01Review portfolio holdings
  2. 02Check a stock's current price
  3. 03Submit or manage trading orders
  4. 04Analyze options data and market moves

MCP support

This MCP server exposes Angel One SmartAPI session, order, portfolio, market-data, and analytics capabilities as tools for MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

Angel One MCP

PyPI License: MIT Python 3.11+

MCP server for Angel One SmartAPI — trade stocks, manage your portfolio, access market data, and run analytics through AI assistants like Claude, Cursor, and more.

Tools (30+)

CategoryTools
Sessionangelone_ping, angelone_login, angelone_auto_login, angelone_logout, angelone_get_profile, angelone_get_rms_limit
Ordersangelone_place_order, angelone_modify_order, angelone_cancel_order, angelone_get_order_book, angelone_get_trade_book, angelone_get_order_details
Portfolioangelone_get_holdings, angelone_get_all_holdings, angelone_get_positions, angelone_convert_position
Market Dataangelone_get_ltp, angelone_get_market_data, angelone_search_scrip
Historicalangelone_get_candle_data
GTTangelone_create_gtt_rule, angelone_modify_gtt_rule, angelone_cancel_gtt_rule, angelone_get_gtt_rule, angelone_list_gtt_rules
Analyticsangelone_get_option_greeks, angelone_get_gainers_losers, angelone_get_put_call_ratio, angelone_get_oi_buildup, angelone_estimate_charges, angelone_get_margin_api

Quick Start

1. Get API Keys
  1. Go to smartapi.angelone.in
  2. Sign up / login with your Angel One account
  3. Create an app to get your API Key
  4. Note your Client Code (Angel One ID) and PIN
  5. Set up TOTP and note the TOTP Secret (from QR code)
2. Install
pip install angel-one-mcp
3. Configure Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "angel-one": {
      "command": "angel-one-mcp",
      "env": {
        "ANGELONE_API_KEY": "your_api_key",
        "ANGELONE_CLIENT_CODE": "your_client_code",
        "ANGELONE_PASSWORD": "your_pin",
        "ANGELONE_TOTP_SECRET": "your_totp_secret"
      }
    }
  }
}
4. Use with Claude
"Login to my Angel One account"
"Show my portfolio holdings"
"What's the current price of RELIANCE?"
"Place a buy order for 10 shares of INFY at market price"
"Show me NIFTY historical data for the last month"
"What are the option greeks for NIFTY 23000 CE?"
"Show top gainers in the market"

Alternative Setup

Using Python module directly
{
  "mcpServers": {
    "angel-one": {
      "command": "python",
      "args": ["-m", "angel_one_mcp.server"],
      "env": {
        "ANGELONE_API_KEY": "your_api_key",
        "ANGELONE_CLIENT_CODE": "your_client_code",
        "ANGELONE_PASSWORD": "your_pin",
        "ANGELONE_TOTP_SECRET": "your_totp_secret"
      }
    }
  }
}
Using Docker
docker build -t angel-one-mcp .
docker run -p 8000:8000 \
  -e ANGELONE_API_KEY=your_key \
  -e ANGELONE_CLIENT_CODE=your_code \
  -e ANGELONE_PASSWORD=your_pin \
  -e ANGELONE_TOTP_SECRET=your_secret \
  angel-one-mcp
Using MCP Inspector (for testing)
npx @modelcontextprotocol/inspector
# Command: python
# Args: -m angel_one_mcp.server

Environment Variables

VariableRequiredDescription
ANGELONE_API_KEYYesSmartAPI key from developer portal
ANGELONE_CLIENT_CODEYesYour Angel One client ID
ANGELONE_PASSWORDYesYour Angel One PIN
ANGELONE_TOTP_SECRETYesTOTP secret for auto-OTP generation
ANGELONE_MCP_TRANSPORTNostdio (default) or streamable_http
ANGELONE_MCP_PORTNoPort for HTTP mode (default: 8000)

Angel One SmartAPI — Free

Angel One SmartAPI is completely free:

  • No monthly charges
  • Free API access for trading, portfolio, and market data
  • Historical candle data included
  • Option chain and analytics included

Just need an active Angel One trading account.

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.