Connect AI agents to the Paradex trading platform. Retrieve market data, manage accounts, and execute trades seamlessly. Enhance your trading experience with automated tools and real-time insights.
What is sv mcp paradex py
MCP Paradex Server
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
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)
-
Clone this repository:
git clone https://github.com/sv/mcp-paradex-py.git cd mcp-paradex-py
-
Create a virtual environment:
uv venv source .venv/bin/activate # On Windows: .venv\Scripts\activate
-
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:
- Open Claude Desktop and enable Developer Mode from the menu
- Go to Settings > Developer and click "Edit Config"
- 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"
}
}
}
}
- Replace
your_ethereum_private_key
with your actual Paradex private key - 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 exchangeparadex://system/time
- Get current system time in milliseconds since epochparadex://system/state
- Get the current Paradex system operational state
Market Resources
paradex://markets
- Get a list of available markets from Paradexparadex://market/summary/{market_id}
- Get detailed market information for a specific trading pair
Vault Resources
paradex://vaults
- List all vaults available on Paradexparadex://vaults/config
- Get global configuration for vaultsparadex://vaults/balance/{vault_id}
- Get the balance of a specific vaultparadex://vaults/summary/{vault_id}
- Get comprehensive summary of a vaultparadex://vaults/transfers/{vault_id}
- Get deposit and withdrawal history for a vaultparadex://vaults/positions/{vault_id}
- Get current trading positions for a vaultparadex://vaults/account-summary/{vault_id}
- Get trading account information for a vault
Tools
System Tools
paradex_system_config
- Get global Paradex system configurationparadex_system_state
- Get current system state
Market Tools
paradex_markets
- Get detailed information about markets, including base/quote assets, tick size, and other trading parametersparadex_market_summaries
- Get summaries with price, volume, 24h change, and other key market metricsparadex_funding_data
- Get historical funding rate data for perpetual marketsparadex_orderbook
- Get the current orderbook for a market with customizable depthparadex_klines
- Get historical candlestick (OHLCV) data for a marketparadex_trades
- Get recent trades for a market with price, size, and timestamp informationparadex_bbo
- Get best bid and offer (tightest spread) for a market
Account Tools
paradex_account_summary
- Get account summary informationparadex_account_positions
- Get current account positionsparadex_account_fills
- Get account trade fillsparadex_account_funding_payments
- Get account funding paymentsparadex_account_transactions
- Get account transaction history
Order Tools
paradex_open_orders
- Get all open orders for an accountparadex_create_order
- Create a new order on Paradexparadex_cancel_orders
- Cancel existing ordersparadex_order_status
- Get the status of an orderparadex_orders_history
- Get historical orders for an account
Vault Tools
paradex_vaults
- Get detailed information about specific vaults or all vaults with filtering optionsparadex_vaults_config
- Get global configuration for vaults including fees, limits, and other settingsparadex_vault_balance
- Get the current balance of a vault with available/locked funds informationparadex_vault_summary
- Get comprehensive summary of vault performance, balance, and activityparadex_vault_transfers
- Get deposit and withdrawal history for a vaultparadex_vault_positions
- Get current trading positions for a vault with market, size, entry price detailsparadex_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 analysismarket_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 managementcreate_optimal_order
- Design optimal order parameters for a market based on volatility, liquidity, risk tolerance, and ideal entry strategyhedging_strategy
- Develop effective hedging strategies for specific positions using correlation analysis, hedge ratio calculation, and implementation planningportfolio_risk_assessment
- Thorough risk analysis of trading portfolio, including exposure analysis, correlation assessment, VaR calculations, and risk reduction recommendationsliquidation_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 assessmentfunding_rate_opportunity
- Identify and evaluate funding rate arbitrage opportunities across markets, including yield calculations and implementation strategiestrading_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
Leave a Comment
Frequently Asked Questions
What is MCP?
MCP (Model Context Protocol) is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications, providing a standardized way to connect AI models to different data sources and tools.
What are MCP Servers?
MCP Servers are lightweight programs that expose specific capabilities through the standardized Model Context Protocol. They act as bridges between LLMs like Claude and various data sources or services, allowing secure access to files, databases, APIs, and other resources.
How do MCP Servers work?
MCP Servers follow a client-server architecture where a host application (like Claude Desktop) connects to multiple servers. Each server provides specific functionality through standardized endpoints and protocols, enabling Claude to access data and perform actions through the standardized protocol.
Are MCP Servers secure?
Yes, MCP Servers are designed with security in mind. They run locally with explicit configuration and permissions, require user approval for actions, and include built-in security features to prevent unauthorized access and ensure data privacy.
Related MCP Servers
chrisdoc hevy mcp
sylphlab pdf reader mcp
An MCP server built with Node.js/TypeScript that allows AI agents to securely read PDF files (local or URL) and extract text, metadata, or page counts. Uses pdf-parse.
aashari mcp server atlassian bitbucket
Node.js/TypeScript MCP server for Atlassian Bitbucket. Enables AI systems (LLMs) to interact with workspaces, repositories, and pull requests via tools (list, get, comment, search). Connects AI directly to version control workflows through the standard MCP interface.
aashari mcp server atlassian confluence
Node.js/TypeScript MCP server for Atlassian Confluence. Provides tools enabling AI systems (LLMs) to list/get spaces & pages (content formatted as Markdown) and search via CQL. Connects AI seamlessly to Confluence knowledge bases using the standard MCP interface.
prisma prisma
Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB
Zzzccs123 mcp sentry
mcp sentry for typescript sdk
zhuzhoulin dify mcp server
zhongmingyuan mcp my mac
zhixiaoqiang desktop image manager mcp
MCP 服务器,用于管理桌面图片、查看详情、压缩、移动等(完全让Trae实现)
zhixiaoqiang antd components mcp
An MCP service for Ant Design components query | 一个减少 Ant Design 组件代码生成幻觉的 MCP 服务,包含系统提示词、组件文档、API 文档、代码示例和更新日志查询
Submit Your MCP Server
Share your MCP server with the community
Submit Now