MCP server for Paradex perp trading. Market data, accounts, orders, positions, and vaults.
MCP server for Paradex perp trading. Market data, accounts, orders, positions, and vaults.
From the project's GitHub README.
Model Context Protocol (MCP) server implementation for the Paradex trading platform.
New here? See the Quickstart Guide for step-by-step setup instructions for Claude Desktop, Claude Code, Cursor, Windsurf, VS Code, Claude.ai web, and ChatGPT.
Need a remote HTTP endpoint for ChatGPT or Claude.ai web? See the HTTP Deployment Guide for Railway, Render, Fly.io, AWS Lambda, and Docker/VPS options.
This project provides a bridge between AI assistants (like Claude) and Paradex, a privacy-preserving multi-asset exchange on Starknet with spot, perpetuals, options, and commodity futures. Using the MCP standard, AI assistants can:
Python 3.10+
uv — required for the uvx run method
macOS: Install via
brew install uvso the binary lands in/usr/local/bin, which GUI apps like Claude Desktop can find. The curl-pipe install puts uv in~/.local/bin, which GUI apps cannot see.
Click to automatically configure this MCP server in Cursor:
claude mcp add paradex uvx mcp-paradex
npx -y @smithery/cli@latest mcp add @tradeparadex/mcp-paradex-py --client claude
pip install mcp-paradex
uvx mcp-paradex
Clone the repository:
git clone https://github.com/tradeparadex/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 prod, testnet, or nightly (default: prod)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 tradeparadex/mcp-paradex-py
# Run (public only)
docker run --rm -i tradeparadex/mcp-paradex-py
# Run with trading capabilities
docker run --rm -e PARADEX_ACCOUNT_PRIVATE_KEY=your_key -i tradeparadex/mcp-paradex-py
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 tradeparadex/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 \
tradeparadex/mcp-paradex-py-aws
The server will be available at http://localhost:8080/mcp.
Deploying to Lambda:
RESPONSE_STREAMMCP_TRANSPORT=streamable-httpMCP_STATELESS=truePARADEX_ENVIRONMENT=prod (or testnet)PARADEX_ACCOUNT_PRIVATE_KEY=your_key (optional, for trading)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.
Set these up before or after installing:
Environment variable: PARADEX_ACCOUNT_PRIVATE_KEY
Environment variable: PARADEX_ENVIRONMENT
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-tradeparadex-mcp-paradex-py": {
"env": {
"PARADEX_ENVIRONMENT": "your-paradex-environment-here",
"PARADEX_ACCOUNT_PRIVATE_KEY": "your-paradex-account-private-key-here"
},
"args": [
"mcp-paradex"
],
"command": "uvx"
}
}
}Valid MCP server (1 strong, 2 medium validity signals). No known CVEs in dependencies. Package registry verified. Imported from the Official MCP Registry.
4 files analyzed · 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Be the first to review this server!
by Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace · Developer Tools
Create, build, and publish Python MCP servers to PyPI — conversationally.
by mcp-marketplace · Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm — conversationally