Bitquery for AI agents
Bitquery indexes historical and real-time data across more than 40 blockchains, used by developers and analysts to query on-chain transactions, prices, and token transfers via GraphQL. Connect it once through Arc0, and your agent, or Claude, ChatGPT and Cursor, can use it through one MCP endpoint, limited to what each user approved.
What agents do in Bitquery.
Query recent transactions for a token
Run a real-time database query for a token's transfers to check recent on-chain activity.
Pull historical price data
Query the archive database for a token's historical prices to chart activity over the past month.
Check a metric across networks
Select a metric across multiple blockchain networks as a read-only comparison with no transactions involved.
10 Bitquery actions, graded by risk.
Every Bitquery action is tagged read, write or destructive, so one policy covers the whole app and new actions inherit the right default.
read
0Look things up. Allowed by default.
- No read actions.
write
9Create and change things. Allow, or ask the user first.
- bitquery.options_queryOptions Query
- bitquery.select_by_metricSelect By Metric
- bitquery.network_selectionNetwork Selection
- bitquery.database_selectionDatabase Selection
- bitquery.conditional_metricsConditional Metrics Snippet
- bitquery.price_asymmetry_metricPrice Asymmetry Metric
- bitquery.combined_database_queryCombined Database Query
- bitquery.realtime_database_queryRealtime Database Query
- bitquery.early_access_program_queryEarly Access Program Query
destructive
1Delete, cancel or archive. Ask first, or deny outright.
- bitquery.archive_database_queryArchive Database Query
Bitquery in three steps.
- 01Your users connect BitqueryThey add their Bitquery api key on Arc0 Connect, under your brand. It goes straight into the vault.
- 02You set the rulesReads run, writes like “options Query” can wait for the user, and “archive Database Query” can be denied outright.
- 03Any agent can actYour agent calls Bitquery through the Arc0 SDK or MCP, and so can Claude, ChatGPT and Cursor. Every call lands on the audit log.
await arc0.policies.set('bitquery', { read: 'allow', write: 'ask', // options_query destructive: 'deny', // archive_database_query }) # Claude Code: the same connection, one URL $ claude mcp add --transport http arc0 \ https://mcp.arc0.ai/u/u_8f2
How Bitquery connects.
Users add their Bitquery api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.
The same Bitquery connection serves your agent over MCP and your own backend over REST and the proxy, so a user connects once. How Arc0 handles credentials →
- AUTH
- API key
- CREDENTIALS
- Per-tenant encrypted vault
- MODEL SEES
- Results only, never credentials
- AUDIT LOG
- Every call, on every plan
Use Bitquery from any agent.
Bitquery and Arc0, answered.
Can I use Bitquery with Claude, ChatGPT or Cursor?
Yes. Connect Bitquery to Arc0 once, then add your Arc0 MCP URL to Claude, ChatGPT, Cursor, Claude Code or any other remote-MCP client. Each assistant only gets the Bitquery actions you allow.
How do users connect Bitquery?
Users add their Bitquery api key on Arc0 Connect. It is encrypted in the vault, never shown to the model, and each user can rotate or revoke it at any time.
Which Bitquery actions can my agent take?
10 in total: 0 read, 9 write and 1 destructive, such as “options Query”. Your policies decide which of them each agent may call.
Can I stop my agent from deleting things in Bitquery?
Yes. Actions like “archive Database Query” are graded destructive. Set destructive actions to deny, or to ask so the user approves each one, and blocked calls still show up on the audit log.
Can my own backend call Bitquery too?
Yes. The same Bitquery connection is available over REST and through the Arc0 proxy, so your product and your agent share one connection per user.
Plug Bitquery into your agent.
Your users connect Bitquery once, under your brand. Your agent gets 10 actions behind your policies, with every call on the record.
Free to build · MCP + REST · Audit log on every plan