Drift Python SDK
Drift official Python SDK — already integrated into Solana Agent Kit, callable from Eliza / LangChain
The official SDK of Solana's most mature perp DEX. Since Jan 2026, reachable via Solana Agent Kit — so most users consume Drift via that rather than directly.
About
DriftPy is the Python client for the Drift protocol. It allows you to trade and fetch data from Drift using Python.
Install
Pick your runtime, copy the snippet, paste it into your client config.
{
"mcpServers": {
"driftpy": {
"command": "npx",
"args": ["-y", "driftpy"]
}
}
}- ·Node.js 20+
- ·An MCP-compatible client
Project pulse
Live from GitHub — see if the project is actually maintained.
How it compares
Position among 16 tools in the dex category
Security profile
Similar tools
1inch official MCP — first top EVM DEX with official MCP including swap execution
Jupiter Ultra — Solana best-route aggregation + RFQ, clearing 90% of Solana swap volume
GMX official agent skills — open perps (up to 100x) / LP / swap / query positions with market / limit / SL / TP
dYdX v4 official SDK (TS / Python / Rust) — no official MCP / agent path