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.3.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.3.tar.gz.

File metadata

  • Download URL: iflow_mcp_rohandoshi21_angelone_mcp-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 aa2d488f3ae76d148ca684881af76ac22e879841bf26588ad04f090d607f184b
MD5 b8c04faa618434144d33f7e70f182e98
BLAKE2b-256 9849904d062306719a3ba59055ddbb23bad4b2eaeac9d97ce2efc1422fa294d2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iflow_mcp_rohandoshi21_angelone_mcp-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 74576a41c687d6360d5ce139a21738a1e818287efaa19591ab5dd1c14110b939
MD5 cadb5631b844a43bc5748b02c8d63976
BLAKE2b-256 dc1f2d89dd7093e54f566a2dabd35c50f3fce45fa8be5bb69e8da49712436485

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