Build a Trading Agent with Bitquery MCP
Use Bitquery's MCP server as the data layer for an AI trading agent: discover trending tokens, pull OHLC and liquidity, watch wallets, and alert on volume spikes — without writing GraphQL by hand.
Architecture
Your agent (Claude / Cursor / custom) → mcp.bitquery.io → Bitquery trading dataset
The agent calls MCP tools in plain English; Bitquery returns structured trade, price, and wallet data from the same production dataset as the GraphQL API.
Step 1 — Connect MCP
Pick your runtime:
| Client | Config |
|---|---|
| Claude Desktop | Custom connector → https://mcp.bitquery.io |
| Cursor | .cursor/mcp.json with mcp-remote → https://mcp.bitquery.io/mcp |
| Claude Code | claude mcp add bitquery -- npx -y mcp-remote https://mcp.bitquery.io/mcp |
Sign in with a Bitquery account on first tool call. The client opens a browser once for OAuth 2.1, then caches and refreshes the token for you (see MCP overview).