Skip to main content

Add your description here

Project description

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

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

Screenshot 2025-04-29 at 11 35 09 PM Screenshot 2025-04-29 at 11 37 03 PM

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iflow_mcp_rohandoshi21_angelone_mcp-0.1.5.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file iflow_mcp_rohandoshi21_angelone_mcp-0.1.5.tar.gz.

File metadata

  • Download URL: iflow_mcp_rohandoshi21_angelone_mcp-0.1.5.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_rohandoshi21_angelone_mcp-0.1.5.tar.gz
Algorithm Hash digest
SHA256 197bde3add486451802be5f6c638a7bdf4680f12f281aeaa008a6045d94c1cd4
MD5 40a1800a1ab8af8b6282b251f6f12b85
BLAKE2b-256 b40355af51821d0bd2ee6992c642b23c94d2694586bb3b04f857e10e5bbcca4f

See more details on using hashes here.

File details

Details for the file iflow_mcp_rohandoshi21_angelone_mcp-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: iflow_mcp_rohandoshi21_angelone_mcp-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 8.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for iflow_mcp_rohandoshi21_angelone_mcp-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 abd6d08ea358e7a07982f7390d680dde13458cbb7165c1f824ba03c808a65f9e
MD5 0c8947fc4d84f3db3cf3646139acd083
BLAKE2b-256 e5a8ab97ce9ae410e88a1a3435ec8bb82b0138c8de6d204e68aa1bee998fc4e4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page