by sv
Connect AI agents to the Paradex trading platform, retrieve market data, manage accounts, and execute trades seamlessly with automated tools and real-time insights.
Mcp Paradex Py provides a bridge between AI assistants (e.g., Claude) and the Paradex perpetual futures trading platform. By implementing the Model Context Protocol (MCP) server, it enables AI agents to query market data, manage vaults and accounts, place and cancel orders, and monitor positions directly from the Paradex ecosystem.
pip install mcp-paradex
# or, recommended
uvx mcp-paradex
PARADEX_ENVIRONMENT= testnet | mainnet
PARADEX_ACCOUNT_PRIVATE_KEY= <your_private_key>
You can place these in a .env
file based on the provided template.uv run mcp-paradex
Q: Which Python version is required? A: Python 3.10 or newer.
Q: How do I switch between testnet and mainnet?
A: Set the PARADEX_ENVIRONMENT
environment variable to testnet
or mainnet
.
Q: Can I run the server without exposing my private key?
A: Yes. Running without PARADEX_ACCOUNT_PRIVATE_KEY
limits the server to read‑only operations (market data, system state). Trading actions require the key.
Q: Is there a Docker image available?
A: Yes. Build with docker build . -t sv/mcp-paradex-py
and run the container, optionally passing the private key via -e
.
Q: How do I integrate with Claude Desktop?
A: Add a server entry in claude_desktop_config.json
with the command (uvx
) and the required environment variables as shown in the README.
Model Context Protocol (MCP) server implementation for the Paradex trading platform.
This project provides a bridge between AI assistants (like Claude) and the Paradex perpetual futures trading platform. Using the MCP standard, AI assistants can:
Click to automatically configure this MCP server in Cursor:
claude mcp add paradex uvx mcp-paradex
npx -y @smithery/cli install @sv/mcp-paradex-py --client claude
pip install mcp-paradex
uvx mcp-paradex
Clone the repository:
git clone https://github.com/sv/mcp-paradex-py.git
cd mcp-paradex-py
Install development dependencies:
uv sync --dev --all-extras
Run locally:
uv run mcp-paradex
Set these environment variables for authentication:
PARADEX_ENVIRONMENT
: Set to testnet
or mainnet
PARADEX_ACCOUNT_PRIVATE_KEY
: Your Paradex account private keycp .env.template .env
# Edit .env with your credentials
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"
}
}
}
}
# 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
paradex://system/config
- Get Paradex system configurationparadex://system/time
- Get current system timeparadex://system/state
- Get system operational stateparadex://markets
- List of available marketsparadex://market/summary/{market_id}
- Detailed market informationparadex://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 informationparadex_system_config
- Get global system configurationparadex_system_state
- Get current system stateparadex_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 offerparadex_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 historyparadex_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 ordersparadex_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 infomarket_overview
- Comprehensive crypto market overviewmarket_analysis
- Detailed technical and microstructure analysisposition_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 risksvault_analysis
- Comprehensive vault analysis for investment decisionsfunding_rate_opportunity
- Identify funding rate arbitrage opportunitiestrading_consultation
- Interactive trading advice and consultationEnhanced results with Paradex documentation access:
"paradex-docs-mcp": {
"command": "uvx",
"args": [
"--from",
"mcpdoc",
"mcpdoc",
"--urls",
"Paradex:https://docs.paradex.trade/llms.txt",
"--transport",
"stdio"
]
}
Please see CONTRIBUTING.md for information on how to contribute to this project, development setup, and our coding standards.
Please log in to share your review and rating for this MCP.
Explore related MCPs that share similar capabilities and solve comparable challenges
by goat-sdk
Enables AI agents to send and receive payments, purchase goods and services, execute investment strategies, tokenize assets, and obtain financial insights by leveraging blockchains, stablecoins, and wallets.
by financial-datasets
Provides access to income statements, balance sheets, cash flow statements, stock prices, market news, and cryptocurrency data through MCP tools for AI assistants.
by alpacahq
Enables large language models to trade stocks and options, retrieve real‑time and historical market data, and manage portfolios using plain English commands through a local or remote MCP server.
by XeroAPI
Provides a bridge between the Model Context Protocol and Xero's API, enabling standardized access to Xero accounting and business features.
by stefanoamorelli
Provides an MCP server that connects AI models to SEC EDGAR filings, enabling real‑time retrieval of company filings, financial statements, and insider‑trading data with exact XBRL precision and verifiable filing references.
by ariadng
Enables AI LLMs to execute trades on the MetaTrader 5 platform through the Model Context Protocol.
by calvernaz
Provides access to Alpha Vantage stock market data via an MCP server, supporting stdio and HTTP streaming modes with optional OAuth 2.1 authentication.
by kukapay
Integrates the Freqtrade cryptocurrency trading bot with MCP, exposing its REST API as tools for AI agents to perform automated trading operations.
by kukapay
Provides a comprehensive set of cryptocurrency technical analysis indicators and ready‑to‑use trading strategies through an MCP interface, enabling AI agents and applications to generate buy, hold, or sell signals.