Finance · AI Chatbot

Dhan Trading logo

Dhan Trading

mayankthole/dhan-mcp-trades

An AI-powered trading assistant for DhanHQ broker built with Model Context Protocol (MCP). This project enables natural language interaction with the DhanHQ trading platform, allowing you to place orders, check your portfolio, and manage your trading activities through simple conversational commands.

Install

See repository

Setup steps are in the repository README.

Open README
GitHub stars
1
Category
Finance, AI Chatbot
License
MIT
Updated
Oct 6, 2026

Features

  • Regular orders (market/limit) via order_placement_tool.py

  • Super orders with target and stop-loss via super-order.py

  • After-market orders via after_market_order_tool.py

  • Access order book and trade history via order_book_tool.py

  • View holdings and positions via holdings_positions_tool.py

  • Convert positions (e.g., intraday to delivery)

  • Check fund balance via fund_balance_tool.py

  • Calculate margin requirements via margin_calculator_tool.py

Tools (8)

  • order_placement_tool.py

    Handles basic order placement (market and limit orders).

  • super-order.py

    Manages super orders with target and stop-loss limits that can be specified in absolute values or percentages.

  • after_market_order_tool.py

    Places orders outside market hours to be executed on the next trading day.

  • fund_balance_tool.py

    Retrieves account fund information and calculates margin requirements.

  • holdings_positions_tool.py

    Retrieves holdings and positions information, allows conversion between product types.

  • margin_calculator_tool.py

    Calculates margin requirements for potential trades.

  • order_book_tool.py

    Provides access to order history, trade book, and enables order cancellation.

  • portfolio_server.py

    Main interface for portfolio management.

Details on this page are taken from the project's README. Open README

Related MCP servers

More servers
Stripe Agent Toolkit logo

Stripe Agent Toolkit

stripe/agent-toolkit

677

It contains a collection of SDKs to help you integrate Stripe with LLMs and agent frameworks, including.

Finance
Awesome Web3 MCP Servers logo

Awesome Web3 MCP Servers

demcp/awesome-web3-mcp-servers

405

MCP is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect your devices to various peripherals and accessories, MCP provides a standardized way to connect AI models to different data sources and tools.

Finance
Financial Datasets logo

Financial Datasets

financial-datasets/mcp-server

225

This is a Model Context Protocol (MCP) server that provides access to stock market data from Financial Datasets.

Finance
lyraios logo

lyraios

GalaxyLLMCI/lyraios

216

LYRAI is a Model Context Protocol (MCP) operating system for multi-AI AGENTs designed to extend the functionality of AI applications (such as Claude Desktop and Cursor) by enabling them to interact with financial networks and blockchain public chains.

Finance
EVM Blockchain logo

EVM Blockchain

mcpdotdirect/evm-mcp-server

216

A comprehensive Model Context Protocol (MCP) server that provides blockchain services across 60+ EVM-compatible networks. This server enables AI agents to interact with Ethereum, Optimism, Arbitrum, Base, Polygon, and many other EVM chains with a unified interface through 22 tools and 10 AI-guided prompts.

Finance
longport logo

longport

longportapp/openapi

206

Longport OpenAPI provides programmatic quote trading interfaces for investors with research and development capabilities and assists them to build trading or quote strategy analysis tools based on their own investment strategies. The functions fall into the following categories.

Finance