Angle One Stock MCP Server
by himanshuteotia
A generic MCP server for fetching stock data and technical analysis from the Angle One API. It can be used with any platform that supports the MCP protocol.
Last updated: N/A
What is Angle One Stock MCP Server?
This is a generic Model Control Protocol (MCP) server that retrieves stock data and calculates technical indicators using the Angle One API. It provides a RESTful API to access this data and is designed for integration with platforms that support the MCP protocol.
How to use Angle One Stock MCP Server?
- Clone the repository. 2. Install dependencies using
npm install
. 3. Create a.env
file with your Angle One API credentials. 4. Run the server in development mode usingnpm run dev
or build and run in production usingnpm run build
andnpm start
. 5. Access stock data via the/api/stock/:symbol
endpoint.
Key features of Angle One Stock MCP Server
Fetches historical stock data
Calculates technical indicators (RSI, EMA-20, EMA-50)
RESTful API endpoints
CORS enabled
Written in TypeScript
Generic MCP Integration
Use cases of Angle One Stock MCP Server
Integrating stock data into AI platforms (Cursor, Copilot, Claude AI)
Building financial dashboards
Developing algorithmic trading strategies
Performing technical analysis on stocks
FAQ from Angle One Stock MCP Server
What is the default data period?
What is the default data period?
The default data period is 6 months, configurable via the DATA_PERIOD_MONTHS
environment variable.
What technical indicators are calculated?
What technical indicators are calculated?
The server calculates RSI (14 periods), EMA-20, and EMA-50.
What are the prerequisites for running the server?
What are the prerequisites for running the server?
You need Node.js (v14 or higher), Angle One API credentials, and an MCP-supporting platform.
How do I configure the server?
How do I configure the server?
Configuration is done through environment variables, particularly for Angle One API credentials and the data period.
How do I access the API?
How do I access the API?
Use the GET /api/stock/:symbol
endpoint, replacing :symbol
with the desired stock symbol (e.g., RELIANCE).