Skip to main content
Glama
RohanDoshi21

Angel One MCP Server

by RohanDoshi21

Angel One MCP (Model Context Protocol)

This repository contains the Model Context Protocol implementation for Angel One trading platform, allowing you to interact with Angel One's trading APIs to get history data and get portfolio data.

Prerequisites

  • Python 3.10

  • Angel One trading account

  • API credentials from Angel One

Related MCP server: Angel One MCP Server

Installation

  1. Clone the repository:

git clone https://github.com/yourusername/angelone-mcp.git
cd angelone-mcp
git submodule update --init --recursive
  1. Create a virtual environment (recommended):

python -m venv venv
source venv/bin/activate  # On Windows, use `venv\Scripts\activate`
  1. Install the required dependencies:

curl -LsSf https://astral.sh/uv/install.sh | sh
uv pip install -r requirements.txt

Configuration

  1. Create a test_credentials.py file in the root directory with your Angel One credentials:

# test_credentials.py
API_KEY = "your_api_key"
CLIENT_CODE = "your_client_code"
PASSWORD = "your_password"
PIN = "your_pin"
TOKEN = "your_token"  # Optional

Usage

  1. You can start api.py as an mcp server to your mcp client

{
    "mcp": {
        "servers": {
            "angleone": {
                "command": "/Users/rohandoshi/.local/bin/uv",
                "args": [
                    "--directory",
                    "/Users/rohandoshi/Development/angelone-mcp",
                    "run",
                    "api.py"
                ]
            },
        }
    }
}

Results

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
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables LLM agents to analyze portfolios and execute orders on the Indian stock market via Upstox API v2 using natural language.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables interaction with the Upstox trading API via natural language to fetch user profile, funds, holdings, positions, orders, and trades.
    -