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.2.tar.gz (4.2 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.2.tar.gz.

File metadata

  • Download URL: iflow_mcp_rohandoshi21_angelone_mcp-0.1.2.tar.gz
  • Upload date:
  • Size: 4.2 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.2.tar.gz
Algorithm Hash digest
SHA256 209e74a5eb3d2c18a81d9fe3c728c9866d1b65a8e0df88228d959ac791ccd3b4
MD5 51f04c5a35ee031fd789389e067d538e
BLAKE2b-256 a2ba2503b8f3719e3792e8e96e870b3c2988c47924dfe1c62ade9d6b23c65c76

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iflow_mcp_rohandoshi21_angelone_mcp-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 8.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 30c9604b8e0b0361ddd47d249d107d1f0c51331b18cc77f2ebac81cffaf3a0f2
MD5 d679c5eda5094619df609d985f6b5cb1
BLAKE2b-256 ef0128b7b008a3f7443f1c5c5b1bce3f2070807d08447869617e3b94973f4c82

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