openalgo
Open Source Algo Trading Platform for Everyone
OpenAlgo MCP server enables AI assistants to execute algorithmic trading operations through natural language commands. This Model Context Protocol integration connects Claude Desktop, Cursor, Windsurf, and ChatGPT to a self-hosted trading platform that supports 36 broker plugins across securities and crypto derivatives. Developers can build AI-powered trading workflows that place orders, query positions, and access market data using conversational interfaces. The MCP server provides secure, local integration with the full OpenAlgo REST API and WebSocket streaming capabilities.
Key Features
Use Cases
- 01Execute stock and options trades using natural language queries in Claude Desktop or Cursor
- 02Query current portfolio positions, P&L, and fund balances through AI assistant chat
- 03Retrieve real-time market data and option chain information via conversational commands
- 04Monitor open orders and trade history by asking AI assistants for status updates
- 05Build AI-powered trading workflows that combine market analysis with order execution
- 06Prototype and test trading ideas through natural language without writing integration code
Related MCP Servers
View moremarkitdown
Python tool for converting files and office documents to Markdown.
firecrawl
The context API to search, scrape, and interact with the web at scale. 🔥
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
langflow
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
openalgo — FAQ
What is the OpenAlgo MCP server?+
The OpenAlgo MCP server is a Model Context Protocol integration that allows AI assistants like Claude Desktop, Cursor, Windsurf, and ChatGPT to execute trading operations through natural language. It provides secure access to order placement, portfolio queries, and market data from a self-hosted OpenAlgo trading platform.
How do I install and connect the OpenAlgo MCP server?+
First install and run OpenAlgo locally (requires Python 3.12+, 2GB RAM, and broker API credentials configured in .env). Then add the MCP server configuration to your AI client's config file (e.g., claude_desktop_config.json) pointing to your local OpenAlgo instance endpoint. Full setup instructions are available at docs.openalgo.in.
Which AI clients work with the OpenAlgo MCP server?+
The OpenAlgo MCP server is compatible with Claude Desktop, Cursor, Windsurf, and ChatGPT. It follows the standard Model Context Protocol specification for AI assistant integrations.
Do I need broker API keys to use the OpenAlgo MCP server?+
Yes, you need API credentials from one of the 36 supported brokers (including Zerodha, AngelOne, Upstox, Fyers, Delta Exchange, etc.). These credentials are configured in the .env file during OpenAlgo setup and are required for live trading operations.
Is the OpenAlgo MCP server free and open source?+
Yes, OpenAlgo is released under the AGPL V3.0 license and is completely free and open source. The platform runs self-hosted with zero data collection, so all your trading data stays on your own server.
Can I test trading strategies without risking real money through the MCP server?+
Yes, OpenAlgo includes an API Analyzer Mode with ₹1 Crore virtual capital that lets you test strategies with real market data. This sandbox environment supports core order types (MARKET, LIMIT, SL, SL-M) and maintains complete isolation from live broker accounts.
How do I install openalgo?+
Open the source repository on GitHub and follow its README. openalgo is a mcp server — MCP Agents Market links you directly to the official repo.
Is openalgo free?+
openalgo is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.