MCP.Market

dYdX Agent Gateway MCP server

by alekskram·io.github.alekskram/dydx-agent-gateway·v0.3.2·1 stars

Analytics-only MCP gateway to dYdX v4: auditable trader PnL, funding and OI detectors. No keys.

A88/100grade A
What users say
No reviews yet
Be the first
Safety scan
A88/100

full report

Adoption
New

1 stars42 downloads/wk

Reviews

Write one

Nobody has reviewed dYdX Agent Gateway yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

dYdX Agent Gateway tools

No tool declarations could be read from the package source. They show once the server is installed.

Public scan report

scanner v0.1.10 · 2026-11-02 · same rubric, same numbers if you re-run it

no findings
  • Code scan21 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitylocal package, no credentials required12/15
  • Maintenancelast push 40 days ago12/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
Overall 88/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How dYdX Agent Gateway compares

Against every graded AI and agents MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
88/100
higher than 80% of 4,460 AI and agents servers
GitHub stars
1
more than 50% of 2,711 AI and agents servers
Downloads a week
42
more than 34% of 1,538 AI and agents servers with a package

Release history: 2 versions in the registry since 2026-09-22, latest 2026-09-23, typically one every 1 day.

Install dYdX Agent Gateway in Claude Code, Cursor or VS Code

claude mcp add dydx-agent-gateway -- uvx dydx-agent-gateway
Add to Cursor

What the publisher says

From the dYdX Agent Gateway repository's README, as published. We do not edit it. Read it on GitHub

dYdX Agent Gateway

<!-- mcp-name: io.github.alekskram/dydx-agent-gateway -->

One MCP server that gives any AI agent analytics access to dYdX v4: market data, funding analytics, verified trader PnL, leaderboards, anomaly detection. Read-only and keyless — the gateway holds no keys and cannot move funds.

Use cases

drawdown in USD, and phantom-PnL detection that flags unreliable equity curves

  • Verify a trader before you copy them — deposit-adjusted PnL, day winrate,

context, OI-spike-without-price detectors, liquidation-cascade alerts

  • Hunt funding and OI anomalies — funding heatmap ranked by |rate| with OI

discovery, farmer-bot flags so you don't copy a rewards farmer

  • Find real smart money — verified leaderboard from on-chain trader

events + funding extremes + leaderboard top

  • Check the book before entering — one-call market digest: latest anomaly

breakeven/trailing plan per side

  • Plan the exit while you plan the entry — ATR-based stop/take-profit/

Full walkthroughs with real outputs: examples/use-cases.md.

Install

Claude Code:

claude mcp add dydx -- uvx dydx-agent-gateway

Claude Desktop / Cursor / any mcp.json:

{"mcpServers": {"dydx": {
  "command": "uvx",
  "args": ["dydx-agent-gateway"]}}}

Codex (~/.codex/config.toml)

[mcp_servers.dydx]
command = "uvx"
args = ["dydx-agent-gateway"]

ZCode — register the server and copy the agent skill (copy-paste)

# 1) start the gateway (keep it running)
uvx dydx-agent-gateway --http --port 8901 &

# 2) register it (merges into ~/.zcode/cli/config.json; workspace .zcode/config.json works too)
python3 - <<'PY'
import json, os
p = os.path.expanduser("~/.zcode/cli/config.json")
os.makedirs(os.path.dirname(p), exist_ok=True)
cfg = json.load(open(p)) if os.path.exists(p) else {}
cfg.setdefault("mcp", {}).setdefault("servers", {})["dydx"] = {
    "type": "http", "url": "http://127.0.0.1:8901/mcp"}
json.dump(cfg, open(p, "w"), indent=2)
print("dydx MCP server registered:", p)
PY

# 3) copy the agent skill (tool guide + data gotchas)
git clone -q --depth 1 https://github.com/alekskram/dydx-agent-gateway /tmp/dag
cp -r /tmp/dag/.agents/skills/dydx-gateway ~/.zcode/skills/ && rm -rf /tmp/dag
echo "ZCode setup done — restart your session and call any dydx tool"

Plain Python:

pip install dydx-agent-gateway
python -c "from dydx_mcp import server; import json; print(json.dumps(server.market_digest(), default=str)[:400])"

Hosted (streamable HTTP): dydx-agent-gateway --http --port 8901, then any client:

{"mcpServers": {"dydx": {"type": "http", "url": "http://host:8901/mcp"}}}

Requires Python ≥ 3.11. Deps (fastmcp, pycryptodome, ecdsa) install automatically. See examples/ for ready-made configs and a working autonomous agent script.

Tools (22 — read-only, keyless)

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

dYdX Agent Gateway: common questions

Is dYdX Agent Gateway MCP server safe?
Yes, by our scan: it is graded A (88/100). Read the dYdX Agent Gateway safety report
How do I install dYdX Agent Gateway?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does dYdX Agent Gateway need an API key?
Not as far as the registry entry and our scan can tell: no credentials are declared or required.
Is dYdX Agent Gateway maintained?
The last commit was 42 days ago (2026-09-23). The latest release is v0.3.2.
What can I use instead of dYdX Agent Gateway?
Servers from other publishers that do the same job: Agent-Native Analytics MCP server, freellmpool MCP server and CHAP Coordinator MCP server.
How does dYdX Agent Gateway compare with other AI and agents MCP servers?
safety score 88/100 (higher than 80% of 4,460 AI and agents servers); github stars 1 (more than 50% of 2,711 AI and agents servers); downloads a week 42 (more than 34% of 1,538 AI and agents servers with a package). Full comparison.

Alternatives to dYdX Agent Gateway

Same job from other publishers: the closest match first, then the best rated.

  • Agent-Native Analytics
    Agent-Native Amplitude/Mixpanel - connect data sources, prompt for charts
    A
  • freellmpool
    OpenAI-compatible MCP gateway cataloging 22 LLM providers, with routing, failover, and tools.
    A
  • CHAP Coordinator
    Auditable records of human decisions over AI agent work. Approvals, edits, overrides, escalations.
    A
  • three.ws Portfolio
    An agent's trading state — portfolio value, PnL, live balances, trade feed, and signed transfers.
    B
  • Ausca
    Pay-per-call APIs and MCP services for agents, no accounts or keys, with verifiable receipts.
    A

More from alekskram →