MCP Paradex Server

MCP Paradex Server

A bridge between AI assistants and the Paradex perpetual futures trading platform that enables retrieving market data, managing trading accounts, placing orders, and monitoring positions.

Category
访问服务器

README

MCP Paradex Server

smithery badge

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

<a href="https://glama.ai/mcp/servers/cq4bz5ljqj"> <img width="380" height="200" src="https://glama.ai/mcp/servers/cq4bz5ljqj/badge" alt="Paradex Server MCP server" /> </a>

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 (recommended)

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

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选