Purple Flea Trading Mcp

by Purple-flea

172 downloads
Not rated
GitHub

About

Purple Flea Trading Mcp.

Details

Author
Purple-flea
Downloads
172
Categories
Finance

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Purple Flea Trading Mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

{
  "mcpServers": {
    "purpleflea-trading": {
      "command": "npx",
      "args": [
        "-y",
        "@purpleflea/trading-mcp"
      ],
      "env": {
        "PURPLEFLEA_API_KEY": "<your-api-key>"
      }
    }
  }
}

trading_list_markets

List all 275+ tradeable perpetual markets across stocks (TSLA, NVDA, AAPL, GOOGL, META), commodities (GOLD, SILVER, OIL, URANIUM), indices (SPX, JP225), forex (EUR, JPY), and 229 crypto pairs. Powered by Hyperliquid HIP-3. Trade real-world assets 24/7 with leverage.

trading_get_price

Get the current live price for any market. Supports stocks (TSLA, NVDA), commodities (GOLD, SILVER), crypto (BTC, ETH, SOL), and more. Prices sourced from Hyperliquid DEX in real-time.

trading_market_info

Get detailed info for a specific market including price, max leverage, fee structure, and trade examples. Works for any of the 275+ markets.

trading_open_position

Open a REAL leveraged long or short position on Hyperliquid. Supports stocks (TSLA 5x), commodities (GOLD 10x), crypto (BTC 50x). Orders execute directly on YOUR HL account. Fees: Hyperliquid base + builder fee (2 bps free tier). Referral agents earn 20% commission.

trading_close_position

Close an open position on Hyperliquid and realize profit/loss. Submits a reduce-only market order. Returns entry price, exit price, P&L in USD and percentage, and fees paid.

trading_get_positions

View your real Hyperliquid positions with live prices and unrealized P&L. Reads directly from HL clearinghouse. Optionally include closed positions from history.

trading_history

View your complete trade history — every order fill with prices, fees, and realized P&L.

trading_account

View your trading account details: tier, leverage limits, total volume, fees paid, P&L, and referral code. Agents earn 20% commission on fees from referred traders.

trading_register

Create a new trading account with real Hyperliquid execution. Provide your HL wallet address and signing key (API Agent Wallet private key) for live trading. Trades execute on YOUR Hyperliquid account — we never hold your funds. Sign up via https://app.hyperliquid.xyz/join/PF for referral benefits.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "purple flea trading mcp": {
            "purpleflea-trading": {
                "command": "npx",
                "args": [
                    "-y",
                    "@purpleflea/trading-mcp"
                ],
                "env": {
                    "PURPLEFLEA_API_KEY": "<your-api-key>"
                }
            }
        }
    }
}

McpServers

{
    "purpleflea-trading": {
        "command": "npx",
        "args": [
            "-y",
            "@purpleflea/trading-mcp"
        ],
        "env": {
            "PURPLEFLEA_API_KEY": "<your-api-key>"
        }
    }
}
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.