CVEX MCP Server

CVEX MCP Server

siomochkin

Finance
Visit Server

README

CVEX MCP Server

A Model Context Protocol (MCP) server for interacting with the CVEX Trading API. This server allows Claude to interact with the CVEX trading platform, view market data, account information, and execute trades.

Features

  • 🔍 Market Data Access: View available contracts and real-time market data
  • 💰 Account Management: Check account balances and position information
  • 📊 Trading Capabilities: Place and manage orders directly through Claude
  • 🔐 Secure Trading: Private keys are only accessed when needed for signing requests

Installation

npm install -g @modelcontextprotocol/server-cvex

Usage with Claude Desktop

To use this server with Claude Desktop, run:

claude --mcp "npx @modelcontextprotocol/server-cvex --api-key YOUR_API_KEY --private-key-path /path/to/private_key.pem"

Replace YOUR_API_KEY with your actual CVEX API key and /path/to/private_key.pem with the path to your private key file.

Command Line Options

Option Description
--api-key <key> Your CVEX API key
--private-key-path <path> Path to your private key file (required for trading operations)
--api-url <url> CVEX API URL (default: https://api.cvex.trade)
--help Show help information
--version Show version number

Available Tools

The MCP server provides the following tools to Claude:

  1. getMarketData: Get market data for a specific contract
  2. getContractDetails: Get detailed information about a specific contract
  3. getAccountInformation: Get account information including balances
  4. estimateOrder: Estimate an order without executing it
  5. placeOrder: Place a new order on the exchange

Example Queries for Claude

Once connected, you can ask Claude to:

What contracts are available on CVEX?
Show me the current market data for BTCUSD
What's my account balance?
Estimate how much it would cost to buy 0.1 BTC at market price
Place a limit order to buy 0.01 ETH at $4000

Security Considerations

  • Your private key is only read when needed for signing trading requests
  • The private key is never stored in memory longer than necessary
  • All API requests use secure HTTPS connections
  • Always verify order details before confirming trades
  • Never share your terminal session when using the CVEX MCP server

Development

  1. Clone the repository
  2. Install dependencies with npm install
  3. Build the project with npm run build
  4. Run the server with node dist/cli.js [options]

See Also

License

MIT

Recommended Servers

Crypto Price & Market Analysis MCP Server

Crypto Price & Market Analysis MCP Server

A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.

Featured
TypeScript
chromia-mcp

chromia-mcp

Enables AI to interact with Chromia Wallet for sending $CHR transactions.

Official
Local
TypeScript
TripleWhale MCP Server

TripleWhale MCP Server

An implementation of Model Context Protocol (MCP) that allows users to interact with TripleWhale's e-commerce analytics platform using natural language queries through Claude Desktop.

Official
Local
TypeScript
Adamik MCP Server

Adamik MCP Server

Enables read and write interactions with 60+ blockchain networks through Claude Desktop, providing a standardized multi-chain API for transaction management, account insights, staking, and token interactions.

Official
Local
TypeScript
Open-Ledger-MCP-Server

Open-Ledger-MCP-Server

A Model Context Protocol (MCP) server implementation for the OpenLedger API. This server provides structured context to AI models according to the MCP specification.

Official
TypeScript
ntropy-mcp MCP Server

ntropy-mcp MCP Server

Enables enriching banking data with the Ntropy API, providing tools to create account holders and enrich transactions efficiently.

Official
Python
Iaptic MCP Server

Iaptic MCP Server

A server for interacting with the Iaptic API, allowing AI models like Claude to query customer, purchase, and transaction data, as well as retrieve statistical insights.

Official
TypeScript
Bitrefill Search and Shop

Bitrefill Search and Shop

This MCP wraps Bitrefill public API to allow agents to search for products and shop using cryptocurrencies like Bitcoin, Ethereum, Solana, and many more.

Official
TypeScript
MCP EVM Signer

MCP EVM Signer

A server that securely manages Ethereum private keys locally and enables Claude for Desktop to interact with EVM-compatible blockchains through Infura.

Local
TypeScript
Cryptocurrency Daemon MCP Server

Cryptocurrency Daemon MCP Server

Enables secure interactions with cryptocurrency daemon RPC interfaces through AI assistants, supporting transaction management, wallet operations, and daemon monitoring for Bitcoin-derived cryptocurrencies.

Local
TypeScript