Sponsored by Deepsite.site

Mcp Paradex Server

Created By
sv7 months ago
Content

MCP Paradex Server

smithery badge

Model Context Protocol (MCP) server implementation for the Paradex trading platform.

Paradex Server MCP server

Overview

This project provides a bridge between AI assistants (like Claude) and the Paradex perpetual futures trading platform. Using the MCP standard, AI assistants can:

  • Retrieve market data from Paradex
  • Manage trading accounts and vaults
  • Place and manage orders
  • Monitor positions and balance

Prerequisites

  • Python 3.10+

Installation

Installing via Smithery

To install mcp-paradex-py for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @sv/mcp-paradex-py --client claude

Using uv (faster alternative)

  1. Clone this repository:

    git clone https://github.com/sv/mcp-paradex-py.git
    cd mcp-paradex-py
    
  2. Create a virtual environment:

    uv venv
    source .venv/bin/activate  # On Windows: .venv\Scripts\activate
    
  3. Install dependencies:

   uv pip install -e .

Configuration

Set up your configuration:

cp .env.template .env

Then edit the .env file with your Paradex credentials.

Running the Server

docker build . -t sv/mcp-paradex-py

In Cursor add MCP as command

Public only

docker run --rm -i sv/mcp-paradex-py

Allow trading

docker run --rm -e PARADEX_ACCOUNT_PRIVATE_KEY=0xprivatekey -i sv/mcp-paradex-py

Smithery.ai Integration

This MCP server is compatible with Smithery.ai, a platform for discovering and deploying MCP servers.

Claude Desktop Configuration

To use this server with Claude Desktop via Smithery.ai:

  1. Open Claude Desktop and enable Developer Mode from the menu
  2. Go to Settings > Developer and click "Edit Config"
  3. Add the following configuration to your claude_desktop_config.json:
{
  "mcpServers": {
    "paradex": {
      "command": "uvx",
      "args": ["--with-editable", ".", "mcp-paradex"],
      "env": {
        "PARADEX_ENVIRONMENT": "testnet",
        "PARADEX_ACCOUNT_PRIVATE_KEY": "your_private_key"
      }
    }
  }
}
  1. Replace your_ethereum_private_key with your actual Paradex private key
  2. Save the file and restart Claude Desktop

Smithery.ai Registry

The server includes a smithery.yaml file with metadata for the Smithery.ai registry. If you want to publish this server to Smithery.ai, you can use the Smithery CLI:

# Install Smithery CLI
npm install -g @smithery/cli

# Login to Smithery
smithery login

# Publish the server
smithery publish

For more information about publishing to Smithery.ai, see the Smithery documentation.

Available Resources and Tools

Resources

System Resources

  • paradex://system/config - Get Paradex system configuration and basic information about the exchange
  • paradex://system/time - Get current system time in milliseconds since epoch
  • paradex://system/state - Get the current Paradex system operational state

Market Resources

  • paradex://markets - Get a list of available markets from Paradex
  • paradex://market/summary/{market_id} - Get detailed market information for a specific trading pair

Vault Resources

  • paradex://vaults - List all vaults available on Paradex
  • paradex://vaults/config - Get global configuration for vaults
  • paradex://vaults/balance/{vault_id} - Get the balance of a specific vault
  • paradex://vaults/summary/{vault_id} - Get comprehensive summary of a vault
  • paradex://vaults/transfers/{vault_id} - Get deposit and withdrawal history for a vault
  • paradex://vaults/positions/{vault_id} - Get current trading positions for a vault
  • paradex://vaults/account-summary/{vault_id} - Get trading account information for a vault

Tools

System Tools

  • paradex_system_config - Get global Paradex system configuration
  • paradex_system_state - Get current system state

