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

# Build with AI

> Build with Webacy using AI tools: llms.txt files, OpenAPI spec, Cursor docs source, Claude Code CLAUDE.md context, and per-page Open in Claude shortcuts.

Webacy documentation is designed to be AI-native. Whether you're building autonomous agents, using AI coding assistants, or feeding context into LLMs, there are multiple ways to access Webacy's API documentation programmatically.

## Complete Documentation for LLMs

Webacy publishes a plain-text version of the entire documentation site, optimized for LLM consumption and RAG systems.

| File                                                     | Description                                                 |
| -------------------------------------------------------- | ----------------------------------------------------------- |
| [`llms.txt`](https://docs.webacy.com/llms.txt)           | Lightweight index of all pages with titles and descriptions |
| [`llms-full.txt`](https://docs.webacy.com/llms-full.txt) | Full text of every documentation page in a single file      |

Use `llms-full.txt` to:

* Build RAG pipelines that answer questions about Webacy's API
* Seed AI agents with complete API knowledge
* Create custom chatbots for your team's integration workflow

```bash theme={null}
# Download the full docs for your RAG system
curl -o webacy-docs.txt https://docs.webacy.com/llms-full.txt
```

## Per-Page AI Access

Every documentation page has built-in AI options. Click the contextual menu on any page to:

* **Copy** the page content as markdown
* **Open in Claude** to discuss the page with Claude
* **Open in ChatGPT** to discuss the page with ChatGPT
* **Open in Cursor** to use the page as context in Cursor

You can also append `.md` to any page URL to get the raw markdown content. For example:

```text theme={null}
https://docs.webacy.com/api-reference/introduction.md
```

## OpenAPI Specification

The full OpenAPI 3.0 spec is published at:

```text theme={null}
https://docs.webacy.com/openapi.json
```

Feed this to AI tools for automatic code generation, SDK creation, or API client scaffolding:

```bash theme={null}
# Generate a TypeScript client with an AI coding assistant
# Provide the spec as context:
curl -o webacy-openapi.json https://docs.webacy.com/openapi.json
```

## Cursor Integration

Add Webacy docs as a documentation source in Cursor for inline context while coding.

**Step 1:** Open Cursor Settings > Features > Docs

**Step 2:** Click "Add new doc" and enter:

```text theme={null}
https://docs.webacy.com
```

**Step 3:** Use `@Docs` in Cursor chat to reference Webacy documentation:

```text theme={null}
@Docs How do I check if a wallet is sanctioned using the Webacy API?
```

You can also add the [Agent Reference](/integrations/agent-reference) page directly to your project's `.cursorrules` file for persistent context.

## Claude Code / CLAUDE.md

For projects using [Claude Code](https://docs.anthropic.com/en/docs/claude-code), add the Agent Reference to your `CLAUDE.md` file so Claude always has Webacy API context:

```bash theme={null}
# Download the agent reference and append to your CLAUDE.md
echo "\n## Webacy API Reference\nSee: https://docs.webacy.com/integrations/agent-reference\n" >> CLAUDE.md
```

Or copy the content from the [Agent Reference](/integrations/agent-reference) page directly into your `CLAUDE.md` for offline access.

## MCP Server

For the deepest AI integration, connect your AI coding assistant directly to Webacy's API using the Model Context Protocol (MCP). This lets tools like Claude Code and Cursor query live blockchain risk data without leaving your editor.

<Card title="MCP Server Setup" icon="plug" href="/integrations/mcp-server">
  Connect Claude Code or Cursor to Webacy's live risk analysis tools
</Card>

## AI Search

The documentation site includes built-in AI-powered search. Use the search bar on any page to ask natural language questions about the API, and get AI-generated answers grounded in the documentation.

## Quick Reference

| Method                                                 | Best For                                      |
| ------------------------------------------------------ | --------------------------------------------- |
| [llms-full.txt](https://docs.webacy.com/llms-full.txt) | RAG systems, bulk ingestion, agent training   |
| [Agent Reference](/integrations/agent-reference)       | AI coding assistants, CLAUDE.md, .cursorrules |
| [MCP Server](/integrations/mcp-server)                 | Live data queries from your editor            |
| [OpenAPI spec](https://docs.webacy.com/openapi.json)   | Code generation, SDK scaffolding              |
| Per-page AI buttons                                    | Ad-hoc questions about specific pages         |
| AI Search                                              | Quick natural language lookups                |
