Connect to Paradex for Trading and Market Data
Paradex MCP Server: Connect AI assistants to the Paradex perpetual futures trading platform for market data, account management, and order execution.
Maintainer of this project? Claim this page to edit the listing.
0.1.1Add to Favorites
Why it matters
Integrate with the Paradex trading platform to programmatically access market data, manage trading accounts, and execute orders. This asset enables AI assistants to interact with the Paradex ecosystem for automated trading and analysis.
Outcomes
What it gets done
Retrieve real-time market data and order book information.
Manage trading accounts, positions, and balances.
Place, monitor, and manage buy/sell orders.
Access historical trading data and funding rates.
Install
Add it to your toolbox
Run in your project directory:
curl -fsSL https://spark.entire.vc/get/vb-paradex-mcp | bash Capabilities
Tools your agent gets
Get global system configuration
Get current system state
Get detailed market information
Get market summaries with metrics
Get historical funding rate data
Get current order book with customizable depth
Get historical candlestick data
Get recent trades
Overview
Paradex MCP Server
Paradex MCP Server 2024-07-25T10:00:00Z
What it does
This project provides a bridge between AI assistants and the Paradex perpetual futures trading platform using the Model Context Protocol (MCP) standard. AI assistants can retrieve market data, manage trading accounts and vaults, place and manage orders, and monitor positions and balance.
To get started, you can install the server using pip:
pip install mcp-paradex
Or, for a recommended approach using uvx:
uvx mcp-paradex
For integration with Claude Desktop, you can add the following configuration to your claude_desktop_config.json:
{
"mcpServers": {
"paradex": {
"command": "uvx",
"args": ["mcp-paradex"],
"env": {
"PARADEX_ENVIRONMENT": "testnet",
"PARADEX_ACCOUNT_PRIVATE_KEY": "your_private_key"
}
}
}
}
Source README
MCP Paradex Server
Up to date supported version can be found here https://github.com/tradeparadex/mcp-paradex-py
Model Context Protocol (MCP) server implementation for the Paradex trading platform.
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
Quick Start
Cursor IDE
Click to automatically configure this MCP server in Cursor:
Claude Code CLI
claude mcp add paradex uvx mcp-paradex
Smithery (Claude Desktop)
npx -y @smithery/cli install @sv/mcp-paradex-py --client claude
Standard Installation
PyPI
pip install mcp-paradex
uvx (Recommended)
uvx mcp-paradex
Development Setup
Clone the repository:
git clone https://github.com/sv/mcp-paradex-py.git cd mcp-paradex-pyInstall development dependencies:
uv sync --dev --all-extrasRun locally:
uv run mcp-paradex
Configuration
Environment Variables
Set these environment variables for authentication:
PARADEX_ENVIRONMENT: Set toprod,testnet, ornightly(default:prod)PARADEX_ACCOUNT_PRIVATE_KEY: Your Paradex account private key
Using .env File
cp .env.template .env
# Edit .env with your credentials
Client Configuration
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"paradex": {
"command": "uvx",
"args": ["mcp-paradex"],
"env": {
"PARADEX_ENVIRONMENT": "testnet",
"PARADEX_ACCOUNT_PRIVATE_KEY": "your_private_key"
}
}
}
}
Docker (local / stdio)
# Build image
docker build . -t sv/mcp-paradex-py
# Run (public only)
docker run --rm -i sv/mcp-paradex-py
# Run with trading capabilities
docker run --rm -e PARADEX_ACCOUNT_PRIVATE_KEY=your_key -i sv/mcp-paradex-py
Docker (AWS Lambda / HTTP)
Use Dockerfile.aws for remote deployments via AWS Lambda with the
Lambda Web Adapter.
The adapter bridges Lambda invocations to the server's HTTP endpoint,
so no Lambda-specific code is needed.
# Build
docker build -f Dockerfile.aws -t sv/mcp-paradex-py-aws .
# Test locally (mirrors Lambda config)
docker run --rm -p 8080:8080 \
-e MCP_TRANSPORT=streamable-http \
-e MCP_STATELESS=true \
-e MCP_PORT=8080 \
-e PARADEX_ENVIRONMENT=prod \
sv/mcp-paradex-py-aws
The server will be available at http://localhost:8080/mcp.
Deploying to Lambda:
- Push the image to ECR
- Create a Lambda function from the container image
- Set the Lambda Function URL invoke mode to
RESPONSE_STREAM - Set environment variables on the Lambda function:
MCP_TRANSPORT=streamable-httpMCP_STATELESS=truePARADEX_ENVIRONMENT=prod(ortestnet)PARADEX_ACCOUNT_PRIVATE_KEY=your_key(optional, for trading)
Available Resources and Tools
Resources
System Resources
paradex://system/config- Get Paradex system configurationparadex://system/time- Get current system timeparadex://system/state- Get system operational state
Market Resources
paradex://markets- List of available marketsparadex://market/summary/{market_id}- Detailed market information
Vault Resources
paradex://vaults- List all vaultsparadex://vaults/config- Global vault configurationparadex://vaults/balance/{vault_id}- Vault balanceparadex://vaults/summary/{vault_id}- Comprehensive vault summaryparadex://vaults/transfers/{vault_id}- Deposit/withdrawal historyparadex://vaults/positions/{vault_id}- Current trading positionsparadex://vaults/account-summary/{vault_id}- Trading account information
Tools
System Tools
paradex_system_config- Get global system configurationparadex_system_state- Get current system state
Market Tools
paradex_markets- Get detailed market informationparadex_market_summaries- Get market summaries with metricsparadex_funding_data- Get historical funding rate dataparadex_orderbook- Get current orderbook with customizable depthparadex_klines- Get historical candlestick dataparadex_trades- Get recent tradesparadex_bbo- Get best bid and offer
Account Tools
paradex_account_summary- Get account summaryparadex_account_positions- Get current positionsparadex_account_fills- Get trade fillsparadex_account_funding_payments- Get funding paymentsparadex_account_transactions- Get transaction history
Order Tools
paradex_open_orders- Get all open ordersparadex_create_order- Create new orderparadex_cancel_orders- Cancel existing ordersparadex_order_status- Get order statusparadex_orders_history- Get historical orders
Vault Tools
paradex_vaults- Get detailed vault informationparadex_vaults_config- Get global vault configurationparadex_vault_balance- Get vault balanceparadex_vault_summary- Get comprehensive vault summaryparadex_vault_transfers- Get deposit/withdrawal historyparadex_vault_positions- Get current vault positionsparadex_vault_account_summary- Get vault trading account info
Trading Analysis Prompts
Market Analysis
market_overview- Comprehensive crypto market overviewmarket_analysis- Detailed technical and microstructure analysis
Position and Portfolio Management
position_management- Comprehensive position analysiscreate_optimal_order- Design optimal order parametershedging_strategy- Develop effective hedging strategiesportfolio_risk_assessment- Thorough portfolio risk analysisliquidation_protection- Identify and mitigate liquidation risks
Investment Strategies
vault_analysis- Comprehensive vault analysis for investment decisionsfunding_rate_opportunity- Identify funding rate arbitrage opportunitiestrading_consultation- Interactive trading advice and consultation
Documentation MCP
Enhanced results with Paradex documentation access:
"paradex-docs-mcp": {
"command": "uvx",
"args": [
"--from",
"mcpdoc",
"mcpdoc",
"--urls",
"Paradex:https://docs.paradex.trade/llms.txt",
"--transport",
"stdio"
]
}
FAQ
Common questions
Discussion
Questions & comments · 0
Sign In Sign in to leave a comment.