Submit

Dhan Broker MCP Trades

@mayankthole

Dhan Trading MCP Server A Model Context Protocol (MCP) server integration for the Dhan Trading API, allowing Claude to access your trading account information. Overview This project creates an MCP server that connects the Dhan Trading API with Claude AI, enabling Claude to: Check your account balance View your holdings and positions Get live profit and loss information Fetch latest trading prices Place and manage orders Installation Prerequisites Python 3.8+ installed Claude Desktop application Dhan Trading account with API credentials

Server Config

{
  "mcpServers": {
    "after-market-order": {
      "command": "/Library/Frameworks/Python.framework/Versions/3.13/bin/python3",
      "args": [
        "/Users/mayankthole/Desktop/Dhan Broker MCP trades/after_market_order_tool.py"
      ]
    },
    "fund-balance": {
      "command": "/Library/Frameworks/Python.framework/Versions/3.13/bin/python3",
      "args": [
        "/Users/mayankthole/Desktop/Dhan Broker MCP trades/fund_balance_tool.py"
      ]
    },
    "holdings-positions": {
      "command": "/Library/Frameworks/Python.framework/Versions/3.13/bin/python3",
      "args": [
        "/Users/mayankthole/Desktop/Dhan Broker MCP trades/holdings_positions_tool.py"
      ]
    },
    "margin-calculator": {
      "command": "/Library/Frameworks/Python.framework/Versions/3.13/bin/python3",
      "args": [
        "/Users/mayankthole/Desktop/Dhan Broker MCP trades/margin_calculator_tool.py"
      ]
    },
    "order-book": {
      "command": "/Library/Frameworks/Python.framework/Versions/3.13/bin/python3",
      "args": [
        "/Users/mayankthole/Desktop/Dhan Broker MCP trades/order_book_tool.py"
      ]
    },
    "order-placement": {
      "command": "/Library/Frameworks/Python.framework/Versions/3.13/bin/python3",
      "args": [
        "/Users/mayankthole/Desktop/Dhan Broker MCP trades/order_placement_tool.py"
      ]
    },
    "portfolio-server": {
      "command": "/Library/Frameworks/Python.framework/Versions/3.13/bin/python3",
      "args": [
        "/Users/mayankthole/Desktop/Dhan Broker MCP trades/portfolio_server.py"
      ]
    },
    "super-order": {
      "command": "/Library/Frameworks/Python.framework/Versions/3.13/bin/python3",
      "args": [
        "/Users/mayankthole/Desktop/Dhan Broker MCP trades/super-order.py"
      ]
    }
  }
}
© 2025 MCP.so. All rights reserved.

Build with ShipAny.