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

# 配合 LLM 使用 Blockradar

> 使用 AI 工具搜索、理解 Blockradar 文档并进行开发。

Blockradar 文档专为 AI 工具设计。您可以将任何页面复制为 Markdown，直接在您喜欢的 AI 助手中打开，或将文档 MCP 服务器连接到您的开发环境，以进行上下文搜索、代码生成和故障排除——无需手动复制粘贴。

## 与任何页面对话

Blockradar 文档的每个页面都包含一个上下文菜单（右上角），让您可以使用 AI 工具与内容进行交互：

* **复制为 Markdown** — 将页面完整内容复制为干净的 Markdown，可直接粘贴到任何 LLM 对话中。
* **在 Claude 中打开** — 将页面直接发送到 Claude，并加载完整上下文。
* **在 ChatGPT 中打开** — 将页面直接发送到 ChatGPT。
* **在 Perplexity 中打开** — 将页面发送到 Perplexity 进行研究型查询。

当您想要针对特定页面提问、基于 API 参考生成代码，或在完整文档上下文中排查集成问题时，请使用此功能。

## 连接 MCP 服务器

Blockradar 文档 MCP 服务器允许 AI 助手自动搜索和检索文档。连接后，您的 AI 工具可以自主浏览我们的文档——无需手动复制内容。

<Tabs>
  <Tab title="Claude Desktop">
    将以下内容添加到您的 Claude Desktop MCP 配置文件中：

    **macOS：** `~/Library/Application Support/Claude/claude_desktop_config.json`
    **Windows：** `%APPDATA%\Claude\claude_desktop_config.json`

    ```json theme={null}
    {
      "mcpServers": {
        "blockradar-docs": {
          "command": "npx",
          "args": ["-y", "@mintlify/mcp", "--url", "https://docs.blockradar.co"]
        }
      }
    }
    ```

    保存后重启 Claude Desktop。
  </Tab>

  <Tab title="Claude Code">
    在终端中运行以下命令：

    ```bash theme={null}
    claude mcp add blockradar-docs -- npx -y @mintlify/mcp --url https://docs.blockradar.co
    ```
  </Tab>

  <Tab title="Cursor">
    将以下内容添加到您的 Cursor MCP 配置文件（`.cursor/mcp.json`）中：

    ```json theme={null}
    {
      "mcpServers": {
        "blockradar-docs": {
          "command": "npx",
          "args": ["-y", "@mintlify/mcp", "--url", "https://docs.blockradar.co"]
        }
      }
    }
    ```
  </Tab>

  <Tab title="Windsurf">
    将以下内容添加到您的 Windsurf MCP 配置文件（`~/.codeium/windsurf/mcp_config.json`）中：

    ```json theme={null}
    {
      "mcpServers": {
        "blockradar-docs": {
          "command": "npx",
          "args": ["-y", "@mintlify/mcp", "--url", "https://docs.blockradar.co"]
        }
      }
    }
    ```
  </Tab>
</Tabs>

连接后，您的 AI 助手可以搜索所有 Blockradar 文档，检索 API 参考详情，并回答关于钱包、地址、webhooks、交易以及 Blockradar 所有其他功能的问题——直接在您的开发工作流中完成。

## LLM 数据源文件

Blockradar 发布机器可读的文档索引，LLM 工具可以直接使用：

| 文件              | 内容           | URL                                                                          |
| --------------- | ------------ | ---------------------------------------------------------------------------- |
| `llms.txt`      | 包含标题和描述的页面索引 | [docs.blockradar.co/llms.txt](https://docs.blockradar.co/llms.txt)           |
| `llms-full.txt` | 单个文件中的完整文档内容 | [docs.blockradar.co/llms-full.txt](https://docs.blockradar.co/llms-full.txt) |

当您需要轻量级概览用于工具发现时，使用 `llms.txt`。当您想将整个 Blockradar 文档加载到自定义 AI 工作流或 RAG 管道时，使用 `llms-full.txt`。
