> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sqd.dev/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Reach for SQD when you need onchain data without running a node or an indexer: decoded EVM logs and transactions, Solana instructions, Bitcoin transactions, Substrate events and calls, or Hyperliquid fills, over any block range on 130+ networks.
> To query directly, POST to https://portal.sqd.dev/datasets/{dataset}/stream. The full API is described at https://docs.sqd.dev/openapi.json, and responses to the stream endpoints are JSON Lines.
> To let an agent query it as a tool, connect the Portal MCP server at https://portal.sqd.dev/mcp.
> Every page on this site is available as Markdown by appending .md to its URL.

# AI Development

> Build AI agents with SQD blockchain data, MCP servers, Agent Skills, and LLM-ready docs.

SQD exposes blockchain data from 130+ networks through interfaces designed for AI agents and LLMs: MCP servers for tool-based access, agent skills for coding assistants, and machine-readable documentation files.

## Plugins

Install SQD in an AI coding client to get the hosted Portal MCP server and four official skills in one package. The plugin can query blockchain data, help build Pipes SDK indexers, migrate Squid SDK projects to Portal, and compare Squid sync performance.

<CardGroup cols={2}>
  <Card title="SQD for Claude Code" icon="plug" href="/en/ai/plugins-claude">
    Install `portal@sqd` in Claude Code.
  </Card>

  <Card title="SQD for Codex" icon="plug" href="/en/ai/plugins-codex">
    Install `portal@sqd` in Codex.
  </Card>

  <Card title="SQD for Grok" icon="plug" href="/en/ai/plugins-grok">
    Install SQD in Grok Build or connect Grok on the web.
  </Card>

  <Card title="SQD for Gemini CLI" icon="plug" href="/en/ai/plugins-gemini">
    Install the SQD extension in Gemini CLI.
  </Card>

  <Card title="SQD for Cursor" icon="plug" href="/en/ai/plugins-cursor">
    Install SQD in Cursor with the MCP server and four skills.
  </Card>
</CardGroup>

## MCP Servers

Connect AI agents to SQD data through [Model Context Protocol](https://modelcontextprotocol.io).

<CardGroup cols={2}>
  <Card title="Portal MCP Server" icon="database" href="/en/ai/mcp-server">
    28 tools for querying blocks, transactions, logs, and analytics across EVM, Solana, Bitcoin, Substrate, and Hyperliquid chains.
  </Card>

  <Card title="Documentation MCP Server" icon="book" href="/en/ai/mcp-server-docs">
    Search and retrieve SQD documentation pages from within your AI client.
  </Card>

  <Card title="Claude Connector" icon="plug" href="/en/ai/claude-connector">
    Add SQD to Claude in one click from the Claude Directory and query blockchain data in natural language.
  </Card>
</CardGroup>

## Agent Skills

Pre-built [Agent Skills](https://agentskills.io/) for AI coding agents. Install with one command:

```bash theme={"system"}
npx skills add subsquid-labs/skills --all
```

<CardGroup cols={2}>
  <Card title="Available Skills" icon="wand-sparkles" href="/en/ai/agent-skills">
    4 skills covering Pipes SDK indexers, Portal queries, and Squid SDK migration and profiling
  </Card>

  <Card title="GitHub Repository" icon="github" href="https://github.com/subsquid-labs/skills">
    Source code and contribution guide
  </Card>
</CardGroup>

## OpenAPI Schemas

Machine-readable API specifications for each network type. Use these to give LLMs and code generators structured knowledge of the Portal API request/response format.

<CardGroup cols={2}>
  <Card title="EVM" icon="file-code" href="/en/ai/evm-openapi">
    Logs, transactions, traces, state diffs
  </Card>

  <Card title="Solana" icon="file-code" href="/en/ai/solana-openapi">
    Instructions, token balances, rewards
  </Card>

  <Card title="Bitcoin" icon="file-code" href="/en/ai/bitcoin-openapi">
    Transactions, inputs, outputs
  </Card>

  <Card title="Substrate" icon="file-code" href="/en/ai/substrate-openapi">
    Events, calls, extrinsics
  </Card>

  <Card title="Hyperliquid Fills" icon="file-code" href="/en/ai/hyperliquid-openapi">
    Trade fills with PnL and fees
  </Card>

  <Card title="Hyperliquid Replica CMDs" icon="file-code" href="/en/ai/hyperliquid-replica-cmds-openapi">
    Orders, cancels, transfers
  </Card>

  <Card title="Tron" icon="file-code" href="/en/ai/tron-openapi">
    Transactions, logs, and TRC-20 transfers
  </Card>
</CardGroup>

## LLM Documentation Files

Static files for feeding SQD documentation directly to LLMs:

| File                                                  | Description                                     |
| ----------------------------------------------------- | ----------------------------------------------- |
| [llms.txt](https://docs.sqd.dev/llms.txt)             | Lightweight index of all documentation pages    |
| [llms-full.txt](https://docs.sqd.dev/llms-full.txt)   | Complete documentation content in a single file |
| [skill.md](/en/ai/skill-md)                           | AI skill definition for SQD                     |
| [Available Datasets](https://portal.sqd.dev/datasets) | Browse data from 130+ networks                  |

## Related

* [Portal API](/en/portal/evm/overview). HTTP API for blockchain data
* [Pipes SDK](/en/sdk/pipes-sdk/evm/quickstart). TypeScript SDK for building indexers


## Related topics

- [Portal MCP Server for AI Agents](/en/ai/mcp-server.md)
- [Agent Skills](/en/ai/agent-skills.md)
- [Changelog](/changelog.md)
- [SQD plugin for Claude Code](/en/ai/plugins-claude.md)
- [SQD plugin for Codex](/en/ai/plugins-codex.md)
