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

# Build with AI

> Connect AI agents and coding tools to the Etherscan API across 60+ chains, with MCP and a CLI.

Give your AI agents and coding assistants direct access to onchain data through the same API that powers etherscan.io, across all 60+ [supported chains](/supported-chains). New to the API? [Create a free API key](/set-up-your-api-key) to get started.

<Frame>
  <img src="https://mintcdn.com/etherscan/PrmCI8xWhLgr8YZ-/images/build-with-ai.png?fit=max&auto=format&n=PrmCI8xWhLgr8YZ-&q=85&s=4e798ad9ebe6c9a75d92bb70a7b9d0c1" alt="Build with AI: connect AI agents to the Etherscan API" width="2400" height="1350" data-path="images/build-with-ai.png" />
</Frame>

## Core tools

<Columns cols={2}>
  <Card title="Etherscan MCP" icon="plug" href="/build-with-ai/mcp" horizontal>
    Tool-based, authenticated API access for chat agents like Claude and ChatGPT.
  </Card>

  <Card title="Etherscan CLI" icon="terminal" href="/build-with-ai/cli" horizontal>
    Query the API from the terminal, scripts, and CI, with structured output.
  </Card>
</Columns>

## Machine-readable docs

Point an agent straight at the docs: load [`llms.txt`](https://docs.etherscan.io/llms.txt) for the index or [`llms-full.txt`](https://docs.etherscan.io/llms-full.txt) for the full export, or append `.md` to any page URL.
