Overview
What is Angel One MCP?
Angel One MCP is a Model Context Protocol server that integrates with the Angel One trading platform, enabling users to retrieve historical market data and portfolio information through Angel One’s trading APIs. It is intended for traders and developers who hold an Angel One account and API credentials.
How to use Angel One MCP?
Install Python 3.10, clone the repository, initialize submodules, create a virtual environment, install dependencies with uv, and configure your credentials in a test_credentials.py file in the root directory. Then run api.py as an MCP server using the uv command, specifying the directory and script in your MCP client configuration.
Key features of Angel One MCP
- Retrieves historical trading data
- Retrieves portfolio data
- Requires Python 3.10
- Uses Angel One trading API credentials
- Runs as an MCP server via
uv
Use cases of Angel One MCP
- Fetch historical price data for backtesting or analysis
- View current portfolio holdings or positions
FAQ from Angel One MCP
What are the prerequisites?
Python 3.10, an Angel One trading account, and API credentials from Angel One.
How do I configure my credentials?
Create a test_credentials.py file in the root directory with the fields API_KEY, CLIENT_CODE, PASSWORD, PIN, and optionally TOKEN.
How do I run the server?
Add the server configuration to your MCP client, using uv as the command and pointing to the api.py file in the cloned directory.
Is the TOKEN field required?
No, it is optional.
What data can I access?
The server provides access to historical data and portfolio data via the Angel One trading API.