Angel One MCP (Model Context Protocol)

by ankushCodeX

340 downloads
Not rated
GitHub

About

Angel One MCP is a Model Context Protocol server that enables interaction with Angel One’s trading APIs to retrieve historical data and portfolio data. It is designed for developers who use MCP-compatible clients (e.g., Anthropic Desktop, Cline) and have an Angel One trading…

Details

Author
ankushCodeX
Downloads
340
Categories
Other

- Fetch historical trading data from Angel One.
- Retrieve current portfolio information.
- Integrates with MCP-compatible AI clients.
- Configured via a single api.py file.
- Uses the uv package manager for dependency management.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Angel One MCP (Model Context Protocol)
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository and install dependencies via uv pip install -r requirements.txt. Hardcode your Angel One API credentials (API key, client code, password, token) in api.py, then start the server by configuring your MCP client (e.g., Anthropic Desktop or Cline) to run api.py using uv.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "angel one mcp (model context protocol)": {
            "mcpserver-AngleOne": {
                "command": "python",
                "args": [
                    "-m",
                    "venv",
                    "venv"
                ]
            }
        }
    }
}

McpServers

{
    "mcpserver-AngleOne": {
        "command": "python",
        "args": [
            "-m",
            "venv",
            "venv"
        ]
    }
}

Angel One MCP (Model Context Protocol)

What is MCP: For detailed understanding follow the blog: https://norahsakal.com/blog/mcp-vs-api-model-context-protocol-explained/ 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

Installation

1. Clone the repository: ``bash git clone https://github.com/yourusername/angelone-mcp.git cd angelone-mcp git submodule update --init --recursive ` 2. Create a virtual environment (recommended): `bash python -m venv venv source venv/bin/activate # On Windows, use venv\Scripts\activate ` 3. Install the required dependencies: Linux/Mac `bash curl -LsSf https://astral.sh/uv/install.sh | sh ` Windows: `powershell irm https://astral.sh/uv/install.ps1 | iex ` `bash uv pip install -r requirements.txt `

Configuration

1. Inside api.py file hardcode following parameters with your Angel One credentials:
``python
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.