Market Tools

  • paradex_markets - Get detailed information about markets, including base/quote assets, tick size, and other trading parameters
  • paradex_market_summaries - Get summaries with price, volume, 24h change, and other key market metrics
  • paradex_funding_data - Get historical funding rate data for perpetual markets
  • paradex_orderbook - Get the current orderbook for a market with customizable depth
  • paradex_klines - Get historical candlestick (OHLCV) data for a market
  • paradex_trades - Get recent trades for a market with price, size, and timestamp information
  • paradex_bbo - Get best bid and offer (tightest spread) for a market

Account Tools

  • paradex_account_summary - Get account summary information
  • paradex_account_positions - Get current account positions
  • paradex_account_fills - Get account trade fills
  • paradex_account_funding_payments - Get account funding payments
  • paradex_account_transactions - Get account transaction history

Order Tools

  • paradex_open_orders - Get all open orders for an account
  • paradex_create_order - Create a new order on Paradex
  • paradex_cancel_orders - Cancel existing orders
  • paradex_order_status - Get the status of an order
  • paradex_orders_history - Get historical orders for an account

Vault Tools

  • paradex_vaults - Get detailed information about specific vaults or all vaults with filtering options
  • paradex_vaults_config - Get global configuration for vaults including fees, limits, and other settings
  • paradex_vault_balance - Get the current balance of a vault with available/locked funds information
  • paradex_vault_summary - Get comprehensive summary of vault performance, balance, and activity
  • paradex_vault_transfers - Get deposit and withdrawal history for a vault
  • paradex_vault_positions - Get current trading positions for a vault with market, size, entry price details
  • paradex_vault_account_summary - Get trading account information for a vault including margin and risk metrics

Trading Analysis Prompts

This MCP server provides structured prompts that AI assistants can use to perform complex trading analysis and generate trading strategies.

Market Analysis

  • market_overview - Get comprehensive overview of the crypto market, including top gainers/losers, high-volume markets, funding rate anomalies, and market microstructure analysis
  • market_analysis - Detailed technical and microstructure analysis of a specific market, with support/resistance levels, chart patterns, orderbook analysis, and position recommendations

Position and Portfolio Management

  • position_management - Comprehensive analysis of existing positions, including portfolio heat, correlation, risk metrics, and specific recommendations for profit-taking and loss management
  • create_optimal_order - Design optimal order parameters for a market based on volatility, liquidity, risk tolerance, and ideal entry strategy
  • hedging_strategy - Develop effective hedging strategies for specific positions using correlation analysis, hedge ratio calculation, and implementation planning
  • portfolio_risk_assessment - Thorough risk analysis of trading portfolio, including exposure analysis, correlation assessment, VaR calculations, and risk reduction recommendations
  • liquidation_protection - Identify and mitigate liquidation risks for open positions with severity classification and protection strategies

Investment Strategies

  • vault_analysis - Comprehensive analysis of vaults for investment decision-making, with performance metrics, risk profiles, and suitability assessment
  • funding_rate_opportunity - Identify and evaluate funding rate arbitrage opportunities across markets, including yield calculations and implementation strategies
  • trading_consultation - Interactive prompt sequence for personalized trading advice and consultation

Documentation MCP

We have seen significantly better results with giving client access to Paradex documentation

"paradex-docs-mcp": {
   "command": "uvx",
   "args": [
      "--from",
      "mcpdoc",
      "mcpdoc",
      "--urls",
      "Paradex:https://docs.paradex.trade/llms.txt",
      "--transport",
      "stdio"
   ]
}

Contributing

Please see CONTRIBUTING.md for information on how to contribute to this project, development setup, and our coding standards.

License

MIT License

Server Config

{
  "mcpServers": {
    "paradex": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "sv/mcp-paradex-py"
      ]
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Serper MCP ServerA Serper MCP Server
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Tavily Mcp
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
CursorThe AI Code Editor
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Playwright McpPlaywright MCP server
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
WindsurfThe new purpose-built IDE to harness magic
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
DeepChatYour AI Partner on Desktop
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
ChatWiseThe second fastest AI chatbot™
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Amap Maps高德地图官方 MCP Server