PageSourceSearch

https://bitquery.io/_next/static/chunks/1-whd_t7y7t_l.js

js bitquery.io collected 2026-10-02 04:28:08 UTC 55,668 bytes, 2 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,26393,e=>{"use strict";var s=e.i(91398),a=e.i(68489),r=e.i(58678),t=e.i(91788),i=e.i(41158),n=e.i(4711),l=e.i(45),o=e.i(56757),d=e.i(43588);let c="https://mcp.bitquery.io",h=`${c}/mcp`,p="https://docs.bitquery.io/docs/mcp/mcp-server/",m=`claude mcp add --transport http bitquery ${c}`,u=`codex mcp add bitquery --url ${c}`,x=`[mcp_servers.bitquery]
2url = "${c}"`,y=`npx -y mcp-remote ${h}`,j=`cursor://anysphere.cursor-deeplink/mcp/install?name=Bitquery&config=${btoa(JSON.stringify({url:c}))}`,b=`vscode:mcp/install?${encodeURIComponent(JSON.stringify({name:"bitquery",url:c}))}`,v=["Ethereum","Arbitrum","Base","Polygon","Optimism","BNB Chain","Tron","Solana","Robinhood"],g=["Arc"],f=["Ethereum","BNB Chain","Polygon","Arbitrum","Base","Optimism","Robinhood","Tron","Solana","Bitcoin","Zcash","Cardano","XRP Ledger"],k=[{id:"nAOqywNWV8s",title:"Introducing Bitquery MCP for Crypto Investigations",poster:"sddefault",uploadDate:"2026-07-10",description:"A single Tron wallet, investigated inside Claude with the Bitquery MCP server: full transaction history, labeled counterparties, the path the money took and a written risk verdict with a money-flow map."},{id:"wmN3EoZaP48",title:"How to connect Bitquery MCP",poster:"maxresdefault",uploadDate:"2026-04-30",description:"Setup walkthrough for the Bitquery MCP server: adding mcp.bitquery.io as a connector, the OAuth sign-in with a Bitquery account, and the first on-chain questions."},{id:"IwuIlcKsANk",title:"Polymarket & Hyperliquid Data in ChatGPT and Claude | Bitquery MCP",poster:"maxresdefault",uploadDate:"2026-09-21",description:"A 38-second demo of the Bitquery MCP server answering Polymarket, Hyperliquid and DEX trading questions in plain English inside ChatGPT and Claude."}],w=[{key:"discovery",label:"Discovery",hint:"find_*",title:"tools/list · one turn, three tools",question:['"Is PEPE on Base too, and where does it trade?"'],steps:[["find_tokens",'"PEPE" → contract + chain'],["token_chains","every chain the asset lives on"],["token_dex_venues","pools and DEXs per chain"]]},{key:"prices",label:"Prices & charts",hint:"*_ohlcv",title:"tools/list · one turn, two tools",question:['"Show me OHLCV candles for WETH/USDC on Uniswap v3',' for the past 7 days."'],steps:[["find_tokens",'"WETH", "USDC" → contracts'],["pair_ohlcv","1h candles, USD or quote token"]]},{key:"traders",label:"Traders",hint:"*_traders",title:"tools/list · one turn, three tools",question:['"Who are the most profitable traders of PEPE this month,',' and what are they holding now?"'],steps:[["find_tokens",'"PEPE" → contract + chain'],["profitable_traders_by_token","ranked by realized + unrealized PnL"],["trader_positions","current holdings, per wallet"]]},{key:"polymarket",label:"Polymarket",hint:"polymarket_*",title:"tools/list · one turn, three tools",question:['"Find the open markets about the Fed rate, give me the odds',' and show who holds the most Yes."'],steps:[["polymarket_find_markets","title text → question id"],["polymarket_market_odds","price and implied probability per outcome"],["polymarket_outcome_holders","largest holders and their share of supply"]]},{key:"hyperliquid",label:"Hyperliquid",hint:"hyperliquid_*",title:"tools/list · one turn, three tools",question:['"Who made the most on BTC today, what are they holding,',' and where is funding?"'],steps:[["hyperliquid_top_traders","accounts ranked by net result"],["hyperliquid_trader_positions","open positions, side and size"],["hyperliquid_funding_rates","hourly funding and open interest"]]},{key:"tracing",label:"Tracing",hint:"*_trace_*",title:"tools/list · one turn, three tools",question:['"Trace where the funds from this wallet went',' and stop at the first exchange."'],steps:[["eth_address_flow_summary","role: consolidator, distributor, relay, hub"],["eth_trace_dominant_path","largest edge, hop by hop, up to 5 hops"],["labels_for_addresses","name each counterparty on the path"]]},{key:"labels",label:"Labels",hint:"*_labels",title:"tools/list · one turn, two tools",question:['"Is this wallet an exchange deposit address?',' A mixer? A known scam?"'],steps:[["address_labels","entity, category, CEX deposit, mixer, scam"],["addresses_by_label","every address tagged mixer or sanctioned"]]},{key:"sql",label:"Raw SQL",hint:"execute_sql",title:"tools/list · one turn, one tool",question:['"Run raw SQL over the last 30 days of per-second DEX trades',' and the address-label directory."'],steps:[["execute_sql","read-only ClickHouse, paid plans"]]}],C=[{tool:"find_tokens",family:"discovery",label:"Discovery",desc:"name or ticker (wildcards) → contract 
2+ chain"},{tool:"chain_capabilities",family:"discovery",label:"Discovery",desc:"the per-chain tool matrix"},{tool:"pair_ohlcv",family:"prices",label:"Prices",desc:"candles from 1 second to 1 hour, USD or quote"},{tool:"trending_tokens",family:"traders",label:"Traders",desc:"volume, gainers, losers, most volatile per chain"},{tool:"trader_profile",family:"traders",label:"Traders",desc:"PnL, win rate, top tokens, recent activity"},{tool:"polymarket_top_markets",family:"polymarket",label:"Polymarket",desc:"markets ranked by volume, orders, wallets or fees"},{tool:"hyperliquid_liquidations",family:"hyperliquid",label:"Hyperliquid",desc:"forced closes, one by one or per market"},{tool:"eth_trace_dominant_path",family:"tracing",label:"Tracing",desc:"follows the largest edge, up to 5 hops"},{tool:"btc_related_addresses",family:"tracing",label:"Tracing",desc:"common-input-ownership clustering"},{tool:"address_labels",family:"labels",label:"Labels",desc:"entity, CEX deposit, mixer, scam, darknet, clone"},{tool:"execute_sql",family:"sql",label:"Raw SQL",desc:"read-only ClickHouse, 30 days of trades (paid)"}],_="https://docs.bitquery.io/docs/mcp/polymarket/",N="https://docs.bitquery.io/docs/mcp/polymarket-whale-tracker/",q="https://docs.bitquery.io/docs/mcp/polymarket-analytics/",P="https://docs.bitquery.io/docs/mcp/hyperliquid/",T="https://docs.bitquery.io/docs/mcp/solana/",A=[{href:p,title:"Install guide",desc:"Client-by-client setup with screenshots."},{href:_,title:"Polymarket MCP server",desc:"All 14 tools, with odds, price history, fills and disputes."},{href:N,title:"Track Polymarket whales",desc:"Rank wallets, drop the market makers, score the rest."},{href:q,title:"Polymarket analytics with AI",desc:"Volume, odds history and holders from a chat."},{href:P,title:"Hyperliquid MCP server",desc:"Funding, open interest, liquidations and wallets."},{href:T,title:"Solana MCP server",desc:"Trending tokens, pump.fun launches and transfer tracing."},{href:"https://github.com/bitquery/mcp",title:"GitHub: bitquery/mcp",desc:"Install configs for every client and example prompts."}],M=Math.max(...o.MCP_PLANS.map(e=>e.tools)),S=d.MCP_FAQ_PRICING.replace(` and ${M} tools`," and all 256 tools"),B=[{q:"What is the Bitquery MCP server?",a:`A hosted Model Context Protocol server at \`${c}\` that exposes Bitquery's on-chain data as MCP tools. An AI client such as Claude, ChatGPT, Cursor, VS Code or Codex calls those tools during a conversation, so you ask in plain English and the agent returns real rows: DEX trades, prices, top traders, Polymarket odds, Hyperliquid positions, transfers, money flow and address labels.`},{q:"How do I install the Bitquery MCP server?",a:`Add \`${c}\` as a custom connector or MCP server in your client and sign in once with your Bitquery account. In Claude Code run: \`${m}\`. In OpenAI Codex run: \`${u}\`. Cursor and VS Code have one-click install buttons on this page; ChatGPT takes the URL under Settings, Connectors, Custom connector.`},{q:"Which AI clients can connect to it?",a:"Any client that supports remote MCP servers over Streamable HTTP: Claude Desktop and Claude.ai (Plus, Pro or Max), Claude Code, ChatGPT (Plus, Pro or Business with custom connectors enabled), Cursor, VS Code with MCP enabled, OpenAI Codex, Windsurf, and custom agents built with the Anthropic or OpenAI SDKs. A client that only speaks stdio can bridge through mcp-remote."},{q:"Can I use it for crypto investigations and AML compliance?",a:`Yes. The server ships guided investigation prompts: \`money_flow\` traces funds across hops and stops at exchanges or mixers, \`risk_screen\` returns a LOW, MEDIUM or HIGH AML verdict with evidence, \`address_report\` builds a full dossier for one address, and \`entity_report\` resolves a labeled entity to its addresses and activity. Transfer tracing covers ${f.join(", ")}, backed by millions of address labels.`},{q:"Which blockchains and datasets are available?",a:`DEX trading tools cover ${v.join(", ")}, with candles down to 1-second granularity, and ${g.join(", ")} for market data. Transfer-tracing tools cover ${f.join(", ")}. Separate tool families cover Polymarket prediction markets and the Hyperliquid exchange. Tools span token prices, OHLCV candles, trending tokens, top, profitable and accumulating traders, trader profiles and positions, DEX pairs, transfers, the address-label directory, and raw SQL on paid plans.`},{q:"Is there an MCP server for Polymarket?",a:`Yes. The Bitquery MCP server includes 14 read-only Polymarket tools: markets ranked by volume or wallets, current odds, price history from 1 second to 1 day, single fills, top wallets, positions with profit and loss, holders, settlements and disputed resolutions. It cannot place orders. Worked examples are in the docs at ${_}.`},{q:"Is there an MCP server for Hyperliquid?",a:`Yes. 18 tools cover Hyperliquid perpetuals, spot pairs and third-party markets: prices and candles, funding and open interest, liquidations, TWAP orders, account rankings, positions and fills. It is read-only. Worked examples are at ${P}.`},{q:"Does it cover Solana and pump.fun?",a:`Yes. The market tools cover Solana DEX trades, new pump.fun launches, the first seconds of a launch and its first buyers, and a family of \`solana_\` tools traces transfers between wallets. Worked examples are at ${T}.`},{q:"How much does the Bitquery MCP server cost?",a:S},{q:"How does authentication work?",a:"OAuth 2.1. The AI client opens a browser to your Bitquery account, you approve access, and tokens refresh automatically for about 30 days. Access is tied to your Bitquery account, so revoking it there disables the connection at once. No API key is pasted into a prompt or a config file."},{q:"How is it different from the Bitquery GraphQL API?",a:"The MCP server is built for AI agents. Instead of writing a GraphQL query, the agent picks an MCP tool, for example `token_ohlcv` or `top_traders`, and the server runs the underlying query for you. The data source is the same; the interface is conversational. Billing runs through the same Bitquery account, on an MCP plan or as credit top-ups to a paid API plan."},{q:"How is it different from the CoinGecko or CoinMarketCap MCP servers?",a:"Those servers answer market-level questions from their listings: prices, market caps, rankings and trends, behind an API key. The Bitquery server reads on-chain activity directly, so the agent gets individual trades, wallet balances, holders, transfers and fund flows for any token, listed or not, and signs in with OAuth 
2instead of a key."},{q:"How fresh is the data?",a:"Near real time. The dataset updates as blocks are processed across all supported chains, so your agent reads both live and historical on-chain data from the same tools."}],I=({children:e})=>(0,s.jsx)("span",{className:"d",children:e}),L=[{q:"Trace where the funds from this wallet went and stop at the first exchange.",uses:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I,{children:"runs the"})," money_flow ",(0,s.jsx)(I,{children:"prompt"})]})},{q:"Screen this address for mixer, sanctioned or scam exposure and give a risk verdict.",uses:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I,{children:"runs the"})," risk_screen ",(0,s.jsx)(I,{children:"prompt"})]})},{q:"Build a full dossier on this address: activity, transfers, labels, likely same-owner wallets.",uses:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I,{children:"runs the"})," address_report ",(0,s.jsx)(I,{children:"prompt"})]})},{q:"Which entity is behind this label, what addresses does it control, and who does it transact with?",uses:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I,{children:"runs the"})," entity_report ",(0,s.jsx)(I,{children:"prompt"})]})},{q:"Is this wallet an exchange deposit address? A mixer? A known scam?",uses:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I,{children:"uses"})," address_labels",(0,s.jsx)(I,{children:": entity, category, CEX deposit or hot wallet, mixer, gambling, scam, darknet and token-clone labels"})]})},{q:"Expand this Bitcoin address into the addresses that likely belong to the same owner.",uses:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I,{children:"uses"})," btc_related_addresses",(0,s.jsx)(I,{children:": common-input-ownership clustering"})]})}],E=[{q:"What are the trending Solana tokens in the last 24 hours by trade volume?",uses:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I,{children:"uses"})," trending_tokens"]})},{q:"Show me OHLCV candles for WETH/USDC on Uniswap v3 for the past 7 days.",uses:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I,{children:"uses"})," pair_ohlcv"]})},{q:"Who are the most profitable traders of this token this month, and what are they holding now?",uses:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I,{children:"combines"})," profitable_traders_by_token ",(0,s.jsx)(I,{children:"and"})," trader_positions"]})},{q:"Build a profile of wallet 0xabc…: total PnL, win rate, top tokens, recent activity.",uses:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I,{children:"uses"})," trader_profile ",(0,s.jsx)(I,{children:"and"})," trader_activity"]})},{q:"Find every token whose symbol contains 'AI' on Base, sorted by 24h volume.",uses:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I,{children:"uses"})," find_tokens"]})},{q:"What are the odds on this Polymarket market, and how did they move this week?",uses:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I,{children:"combines"})," polymarket_market_odds ",(0,s.jsx)(I,{children:"and"})," polymarket_market_price_history"]})},{q:"Which Hyperliquid markets had the most liquidations today, and on which side?",uses:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I,{children:"uses"})," hyperliquid_liquidations"]})},{q:"Which wallets are quietly accumulating this token right now, buys far above sells?",uses:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I,{children:"uses"})," accumulating_traders_by_token"]})},{q:"Decode this transaction: every swap inside it, with tokens, amounts, price and pool.",uses:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I,{children:"uses"})," tx_trades"]})},{q:"Show the top holders of this token contract on Ethereum.",uses:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I,{children:"uses"})," eth_token_holders ",(0,s.jsx)(I,{children:"(also Polygon, Arbitrum, Base, Optimism)"})]})},{q:"Run raw SQL over the last 30 days of per-second DEX trades and the address-label directory.",uses:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(I,{children:"uses"})," execute_sql ",(0,s.jsx)(I,{children:"(paid plans)"})]})}],H=[["money_flow","Trace funds from an address or transaction across hops, label the counterparties, stop at exchanges or mixers. Returns a money-flow diagram and an edge table."],["risk_screen","AML screen of an address or transaction for mixer, sanctioned, scam and darknet exposure. Returns a LOW, MEDIUM or HIGH verdict, the evidence and an exposure diagram."],["address_report","Full dossier for one address: activity stats, recent transfers, labels and, on Bitc
2oin, likely same-owner addresses."],["entity_report","Resolve a labeled entity to its addresses, then their activity and connections."]],D=[["token_chart","Resolve a token and render a candlestick or line price chart with a data table."],["token_dashboard","360° view of one token: price chart, supply and FDV, top and smart-money traders, scam check."],["trader_dashboard","One wallet: profile stats, holdings and PnL positions, activity time series."],["compare_assets","Overlay 2 to 5 assets on one normalized %-change chart with a stats table."],["token_scout","Trending, gainers, momentum and accumulation, ranked into a pivot of promising tokens."],["market_movers","Chain leaderboard: top gainers and most traded, as a sortable table and bar chart."],["arbitrage_scan","One asset across chains: a price-spread % table and bar chart."]],F=({children:e})=>(0,s.jsx)("span",{className:"mono",children:e}),$=[{name:"Discovery",body:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(F,{children:"find_tokens"})," resolves a name or ticker (wildcards allowed) to contract and chain; ",(0,s.jsx)(F,{children:"find_currencies"}),", ",(0,s.jsx)(F,{children:"token_chains"})," and ",(0,s.jsx)(F,{children:"token_dex_venues"})," map an asset across chains and DEXs; ",(0,s.jsx)(F,{children:"chain_capabilities"})," returns the per-chain tool matrix."]})}
2,{name:"Prices & charts",body:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(F,{children:"token_price"})," and ",(0,s.jsx)(F,{children:"token_ohlcv"}),", ",(0,s.jsx)(F,{children:"pair_ohlcv"})," in USD or the quote token, cross-chain ",(0,s.jsx)(F,{children:"currency_*"})," aggregates for majors, plus supply, market cap and ",(0,s.jsx)(F,{children:"pool_recent_trades"}),". Candles from 1 second to 1 hour."]})},{name:"Traders",body:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(F,{children:"trending_tokens"})," by volume, gainers, losers or volatility; ",(0,s.jsx)(F,{children:"top_traders"})," by token, pair or network; ",(0,s.jsx)(F,{children:"profitable_"})," and ",(0,s.jsx)(F,{children:"accumulating_traders"}),"; per-wallet ",(0,s.jsx)(F,{children:"trader_profile"}),", positions and activity."]})},{name:"Polymarket",body:(0,s.jsxs)(s.Fragment,{children:[14," ","read-only tools: ",(0,s.jsx)(F,{children:"polymarket_top_markets"})," and ",(0,s.jsx)(F,{children:"polymarket_find_markets"}),", ",(0,s.jsx)(F,{children:"polymarket_market_odds"})," and ",(0,s.jsx)(F,{children:"polymarket_market_price_history"})," from 1 second to 1 day, ",(0,s.jsx)(F,{children:"polymarket_market_trades"}),", wallet tools with positions and profit, ",(0,s.jsx)(F,{children:"polymarket_outcome_holders"}),", settlements and disputes."]})},{name:"Hyperliquid",body:(0,s.jsxs)(s.Fragment,{children:[18," ","tools for perpetuals, spot and third-party markets: ",(0,s.jsx)(F,{children:"hyperliquid_markets"}),", price and candles, ",(0,s.jsx)(F,{children:"hyperliquid_funding_rates"})," and ",(0,s.jsx)(F,{children:"hyperliquid_open_interest"}),", ",(0,s.jsx)(F,{children:"hyperliquid_liquidations"}),", TWAP orders, ",(0,s.jsx)(F,{children:"hyperliquid_top_traders"}),", positions and fills."]})},{name:"Tracing",body:(0,s.jsxs)(s.Fragment,{children:["A per-chain family for ",f.length," ","chains (",(0,s.jsx)(F,{children:"eth_"}),", ",(0,s.jsx)(F,{children:"bsc_"}),", ",(0,s.jsx)(F,{children:"matic_"}),", ",(0,s.jsx)(F,{children:"arbitrum_"}),", ",(0,s.jsx)(F,{children:"base_"}),", ",(0,s.jsx)(F,{children:"optimism_"}),", ",(0,s.jsx)(F,{children:"robinhood_"}),", ",(0,s.jsx)(F,{children:"tron_"}),", ",(0,s.jsx)(F,{children:"solana_"}),", ",(0,s.jsx)(F,{children:"btc_"}),", ",(0,s.jsx)(F,{children:"zec_"}),", ",(0,s.jsx)(F,{children:"ada_"}),", ",(0,s.jsx)(F,{children:"xrp_"}),"): ",(0,s.jsx)(F,{children:"*_address_flow_summary"}),", ",(0,s.jsx)(F,{children:"*_flow_edges"}),", ",(0,s.jsx)(F,{children:"*_trace_next_hop"}),", ",(0,s.jsx)(F,{children:"*_trace_dominant_path"}),", ",(0,s.jsx)(F,{children:"*_transfers_in"})," and ",(0,s.jsx)(F,{children:"_out"}),", ",(0,s.jsx)(F,{children:"*_tx_transfers"}),", ",(0,s.jsx)(F,{children:"*_token_holders"}),", plus contract ",(0,s.jsx)(F,{children:"*_find_events"})," and ",(0,s.jsx)(F,{children:"*_find_calls"}),"."]})},{name:"Labels",body:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(F,{children:"address_labels"})," for one address, ",(0,s.jsx)(F,{children:"labels_for_addresses"})," for a batch, ",(0,s.jsx)(F,{children:"addresses_by_label"})," for every address tagged X, ",(0,s.jsx)(F,{children:"find_label_values"})," to discover what exists: entities, CEX deposit and hot wallets, mi
2xers, gambling, scams, darknet, token clones."]})},{name:"Raw SQL",body:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(F,{children:"execute_sql"})," runs read-only ClickHouse over 30 days of per-second DEX trades plus the label directory; ",(0,s.jsx)(F,{children:"*_transfers_raw_sql"})," does the same on each chain's transfer data. Paid plans."]})}],W=[["Ask on-chain questions","Hand-write GraphQL per question","Plain English; the agent picks the tool"],["Chain several lookups","Glue the queries together yourself","Typed tool definitions the model chains in one turn"],["Connect to your LLM client","Build a custom integration","Standard MCP over Streamable HTTP"],["Long answers","Requests time out","Streaming transport for big histories and multi-step chains"],["Multi-chain in one place","A pipeline per chain","One endpoint, one catalog"],["Secure access","API keys pasted into prompts","OAuth 2.1 with your Bitquery account"],["Billing","A second vendor to manage","Same account: an MCP plan, or credit top-ups on a paid API plan"]],O=Math.max(...o.MCP_PLANS.map(e=>e.tools));function R(e){return Number.isInteger(e)?`$${e}`:`$${e.toFixed(2)}`}let G=({stroke:e="#3fd9c4",size:a=14})=>(0,s.jsx)("svg",{width:a,height:a,viewBox:"0 0 24 24",fill:"none",stroke:e,strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,s.jsx)("path",{d:"M20 6 9 17l-5-5"})}),U=()=>(0,s.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"#f0897c",strokeWidth:"2.2",strokeLinecap:"round","aria-hidden":"true",children:(0,s.jsx)("path",{d:"M18 6 6 18M6 6l12 12"})}),V=()=>(0,s.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,s.jsx)("path",{d:"M4 17l6-5-6-5M12 19h8"})}),X=()=>(0,s.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2","aria-hidden":"true",children:[(0,s.jsx)("rect",{x:"9",y:"9",width:"12",height:"12",rx:"2"}),(0,s.jsx)("path",{d:"M5 15V5a2 2 0 0 1 2-2h10"})]});function Q({id:e,c:a}){let r=`cmd-${e}`;return(0,s.jsxs)("div",{className:"mcs-ibar",role:"group","aria-label":"Install the Bitquery MCP server",children:[(0,s.jsxs)("button",{type:"button",className:"bq-btn bq-btn-primary"+(a.copied===r?" done":""),onClick:()=>a.copy(r,m),"aria-label":"Copy the Claude Code install command",children:[(0,s.jsx)(V,{}),a.copied===r?"✓ Command copied":"Add to Claude Code"]}),(0,s.jsx)("a",{className:"bq-btn bq-btn-secondary",href:j,children:"Install in Cursor"}),(0,s.jsx)("a",{className:"bq-btn bq-btn-secondary",href:b,children:"Install in VS Code"}),(0,s.jsx)("a",{className:"bq-btn bq-btn-secondary",href:"#codex",children:"Set up Codex"})]})}function z({id:e,text:a,c:r,label:t="Copy command"}){return(0,s.jsxs)("div",{className:"mcs-snip",children:[(0,s.jsx)("code",{children:a}),(0,s.jsx)("button",{type:"button",className:"mcs-cpb"+(r.copied===e?" done":""),onClick:()=>r.copy(e,a),"aria-label":t,children:r.copied===e?"Copied":"Copy"})]})}function K({id:e,title:a,poster:r}){let t=(0,l.useLiteYouTube)(e);return(0,s.jsxs)("div",{className:"mcs-vid",children:[t.src&&(0,s.jsx)("iframe",{ref:t.frameRef,className:t.playing?void 0:"preload",src:t.src,title:a,allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",allowFullScreen:!0,onLoad:t.onFrameLoad}),!t.playing&&(0,s.jsxs)("button",{type:"button",className:"poster",onPointerEnter:t.warm,onClick:t.play,"aria-label":`Play: ${a}`,children:[(0,s.jsx)("img",{src:`https://i.ytimg.com/vi/${e}/${r}.jpg`,alt:`Video poster: ${a}`,loading:"lazy",decoding:"async"}),(0,s.jsx)("span",{className:"play","aria-hidden":"true",children:(0,s.jsx)("span",{children:(0,s.jsx)("svg",{width:"26",height:"26",viewBox:"0 0 24 24",fill:"#fff",children:(0,s.jsx)("path",{d:"M8 5v14l11-7z"})})})})]})]})}function Y(){let[e,a]=(0,t.useState)("traders"),r=w.find(s=>s.key===e)??w[0];return(0,s.jsxs)("div",{className:"mcs-cat reveal",role:"region","aria-label":"Tool catalog browser",children:[(0,s.jsxs)("div",{className:"rail",role:"tablist","aria-label":"Tool families",children:[(0,s.jsx)("span",{className:"rl",children:"families"}),w.map(r=>(0,s.jsxs)("button",{type:"button",role:"tab","aria-selected":r.key===e,onClick:()=>a(r.key),children:[r.label,(0,s.jsx)("span",{className:"n",children:r.hint})]},r.key))]}),(0,s.jsxs)("div",{className:"pane",children:[(0,s.jsxs)("div",{className:"pbar",children:[(0,s.jsxs)("span",{className:"dots","aria-hidden":"true",children:[(0,s.jsx)("i",{style:{background:"#ec6a5e"}}),(0,s.jsx)("i",{style:{background:"#f3bf4f"}}),(0,s.jsx)("i",{style:{background:"#61c554"}})]}),(0,s.jsx)("span",{className:"fn",children:r.title}),(0,s.jsxs)("span",{className:"live",children:[(0,s.jsx)("i",{"aria-hidden":"true"}),"mcp.bitquery.io"]})]}),(0,s.jsxs)("pre",{className:"code",children:[r.question.map((e,a)=>(0,s.jsx)("span",{className:"c",children:"# "+e+"\n"},a)),"\n",r.steps.map(([e,a])=>(0,s.jsxs)("span",{children:[(0,s.jsx)("span",{className:"t",children:e})," ".repeat(Math.max(1,29-e.length)),(0,s.jsx)("span",{className:"a",children:"→"})," ",a,"\n"]},e))]}),(0,s.jsxs)("table",{className:"ttab",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:"Tool"}),(0,s.jsx)("th",{children:"Family"}),(0,s.jsx)("th",{children:"What it does"})]})}),(0,s.jsx)("tbody",{children:C.map(a=>(0,s.jsxs)("tr",{className:a.family===e?"on":"off",children:[(0,s.jsx)("td",{children:a.tool}),(0,s.jsx)("td",{children:a.label}),(0,s.jsx)("td",{children:a.desc})]},a.tool))})]})]})]})}function J(){let[e,a]=(0,t.useState)("monthly"),r="yearly"===e;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"mcs-bill reveal",children:[(0,s.jsxs)("div",{className:"seg",role:"group","aria-label":"Billing cycle",children:[(0,s.jsx)("button",{type:"button","aria-pressed":!r,onClick:()=>a("monthly"),children:"Monthly"}),(0,s.jsx)("button",{type:"button","aria-pressed":r,onClick:()=>a("yearly"),children:"Yearly"})]}),(0,s.jsx)("span",{className:"save",children:"Yearly takes about 20% off"})]}),(0,s.jsxs)("div",{className:"mcs-plans reveal",children:[(0,s.jsxs)("div",{className:"mcs-plan",children:[(0,s.jsx)("span",{className:"tgg",children:"Free trial"}),(0,s.jsxs)("div",{className:"cr",children:["100 ",(0,s.jsx)("small",{children:"credits"})]}),(0,s.jsx)("div",{className:"pr",children:"$0"}),(0,s.jsx)("div",{className:"pnote",children:"7-day trial, no card"}),(0,s.jsx)("p",{className:"pd",children:"Included with the 7-day trial, no card required. Enough to connect a client and run your first prompts."})]}),o.MCP_PLANS.map(e=>{let a;return(0,s.jsxs)("div",{className:"mcs-plan"+("feat"in e&&e.feat?" feat":""),children:[(0,s.jsxs)("span",{className:"tgg",children:["Plan · ",e.name]}),(0,s.jsxs)("div",{className:"cr",children:[e.credits," ",(0,s.jsx)("small",{children:"credits / mo"})]}),(0,s.jsxs)("div",{className:"pr",children:[R(r?e.annualPrice:e.price),(0,s.jsx)("small",{children:" /mo"})]}),(0,s.jsx)("div",{className:"pnote",children:(a=e.annualPrice,r?"billed yearly":`${R(a)}/mo billed yearly`)}),(0,s.jsx)("span",{className:"tools",children:e.tools===O?"All 256 tools":`${e.tools} tools`}),(0,s.jsx)("p",{className:"pd",children:e.blurb})]},e.id)}),(0,s.jsxs)("div",{className:"mcs-plan",children:[(0,s.jsx)("span",{className:"tgg",children:"Top-up · any paid API plan"}),(0,s.jsxs)("div",{className:"cr",children:[o.MCP_CREDIT_PACKS.map((e,a)=>(0,s.jsxs)("span",{children:[a?(0,s.jsx)("small",{children:" or "}):null,e.credits]},e.id))," ",(0,s.jsx)("small",{children:"credits / mo"})]}),(0,s.jsxs)("div",{className:"pr",children:[o.MCP_CREDIT_PACKS.map(e=>R(r?e.annualPrice:e.price)).join(" / "),(0,s.jsx)("small",{children:" /mo"})]}),(0,s.jsx)("div",{className:"pnote",children:r?"billed yearly":`${o.MCP_CREDIT_PACKS.map(e=>R(e.annualPrice)).join(" / ")} billed yearly`}),(0,s.jsx)("p",{className:"pd",children:"Add MCP credits to a paid API plan without changing it. Recurring, cancel any month."})]})]}),(0,s.jsxs)("div",{className:"mcs-pcta reveal",children:[(0,s.jsxs)("a",{className:"bq-btn bq-btn-primary",href:d.ACCOUNT_URL,target:"_blank",rel:"noopener noreferrer",children:["Get MCP access ",(0,s.jsx)("span",{className:"arrow",children:"→"})]}),(0,s.jsx)(i.default,{className:"bq-btn bq-btn-secondary",href:d.PRICING_PAGE_URL,children:"Compare all plans"}),(0,s.jsx)("span",{className:"fine",children:"Prices in USD. Yearly billing takes about 20% off."})]})]})}function Z(){let e=(0,t.useRef)(null);(0,n.useReveal)(e);let a=function(){let[e,s]=(0,t.useState)(null);return{copied:e,copy:(0,t.useCallback)(async(e,a)=>{try{await navigator.clipboard.writeText(a)}catch{let e=document.createElement("textarea");e.value=a,e.setAttribute("readonly",""),e.style.position="fixed",e.style.opacity="0",document.body.appendChild(e),e.select();try{document.execCommand("copy")}finally{document.body.removeChild(e)}}s(e),window.setTimeout(()=>s(s=>s===e?null:s),1800)},[])}}(),[r,l]=o.MCP_PLANS;return(0,s.jsxs)("div",{className:"papi d-platform mcs",ref:e,children:[(0,s.jsxs)("div",{className:"mcs-topbar",children:[(0,s.jsx)("span",{className:"nd","aria-hidden":"true"}),(0,s.jsx)("span",{className:"mono",children:"mcp.bitquery.io"})," now lives here: ",(0,s.jsx)("b",{children:"same server, same endpoint, new home in Products"}),"."," ",(0,s.jsx)("a",{href:p,target:"_blank",rel:"noopener noreferrer",children:"Read the docs →"})]}),(0,s.jsxs)("section",{className:"mcs-hero","aria-labelledby":"hero-h",children:[(0,s.jsx)("div",{className:"mcs-hero-bg","aria-hidden":"true"}),(0,s.jsx)("div",{className:"wrap",children:(0,s.jsxs)("div",{className:"mcs-hero-top",children:[(0,s.jsxs)("div",{children:[(0,s.jsxs)("span",{className:"mcs-badge",children:[(0,s.jsx)("span",{className:"sdot","aria-hidden":"true"}),"MCP SERVER · Model Context Protocol · AI agents"]}),(0,s.jsxs)("h1",{id:"hero-h",children:["Bitquery MCP Server ",(0,s.jsx)("span",{className:"h-dim",children:"for crypto trading data and investigations in AI agents."})]}),(0,s.jsxs)("p",{className:"sub",children:["A hosted crypto MCP server. Add ",(0,s.jsx)(F,{children:c}
2)," ","to Claude, ChatGPT, Cursor, VS Code or Codex, sign in once with your Bitquery account, and ask on-chain questions in plain English. The agent picks from ",256," ","typed tools for trending tokens, candles, top traders, Polymarket odds, Hyperliquid positions, money-flow tracing, address labels and raw SQL, backed by the same index that serves Bitquery's APIs on 40+ chains."]}),(0,s.jsxs)("div",{className:"mcs-install",id:"install-hero",children:[(0,s.jsx)(Q,{id:"hero",c:a}),(0,s.jsxs)("div",{className:"mcs-endpoint",children:[(0,s.jsx)("span",{className:"el",children:"endpoint"}),(0,s.jsx)("code",{children:c}),(0,s.jsxs)("button",{type:"button",className:"mcs-cpb"+("url"===a.copied?" done":""),onClick:()=>a.copy("url",c),"aria-label":"Copy the endpoint URL",children:[(0,s.jsx)(X,{}),"url"===a.copied?"Copied":"Copy URL"]})]}),(0,s.jsxs)("p",{className:"mcs-inote",children:["Cursor and VS Code install with one click. Claude Code copies the command. Claude Desktop, ChatGPT and Codex take the URL in ",(0,s.jsx)("a",{href:"#install",children:"four steps"})," · ",(0,s.jsx)(i.default,{href:d.SALES_URL,children:"Talk to sales"})]})]}),(0,s.jsx)("div",{className:"mcs-pills",children:["MCP","Streamable HTTP","OAuth 2.1","256 tools"].map(e=>(0,s.jsx)("span",{className:"pill",children:e},e))})]}),(0,s.jsxs)("aside",{className:"mcs-pipe","aria-label":"How a question becomes an on-chain answer",children:[(0,s.jsxs)("div",{className:"ph",children:[(0,s.jsx)("span",{children:"pipeline · MCP server"}),(0,s.jsx)("span",{className:"dot","aria-hidden":"true"})]}),(0,s.jsxs)("div",{className:"nodes",children:[(0,s.jsxs)("div",{className:"node",children:[(0,s.jsx)("span",{className:"ni",children:"“"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("b",{children:"Ask in English"}),(0,s.jsx)("span",{children:"no GraphQL, no schema to learn"})]})]}),(0,s.jsx)("div",{className:"conn","aria-hidden":"true"}),(0,s.jsxs)("div",{className:"node",children:[(0,s.jsx)("span",{className:"ni",children:"fn"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("b",{children:"MCP tool call"}),(0,s.jsx)("span",{children:"agent resolves prompt → typed tool"})]})]}),(0,s.jsx)("div",{className:"conn","aria-hidden":"true"}),(0,s.jsxs)("div",{className:"node",children:[(0,s.jsx)("span",{className:"ni",children:"⛓"}),(0,s.jsxs)("div",{children:[(0,s.jsx)("b",{children:"On-chain answer"}),(0,s.jsx)("span",{children:"real rows, streamed back"})]})]})]}),(0,s.jsxs)("div",{className:"dest",children:[(0,s.jsx)("div",{className:"dl",children:"works in"}),(0,s.jsx)("div",{className:"chips",children:["Claude","ChatGPT","Cursor","VS Code","Codex"].map(e=>(0,s.jsx)("span",{className:"dchip",children:e},e))})]})]})]})})]}),(0,s.jsx)(n.PartnerWall,{}),(0,s.jsx)(n.KpiStrip,{}),(0,s.jsx)("section",{className:"s",id:"install","aria-labelledby":"install-h",children:(0,s.jsxs)("div",{className:"wrap",children:[(0,s.jsx)(n.SHead,{idx:"01",kicker:"Install in 60 seconds",id:"install-h",title:"How do you connect the Bitquery MCP server to Claude, ChatGPT, Cursor or VS Code?",children:(0,s.jsxs)("p",{children:["The Bitquery MCP server is a hosted Model Context Protocol server at ",(0,s.jsx)(F,{children:c}),". It speaks Streamable HTTP and signs you in with OAuth 2.1 against your Bitquery account, so there is no config file to edit and no API key to paste: add the URL as a custom connector or MCP server in your client, approve the login in the browser once, and the tools appear in the conversation."]})}),(0,s.jsxs)("div",{className:"mcs-install reveal",style:{marginTop:0},children:[(0,s.jsx)(Q,{id:"s01",c:a}),(0,s.jsxs)("p",{className:"mcs-inote",children:["Cursor and VS Code install with one click. Claude Code has no one-click link yet, so its button copies the command. ChatGPT and Codex follow the steps below. Full guide:"," ",(0,s.jsx)("a",{href:p,target:"_blank",rel:"noopener noreferrer",children:"docs.bitquery.io/docs/mcp/mcp-server"})]})]}),(0,s.jsxs)("div",{className:"mcs-clients reveal",children:[(0,s.jsxs)("div",{className:"mcs-cl",id:"claude-desktop",children:[(0,s.jsxs)("div",{className:"ch",children:[(0,s.jsx)("span",{className:"cb",children:"Cl"}),(0,s.jsx)("h3",{children:"Claude Desktop & Web"})]}),(0,s.jsxs)("ol",{className:"mcs-steps",children:[(0,s.jsx)("li",{children:(0,s.jsxs)("span",{children:["Open ",(0,s.jsx)("b",{children:"Settings → Connectors"}),"."]})}),(0,s.jsx)("li",{children:(0,s.jsxs)("span",{children:["Click ",(0,s.jsx)("b",{children:"Add custom connector"}),"."]})}),(0,s.jsx)("li",{children:(0,s.jsxs)("span",{children:["Name: ",(0,s.jsx)("b",{children:"Bitquery"}),". URL: ",(0,s.jsx)(F,{children:c}),"."]})}),(0,s.jsx)("li",{children:(0,s.jsxs)("span",{children:["Click ",(0,s.jsx)("b",{children:"Add"}),". A browser window opens to log in with your Bitquery account."]})})]})]}),(0,s.jsxs)("div",{className:"mcs-cl",id:"claude-code",children:[(0,s.jsxs)("div",{className:"ch",children:[(0,s.jsx)("span",{className:"cb",children:"CC"}),(0,s.jsx)("h3",{children:"Claude Code (CLI)"})]}),(0,s.jsx)(z,{id:"claude-code",text:m,c:a}),(0,s.jsxs)("p",{children:["Append ",(0,s.jsx)(F,{children:"--scope user"})," ","to enable it in every project. On first use run ",(0,s.jsx)(F,{children:"/mcp"}
2)," ","inside Claude Code (or ",(0,s.jsx)(F,{children:"claude mcp login bitquery"}),") and complete the browser login."]})]}),(0,s.jsxs)("div",{className:"mcs-cl",id:"chatgpt",children:[(0,s.jsxs)("div",{className:"ch",children:[(0,s.jsx)("span",{className:"cb",children:"GP"}),(0,s.jsx)("h3",{children:"ChatGPT"})]}),(0,s.jsxs)("ol",{className:"mcs-steps",children:[(0,s.jsx)("li",{children:(0,s.jsxs)("span",{children:["Open ",(0,s.jsx)("b",{children:"Settings → Connectors"})," (Plus, Pro or Business)."]})}),(0,s.jsx)("li",{children:(0,s.jsxs)("span",{children:["Click ",(0,s.jsx)("b",{children:"Add connector → Custom connector"}),"."]})}),(0,s.jsx)("li",{children:(0,s.jsxs)("span",{children:["URL: ",(0,s.jsx)(F,{children:c}),"."]})}),(0,s.jsx)("li",{children:(0,s.jsx)("span",{children:"Sign in with your Bitquery account."})})]})]}),(0,s.jsxs)("div",{className:"mcs-cl",id:"cursor",children:[(0,s.jsxs)("div",{className:"ch",children:[(0,s.jsx)("span",{className:"cb",children:"Cu"}),(0,s.jsx)("h3",{children:"Cursor"})]}),(0,s.jsxs)("ol",{className:"mcs-steps",children:[(0,s.jsx)("li",{children:(0,s.jsxs)("span",{children:["Open ",(0,s.jsx)("b",{children:"Settings → MCP"}),"."]})}),(0,s.jsx)("li",{children:(0,s.jsxs)("span",{children:["Click ",(0,s.jsx)("b",{children:"Add new MCP server"}),"."]})}),(0,s.jsx)("li",{children:(0,s.jsxs)("span",{children:["URL: ",(0,s.jsx)(F,{children:c}),"."]})})]}),(0,s.jsxs)("p",{children:["Or skip the steps with the ",(0,s.jsx)("a",{href:j,children:"Install in Cursor"})," button above."]})]}),(0,s.jsxs)("div",{className:"mcs-cl",id:"codex",children:[(0,s.jsxs)("div",{className:"ch",children:[(0,s.jsx)("span",{className:"cb",children:"Cx"}),(0,s.jsx)("h3",{children:"OpenAI Codex (CLI)"})]}),(0,s.jsx)(z,{id:"codex",text:u,c:a}),(0,s.jsxs)("p",{children:["Or add it to ",(0,s.jsx)(F,{children:"~/.codex/config.toml"}),":"]}),(0,s.jsx)(z,{id:"codex-toml",text:x,c:a,label:"Copy config"}),(0,s.jsx)("p",{children:"The first call opens a browser for the OAuth login."})]}),(0,s.jsxs)("div",{className:"mcs-cl",id:"vscode",children:[(0,s.jsxs)("div",{className:"ch",children:[(0,s.jsx)("span",{className:"cb",children:"VS"}),(0,s.jsx)("h3",{children:"VS Code and other MCP clients"})]}),(0,s.jsxs)("p",{children:["Add an MCP server with the URL ",(0,s.jsx)(F,{children:c}),", or use the"," ",(0,s.jsx)("a",{href:b,children:"Install in VS Code"})," button above. Windsurf and custom agents built on the Anthropic or OpenAI SDKs connect the same way."]}),(0,s.jsx)("p",{children:"A client that only speaks stdio can bridge through mcp-remote:"}),(0,s.jsx)(z,{id:"mcp-remote",text:y,c:a})]})]})]})}),(0,s.jsx)("section",{className:"s",id:"datasets",style:{paddingTop:0},"aria-labelledby":"ds-h",children:(0,s.jsxs)("div",{className:"wrap",children:[(0,s.jsx)(n.SHead,{idx:"02",kicker:"Two datasets, two plans",id:"ds-h",title:"What can an AI agent do with the Bitquery MCP server?",children:(0,s.jsxs)("p",{children:["The catalog splits into trading and market data on one side and crypto investigations on the other. The two MCP plans follow the same line: ",r.name," unlocks the market tools, ",l.name," unlocks everything, labels and tracing included."]})}),(0,s.jsxs)("div",{className:"mcs-pillars reveal",children:[(0,s.jsxs)("div",{className:"mcs-pillar",children:[(0,s.jsxs)("span",{className:"ptag",children:[r.name," · ",r.tools," tools"]}),(0,s.jsx)("h3",{children:"Trading and market data"}),(0,s.jsxs)("p",{className:"lede",children:["A trading MCP for AI agents: every DEX trade on ",v.length," ","chains, indexed to the second, including tokens that never reach CoinGecko or CoinMarketCap."]}),(0,s.jsx)("ul",{className:"checks",children:["Trending tokens, gainers, losers and the most volatile, per chain","OHLCV candles from 1 second to 1 hour, per token or per pair","Top, most profitable and quietly accumulating traders, with PnL","Token dashboards, asset comparisons and cross-chain arbitrage spreads","Raw SQL over 30 days of per-second trades, on paid plans"].map(e=>(0,s.jsxs)("li",{children:[(0,s.jsx)(G,{}),e]},e))}),(0,s.jsxs)("div",{className:"chainrow",children:[(0,s.jsx)("div",{className:"cl-l",children:"DEX trades on"}),(0,s.jsx)("div",{className:"chips",children:[...v,...g].map(e=>(0,s.jsx)("span",{className:"lc",children:e},e))})]})]}),(0,s.jsxs)("div",{className:"mcs-pillar inv",children:[(0,s.jsxs)("span",{className:"ptag",children:[l.name," · all ",256," ","tools"]}),(0,s.jsx)("h3",{children:"Crypto investigations"}),(0,s.jsx)("p",{className:"lede",children:"From one address to the whole story: money flows, c
2ounterparty labels, risk verdicts and flow maps, in about a minute."}),(0,s.jsx)("ul",{className:"checks",children:["Trace where a wallet sent or received funds, hop by hop","Name the counterparties: exchanges, mixers, scams, unknowns","AML risk screening with a LOW, MEDIUM or HIGH verdict and the evidence","Money-flow diagrams and full address dossiers in one run","Millions of address labels in both directions: identify one address, or list every address tagged mixer, sanctioned or scam"].map(e=>(0,s.jsxs)("li",{children:[(0,s.jsx)(G,{}),e]},e))}),(0,s.jsxs)("div",{className:"chainrow",children:[(0,s.jsx)("div",{className:"cl-l",children:"Transfer tracing on"}),(0,s.jsx)("div",{className:"chips",children:f.map(e=>(0,s.jsx)("span",{className:"lc",children:e},e))})]})]})]})]})}),(0,s.jsx)("section",{className:"s",id:"markets",style:{paddingTop:0},"aria-labelledby":"mk-h",children:(0,s.jsxs)("div",{className:"wrap",children:[(0,s.jsx)(n.SHead,{idx:"03",kicker:"Beyond DEX trades",id:"mk-h",title:"Does it cover Polymarket, Hyperliquid and Solana?",children:(0,s.jsx)("p",{children:"Yes. Three tool families go past token swaps, each with worked examples in the docs. The figures below came from the server on 21 September 2026."})}),(0,s.jsxs)("div",{className:"mcs-fams reveal",children:[(0,s.jsxs)("div",{className:"fam",children:[(0,s.jsxs)("h3",{children:[(0,s.jsx)("i",{"aria-hidden":"true"}),"Polymarket prediction markets"]}),(0,s.jsxs)("p",{children:[14," ","read-only tools for odds, price history, fills, wallets and holders. That day no market was in both the top five by volume and the top five by wallets, and the week's eighth-largest wallet won three of six bets and was still down about $434,000."," ",(0,s.jsx)("a",{href:_,children:"Polymarket MCP server"}),","," ",(0,s.jsx)("a",{href:N,children:"whale tracking"}),","," ",(0,s.jsx)("a",{href:q,children:"analytics"}),"."]})]}),(0,s.jsxs)("div",{className:"fam",children:[(0,s.jsxs)("h3",{children:[(0,s.jsx)("i",{"aria-hidden":"true"}),"Hyperliquid"]}),(0,s.jsxs)("p",{children:[18," ","tools for funding, open interest, liquidations, account rankings and positions. After Bitcoin rose 5.4% in 24 hours, 9,265 of the 9,334 BTC liquidations in that window were shorts, and BTC funding went from 10.95% to 78.64% per year in two hours."," ",(0,s.jsx)("a",{href:P,children:"Hyperliquid MCP server"}),"."]})]}),(0,s.jsxs)("div",{className:"fam",children:[(0,s.jsxs)("h3",{children:[(0,s.jsx)("i",{"aria-hidden":"true"}),"Solana and pump.fun"]}),(0,s.jsxs)("p",{children:['New launches, the first seconds of a launch, first buyers, and transfer tracing between wallets. The top "USDT" in Solana\'s 24-hour volume ranking that day was a counterfeit with 5 trades between 2 wallets, and the guide shows how to catch it.'," ",(0,s.jsx)("a",{href:T,children:"Solana MCP server"}),"."]})]})]}),(0,s.jsxs)("div",{className:"mcs-vids reveal",style:{marginTop:20},children:[(0,s.jsx)("div",{children:(0,s.jsx)(K,{id:k[2].id,title:k[2].title,poster:k[2].poster})}),(0,s.jsxs)("div",{children:[(0,s.jsxs)("p",{className:"vcap",style:{marginTop:0},children:[(0,s.jsxs)("b",{children:[k[2].title,"."]})," A 38-second demo of Polymarket, Hyperliquid and DEX questions answered in plain English."]}),(0,s.jsx)("p",{className:"vcap",children:(0,s.jsx)("b",{children:"Guides and examples"})}),(0,s.jsx)("ul",{className:"mcs-guides",style:{listStyle:"none",padding:0,margin:"10px 0 0"},children:A.map(e=>(0,s.jsxs)("li",{style:{fontSize:14,lineHeight:1.6,margin:"0 0 6px"},children:[(0,s.jsx)("a",{href:e.href,children:e.title}),": ",(0,s.jsx)("span",{style:{color:"var(--ink-2)"},children:e.desc})]},e.href))})]})]})]})}),(0,s.jsx)("section",{className:"s",id:"watch",style:{paddingTop:0},"aria-labelledby":"watch-h",children:(0,s.jsxs)("div",{className:"wrap",children:[(0,s.jsx)(n.SHead,{idx:"04",kicker:"Watch",id:"watch-h",title:"What does an investigation look like inside Claude?",children:(0,s.jsx)("p",{children:"Most crypto investigation tools cost thousands of dollars a month. The Bitquery MCP server does the same job inside Claude or ChatGPT: paste a wallet address, ask your question in plain English, and get the answer back with the evidence."})}),(0,s.jsxs)("div",{className:"mcs-vids reveal",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)(K,{id:k[0].id,title:k[0].title,poster:k[0].poster}),(0,s.jsxs)("p",{className:"vcap",children:[(0,s.jsxs)("b",{children:[k[0].title,"."]})," We point it at a single Tron wallet. It pulls the full transaction history, labels the counterparties, tells known exchanges apart from unknown wallets, traces where the money moved and writes a verdict: what the wallet is doing, how risky it looks, and the leads worth chasing next. The money-flow map at the end comes out of the same run."]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)(K,{id:k[1].id,title:k[1].title,poster:k[1].poster}),(0,s.jsxs)("p",{className:"vcap",children:[(0,s.jsxs)("b",{children:[k[1].title,"."]})," The setup walkthrough: adding the server as a connector, the OAuth sign-in with a Bitquery account, and the first on-chain questions."]})]})]})]})}),(0,s.jsx)("section",{className:"s",id:"ask",style:{paddingTop:0},"aria-labelledby":"ask-h",children:(0,s.jsxs)("div",{className:"wrap",children:[(0,s.jsx)(n.SHead,{idx:"05",kicker:"Ask in plain English",id:"ask-h",title:"What can you ask the Bitquery MCP server?",children:(0,s.jsx)("p",{children:"Each question below maps to one tool or one guided prompt. The agent picks it; you never see the call unless you ask to."})}),(0,s.jsx)("div",{className:"mcs-ask reveal",children:[["Ask it like an investigator",L],["Ask it like a trader",E]].map(([e,a])=>(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{children:e}),(0,s.jsx)("div",{className:"qs",children:a.map(e=>(0,s.jsxs)("div",{className:"q",children:[(0,s.jsxs)("p",{children:['"',e.q,'"']}),(0,s.jsx)("div",{className:"runs",children:e.uses})]},e.q))})]},e))})]})}),(0,s.jsx)("section",{className:"s",id:"prompts",style:{paddingTop:0},"aria-labelledby":"pr-h",children:(0,s.jsxs)("div",{className:"wrap",children:[(0,s.jsx)(n.SHead,{idx:"06",kicker:"Guided prompts",id:"pr-h",title:"Which guided prompts does the server ship?",children:(0,s.jsxs)("p",{children:["Guided prompts are one-shot workflows (MCP ",(0,s.jsx)(F,{children:"prompts/"}),") that chain several tools and return a chart, a table or a diagram. Pick them from your client's prompt or command menu."]})}),[["Investigations",H],["Trading",D]].map(([e,a])=>(0,s.jsxs)("div",{className:"mcs-pgroup reveal",children:[(0,s.jsxs)("h3",{children:[(0,s.jsx)("i",{"aria-hidden":"true"}),e]}),(0,s.jsx)("div",{className:"pgrid",children:a.map(([e,a])=>(0,s.jsxs)("div",{className:"pc",children:[(0,s.jsx)("code",{children:e}),(0,s.jsx)("p",{children:a})]},e))})]},e))]})}),(0,s.jsx)("section",{className:"s",id:"tools",style:{paddingTop:0},"aria-labelledby":"tools-h",children:(0,s.jsxs)("div",{className:"wrap",children:[(0,s.jsx)(n.SHead,{idx:"07",kicker:"256 tools under the hood",id:"tools-h",t
2itle:"Which tools does the Bitquery MCP server expose?",children:(0,s.jsxs)("p",{children:["Every prompt and example above is built from individual tools the agent can also call directly. The catalog groups into eight families. The full list, parameter shapes and supported networks come from the server itself when your client calls ",(0,s.jsx)(F,{children:"tools/list"}),", so the agent always sees the current catalog. Family list checked 21 September 2026."]})}),(0,s.jsx)(Y,{}),(0,s.jsx)("div",{className:"mcs-fams reveal",children:$.map(e=>(0,s.jsxs)("div",{className:"fam",children:[(0,s.jsxs)("h3",{children:[(0,s.jsx)("i",{"aria-hidden":"true"}),e.name]}),(0,s.jsx)("p",{children:e.body})]},e.name))}),(0,s.jsxs)("p",{className:"mcs-fnote reveal",children:[(0,s.jsx)(F,{children:"*_address_flow_summary"})," ","is the one-call triage of any hop: transfer counts, top senders and receivers, and a computed role (consolidator, distributor, relay, or hub at exchange scale, where tracing should stop)."," ",(0,s.jsx)(F,{children:"*_trace_dominant_path"})," ","follows the largest edge hop by hop, up to 5 hops in one call. Per-chain coverage varies slightly: Solana adds ",(0,s.jsx)(F,{children:"solana_find_instructions"}),", Bitcoin adds ",(0,s.jsx)(F,{children:"btc_related_addresses"})," and"," ",(0,s.jsx)(F,{children:"btc_tx_flow"})," ","with change outputs flagged; ",(0,s.jsx)(F,{children:"chain_capabilities"})," ","is the authoritative matrix."]})]})}),(0,s.jsx)("section",{className:"s",id:"compare",style:{paddingTop:0},"aria-labelledby":"cmp-h",children:(0,s.jsxs)("div",{className:"wrap",children:[(0,s.jsx)(n.SHead,{idx:"08",kicker:"MCP or GraphQL?",id:"cmp-h",title:"Why use the MCP server instead of the Bitquery GraphQL API?",children:(0,s.jsx)("p",{children:"The dataset is the same Bitquery index behind the GraphQL API, Kafka streams and TradingView feeds. What changes is the interface: the agent picks a typed tool and supplies the arguments, and you stay in the conversation. When you need a query you control line by line, or a stream, the GraphQL API and Kafka are still there on the same account."})}),(0,s.jsxs)("div",{className:"vs reveal",children:[(0,s.jsxs)("div",{className:"vs-row vs-head",children:[(0,s.jsx)("div",{children:"What your agent needs"}),(0,s.jsx)("div",{children:"Do it yourself"}),(0,s.jsxs)("div",{className:"h-good",children:[(0,s.jsx)("span",{className:"gp"}),"Bitquery MCP server"]})]}),W.map(e=>(0,s.jsxs)("div",{className:"vs-row",children:[(0,s.jsx)("div",{className:"lbl",children:e[0]}),(0,s.jsxs)("div",{className:"bad",children:[(0,s.jsx)(U,{}),e[1]]}),(0,s.jsxs)("div",{className:"good",children:[(0,s.jsx)(G,{stroke:"#51becc",size:16}),e[2]]})]},e[0]))]})]})}),(0,s.jsx)(n.ProofBand,{pull:(0,s.jsxs)(s.Fragment,{children:['"We did a thorough search of the market for the best onchain data. Bitquery came out on top — and ',(0,s.jsx)("span",{className:"acc-text",children:"now powers all live prices across Nansen"}),". We don't think of them as a vendor. They're a partner.\"   "]}),accent:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"st",children:[(0,s.jsx)("div",{className:"v",children:256}),(0,s.jsx)("div",{className:"k",children:"MCP tools in eight families"})]}),(0,s.jsxs)("div",{className:"st",children:[(0,s.jsx)("div",{className:"v",children:f.length}),(0,s.jsx)("div",{className:"k",children:"Chains with hop-by-hop transfer tracing"})]}),(0,s.jsxs)("div",{className:"st",children:[(0,s.jsxs)("div",{className:"v",children:["1",(0,s.jsx)("span",{className:"u",children:"s"})]}),(0,s.jsx)("div",{className:"k",children:"Finest candle interval on DEX trades"})]})]})}),(0,s.jsx)("section",{className:"s",id:"pricing",style:{paddingTop:0},"aria-labelledby":"price-h",children:(0,s.jsxs)("div",{className:"wrap",children:[(0,s.jsx)(n.SHead,{idx:"09",kicker:"Pricing",id:"price-h",title:"What does the Bitquery MCP server cost?",children:(0,s.jsx)("p",{children:"MCP is sold on its own, in credits. Every 7-day trial includes 100 free credits, and any paid API plan can to
2p up credits without switching plans."})}),(0,s.jsx)(J,{})]})}),(0,s.jsx)("section",{className:"s",id:"faq",style:{paddingTop:0},"aria-labelledby":"faq-h",children:(0,s.jsxs)("div",{className:"wrap",children:[(0,s.jsx)(n.SHead,{center:!0,kicker:"FAQ",id:"faq-h",title:"Bitquery MCP server questions, answered."}),(0,s.jsx)("div",{className:"faq reveal",children:B.map((e,a)=>(0,s.jsxs)("details",{open:0===a,children:[(0,s.jsxs)("summary",{children:[e.q," ",(0,s.jsx)("span",{className:"pm","aria-hidden":"true"})]}),(0,s.jsx)("div",{className:"ans",children:e.a.split("`").map((e,a)=>a%2?(0,s.jsx)(F,{children:e},a):e)})]},e.q))})]})}),(0,s.jsx)(n.FinalCta,{title:"Give your agent on-chain data today.",sub:`Add ${c} to Claude, ChatGPT, Cursor, VS Code or Codex and ask in plain English. Nothing to install on a server and no GraphQL to write.`,primaryHref:"#install",primaryLabel:"Install the MCP server",docsHref:p,fine:`Hosted \xb7 OAuth 2.1 \xb7 Streamable HTTP \xb7 plans from ${R(r.price)}/mo`})]})}let ee=(0,a.default)(()=>e.A(55074),{loadableGenerated:{modules:[90779]}}),es="https://bitquery.io/products/bitquery-mcp-server",ea=Math.max(...o.MCP_PLANS.map(e=>e.tools)),er=B.map(e=>[e.q,e.a.replace(/`/g,"")]),et=[{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Bitquery",item:"https://bitquery.io/"},{"@type":"ListItem",position:2,name:"Products",item:"https://bitquery.io/products"},{"@type":"ListItem",position:3,name:"Bitquery MCP Server",item:es}]},{"@context":"https://schema.org","@type":"Service",name:"Bitquery MCP Server",serviceType:"Model Context Protocol server",url:es,provider:{"@type":"Organization",name:"Bitquery",url:"https://bitquery.io"},offers:o.MCP_PLANS.map(e=>({"@type":"Offer",name:`${e.name} plan`,price:String(e.price),priceCurrency:"USD",url:"https://account.bitquery.io/",description:`${e.credits} MCP credits a month and ${e.tools===ea?"all 256":e.tools} tools. $${e.annualPrice}/mo billed yearly.`})),description:`Hosted Model Context Protocol server at ${c} that lets AI agents query Bitquery's on-chain data in plain English from Claude, ChatGPT, Cursor, VS Code, Codex and any MCP client: DEX trades and candles on ${v.join(", ")}; Polymarket prediction markets and the Hyperliquid exchange; hop-by-hop transfer tracing on ${f.join(", ")}; millions of address labels; raw SQL on paid plans.`},...k.map(e=>({"@context":"https://schema.org","@type":"VideoObject",name:e.title,description:e.description,thumbnailUrl:[`https://i.ytimg.com/vi/${e.id}/${e.poster}.jpg`],uploadDate:e.uploadDate,contentUrl:`https://www.youtube.com/watch?v=${e.id}`,embedUrl:`https://www.youtube-nocookie.com/embed/${e.id}`,publisher:{"@type":"Organization",name:"Bitquery",url:"https://bitquery.io"}})),{"@context":"https://schema.org","@type":"FAQPage",mainEntity:er.map(([e,s])=>({"@type":"Question",name:e,acceptedAnswer:{"@type":"Answer",text:s}}))}];e.s(["default",0,function(){return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(ee,{customTitle:!0,title:"Bitquery MCP Server: Crypto & Trading Data for AI Agents",description:"A hosted crypto MCP server for Claude, ChatGPT and Cursor. Ask in plain English about DEX trades, Polymarket odds, Hyperliquid positions or wallet money flows.",image:"/icons/seo/bitquery-og-every-chain-one-stream.jpg",imageAlt:"Bitquery MCP Server: crypto and trading data for AI agents",url:es,ogType:"product",keywords:"bitquery mcp, crypto mcp server, trading mcp, polymarket mcp, solana mcp, hyperliquid mcp, mcp server, model context protocol blockchain, mcp.bitquery.io, install bitquery mcp, cursor mcp server, claude blockchain data, chatgpt crypto connector, codex mcp server, vs code mcp bitquery, crypto investigation mcp, aml mcp server, ai agent onchain data, llm blockchain mcp, plain english blockchain query",jsonLd:et}),(0,s.jsx)(r.default,{children:(0,s.jsx)("meta",{name:"author",content:"Bitquery"})}),(0,s.jsx)(Z,{})]})}],26393)},37297,(e,s,a)=>{let r="/products/bitquery-mcp-server";(window.__NEXT_P=window.__NEXT_P||[]).push([r,()=>e.r(26393)]),s.hot&&s.hot.dispose(function(){window.__NEXT_P.push([r])})}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.