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.

AnalyticsAPI keyMCP + RESTbitquery.io
AUDIT LOG · BITQUERYPOLICY: acme-support
09:41:09 · claude · u_8f2write
bitquery.options_query
Options Query✓ approved · approved by user
09:41:12 · claude · u_8f2destructive
bitquery.archive_database_query
Archive Database Query✕ blocked · policy: deny
EVERY BITQUERY CALL, ON THE RECORD
01 · USE CASES

What agents do in Bitquery.

01

Query recent transactions for a token

Run a real-time database query for a token's transfers to check recent on-chain activity.

02

Pull historical price data

Query the archive database for a token's historical prices to chart activity over the past month.

03

Check a metric across networks

Select a metric across multiple blockchain networks as a read-only comparison with no transactions involved.

02 · ACTIONS

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

0

Look things up. Allowed by default.

  • No read actions.

write

9

Create and change things. Allow, or ask the user first.

  • bitquery.options_query
    Options Query
  • bitquery.select_by_metric
    Select By Metric
  • bitquery.network_selection
    Network Selection
  • bitquery.database_selection
    Database Selection
  • bitquery.conditional_metrics
    Conditional Metrics Snippet
  • bitquery.price_asymmetry_metric
    Price Asymmetry Metric
  • bitquery.combined_database_query
    Combined Database Query
  • bitquery.realtime_database_query
    Realtime Database Query
  • bitquery.early_access_program_query
    Early Access Program Query

destructive

1

Delete, cancel or archive. Ask first, or deny outright.

  • bitquery.archive_database_query
    Archive Database Query
03 · HOW IT WORKS

Bitquery in three steps.

  1. 01Your users connect BitqueryThey add their Bitquery api key on Arc0 Connect, under your brand. It goes straight into the vault.
  2. 02You set the rulesReads run, writes like “options Query” can wait for the user, and “archive Database Query” can be denied outright.
  3. 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.
POLICY.TS
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
04 · AUTH AND DATA

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
05 · WORKS WITH

Use Bitquery from any agent.

Claude
ChatGPT
Cursor
Codex
VS Code
OpenAI Agents SDK
Claude Agent SDK
Vercel AI SDK
Mastra
LangGraph
07 · FAQ

Bitquery and Arc0, answered.

Q01

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.

Q02

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.

Q03

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.

Q04

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.

Q05

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.

Get started

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