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

File metadata

  • Download URL: iflow_mcp_rohandoshi21_angelone_mcp-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 4ff714ed00939eccbcf91b3cdecfa5fc01d95f9aadc9e85bd12d1aff50ae5dec
MD5 b16025e12835a5e7945caa015424659d
BLAKE2b-256 edf5c573bf510a2eacaf7f0d046988d23c4cfb0dffcc6109c58a821c4feffb67

See more details on using hashes here.

File details

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

File metadata

  • Download URL: iflow_mcp_rohandoshi21_angelone_mcp-0.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b8fbaafa1b04118faed51fc83f7e0b005c926688e4075994e88c10067c4b8f68
MD5 eba1c7ba36500fd2c8e8bc1806e8286f
BLAKE2b-256 7e71919cc5f4fdf51d6eade23b0c4a55e4507e7b6d02744af62bb1324303ee38

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