Skip to content

Commit 9f8fdf2

Browse files
committed
Run prebuild:ci
1 parent 039d27b commit 9f8fdf2

File tree

683 files changed

+14402
-10664
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

683 files changed

+14402
-10664
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"graph-assistant": "Graph Assistant",
3+
"ai-introduction": "The Graph's AI",
4+
"subgraph-mcp": "Subgraph MCP",
5+
"token-api-mcp": "Token API MCP"
6+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import titles from './_meta-titles.json'
2+
3+
export default {
4+
'ai-introduction': titles['ai-introduction'],
5+
'graph-assistant': titles['graph-assistant'],
6+
'subgraph-mcp': titles['subgraph-mcp'],
7+
'token-api-mcp': titles['token-api-mcp'],
8+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
---
2+
title: The Graph's AI
3+
---
4+
5+
Build with speed and scale faster with The Graph's AI.
6+
7+
## Using AI on The Graph
8+
9+
Instead of relying on static datasets or centralized APIs, you can now access live blockchain data through our **agentic** app, [Graph Assistant](/ai-suite/graph-assistant/introduction/), and use our AI-native tooling, [Subgraph MCP](/ai-suite/subgraph-mcp/introduction/), and [Token API MCP](/ai-suite/token-api-mcp/introduction/).
10+
11+
### Why Use Onchain Data with AI?
12+
13+
Using onchain data with AI unlocks powerful new ways to interact with and understand blockchain ecosystems.
14+
15+
- **AI for Non-Technical End Users**: AI can turn complex onchain data into accessible insights. Assistants powered by AI enable you to explore and analyze blockchain data without coding.
16+
- **AI for Developers**: You can use AI to interact directly with The Graph's data through your agents or build AI-powered applications on top of it. This streamlines development and opens up more intuitive, dynamic use cases.
17+
18+
## AI for Non-Technical/End Users
19+
20+
[Graph Assistant](/ai-suite/graph-assistant/introduction/) is a powerful **agentic** application that empowers users to easily interact with blockchain data. Ask questions in simple, natural language and get rich, AI powered insights. Both technical developers and non-technical product teams can move faster, make smarter decisions, and gain a clearer understanding than ever before.
21+
22+
### Benefits of Using Graph Assistant
23+
24+
- **Natural language Input**: You don't need to write complex queries or sift through dashboards. Simply ask your question in plain English and get clear, structured results.
25+
- **Multi-source support**: Works across multiple Subgraphs and Token API. The Assistant automatically determines which data source to use, so you don't have to switch tools or manage endpoints.
26+
- **Schema-free access**: You don't need to understand the schema. You can refer to tokens, protocols, dates, or addresses using natural language. The Assistant takes care of the rest.
27+
28+
### Conversational Querying with Graph Assistant
29+
30+
**Example queries:**
31+
32+
- "List the top-5 swaps by USD value in the last 24 hours."
33+
- "Give me the daily volume on Uniswap."
34+
- "List the 20 most recently registered .eth names."
35+
36+
[Graph Assistant](/ai-suite/graph-assistant/introduction/) will eventually be a one-stop shop for interacting with The Graph. Right now, it's an agentic AI app that uses state-of-the-art AI techniques, LLMs, and MCPs to understand and answer your questions about [Subgraphs](/subgraphs/developing/subgraphs/) and [Token API](/token-api/quick-start/) data.
37+
38+
## AI for Developers
39+
40+
### Enable Natural Language Access to Onchain Data
41+
42+
[Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP) servers connect to Claude, Cline, and Cursor. They enable models to understand, query, and interact with structured onchain data using natural language. MCPs remove the need to write low-level queries or interact with APIs directly.
43+
44+
### Subgraph MCP
45+
46+
The [Subgraph MCP](/ai-suite/subgraph-mcp/introduction/) server connects models to Subgraphs on The Graph Network. It allows language models to explore Subgraph schemas, execute GraphQL queries, find relevant Subgraphs by keyword or contract, and surface usage metrics using natural language.
47+
48+
### Token API MCP
49+
50+
The [Token API MCP](/ai-suite/token-api-mcp/introduction/) MCP server enables models to access onchain token data. It supports querying token metadata, wallet balances, transfer history, and top token holders through simple prompts.
51+
52+
#### Benefits of Using Subgraph and Token API MCPs
53+
54+
- Query Subgraphs and token data using natural language
55+
- Access GraphQL schemas and token metadata without manual queries
56+
- Find Subgraphs by keyword or contract and check 30-day usage
57+
- Retrieve real-time data from The Graph and onchain token sources
58+
- Get wallet balances, transfer history, and top token holders
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
export default {
2+
'quick-start': '',
3+
introduction: '',
4+
'how-to-guide': '',
5+
faq: '',
6+
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
title: Graph Assistant FAQ
3+
sidebarTitle: 'FAQ'
4+
---
5+
6+
This page summarizes some of the most common questions for developers using Graph Assistant.
7+
8+
1. What is The Graph Assistant?
9+
10+
The Graph Assistant is an AI-powered chat interface that lets you query blockchain data in plain English. Under the hood, it translates your questions into GraphQL calls against Subgraphs and the Token API, then returns results, no coding required.
11+
12+
2. What is an agentic application?
13+
14+
An agentic application combines AI-driven reasoning with external data sources or APIs to take autonomous actions on your behalf. In this case, Graph Assistant acts as an “agent” that interprets your natural-language prompts, builds and dispatches GraphQL queries, and formats the results so that you don't need to write or manage queries yourself.
15+
16+
3. Which networks and data does Graph Assistant support?
17+
18+
The Assistant has access to Subgraphs across multiple chains. If a Subgraph is published to The Graph Network and is being indexed, the Assistant can automatically route queries to it. The Assistant also has access to the Token API on Ethereum Mainnet, BSC, Unichain, Arbitrum-One, Optimism, and Polygon.
19+
20+
4. Is there a usage limit or quota?
21+
22+
Yes, 10 questions per hour.
23+
24+
5. What if the Assistant can't interpret my question?
25+
26+
When the Assistant fails to parse your intent (for example, ambiguous token name, missing context, or an unsupported request), it will prompt you for clarification. For instance, it might ask, “Did you mean XYZ on Ethereum or XYZ on Arbitrum?” or “Please specify a date range for this query.” If you continue to see parsing errors, check that you're using correct token symbols or specifying networks and time frames clearly.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
title: How To Use The Graph Assistant
3+
sidebarTitle: 'How-to Guide'
4+
---
5+
6+
## Overview
7+
8+
You type a natural language question into the chat interface, such as:
9+
10+
```yaml
11+
'On Uniswap, return the top-10 pools by total value locked in USD.'
12+
```
13+
14+
> [!IMPORTANT] All users can process 10 free queries per user per hour.
15+
16+
> [!NOTE] Disclaimer: By using Graph Assistant, you acknowledge that your requests may be logged and used to improve the performance of the underlying agents. Do not share sensitive, personal, or private information.
17+
18+
### Behind the Scenes
19+
20+
The Assistant:
21+
22+
1. Interprets your intent
23+
2. Maps it to the correct Subgraphs or Token API endpoint
24+
3. Executes optimized queries
25+
4. Returns clean, structured results
26+
27+
You don't need to write queries or understand a Subgraph's schema, you simply ask.
28+
29+
### Example Use Cases
30+
31+
**Protocol Analytics**
32+
33+
- “Compare daily active users on Aave vs. Compound in May 2025.”
34+
- “Show me the total value locked (TVL) for XYZDAO over the last quarter.”
35+
36+
**Token Insights**
37+
38+
- “What are the top 10 tokens by market cap on Ethereum right now?”
39+
- “How many XYZ did I receive between May 1 and May 15?”
40+
41+
**Historical Data Retrieval**
42+
43+
- “Fetch the token price history of XYZ for the last six months.”
44+
- “What was the average gas price on Ethereum during April?”
45+
46+
**Portfolio Monitoring**
47+
48+
- “List my wallet’s current token balances and their USD equivalents.”
49+
- “Calculate profit/loss on XYZ since xyz date.”
50+
51+
**Cross-Chain Comparison**
52+
53+
- “Show me the 7-day trading volume of XYZ on Ethereum vs. Polygon.”
54+
- “How many XYZ swaps occurred on Arbitrum yesterday?”
55+
56+
To get started follow the [quickstart](/ai-suite/graph-assistant/quick-start/) and explore its capabilities.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
title: Introduction
3+
---
4+
5+
> [!IMPORTANT] Graph Assistant is still in **beta**. Expect breaking changes, rate limits, and potential downtime.
6+
7+
[Graph Assistant](https://thegraph.com/graph-assistant) (Beta) gives instant, code-free access to blockchain data, transforming natural language into precise, AI-powered queries without the need to code.
8+
9+
## Overview
10+
11+
[Graph Assistant](https://thegraph.com/graph-assistant) is an advanced, [agentic](/en/ai-suite/graph-assistant/faq/) easy-to-use chat interface for querying blockchain data using natural language. Unlike a basic chatbot, Graph Assistant can understand your intent, build complex queries, and execute them automatically. This gives you rich, AI-powered insights from onchain data without writing any code.
12+
13+
- **Automatically** interprets user intent, generates precise queries, executes them via The Graph's Subgraphs and Token API, and presents structured, AI-powered answers without requiring any code.
14+
- **Removes** the technical complexity found in traditional dashboards or chatbots. It provides composable insights directly from indexed Subgraphs and Token datasets.
15+
16+
## Core Features
17+
18+
| Feature | Description |
19+
| --- | --- |
20+
| **Friendly Interface** | Conversational access to blockchain data via natural language. You simply ask questions, the Assistant fetches the answer, and renders results. |
21+
| **Backed by Subgraphs** | Uses subgraphs to index protocol-specific data like transactions, events, and protocol metrics. |
22+
| **Backed by Token API** | Uses Token API for token-level information like balances, transfers, and metadata. |
23+
| **No Setup Required** | No need to configure data sources or write queries. |
24+
| **Automatic Query Building** | The Assistant performs complex queries such as fetching historical token volumes, protocol analytics, or cross-chain data and handles filtering, pagination, and joins across Subgraphs automatically. |
25+
26+
## Help Shape What's Next
27+
28+
This is in **beta**, and community input is essential. If you have ideas, questions, or run into anything unexpected, we'd love to hear from you:
29+
30+
- Join the community on [Discord](https://discord.com/invite/graphprotocol): Provide feedback and stay in the loop with other builders. You'll be able to join the `#graph-assistant` channel to share your experience directly.
31+
- Interested in going deeper? Reach out to become a dedicated beta tester so your specific use case can be better supported.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
---
2+
title: Quick Start
3+
---
4+
5+
> [!IMPORTANT] Graph Assistant is still in **beta**. Expect breaking changes, rate limits, and potential downtime.
6+
7+
This guide provides step-by-step instructions for getting started with Graph Assistant quickly.
8+
9+
## Step-by Step
10+
11+
### Step 1. Create an Account
12+
13+
Go to: [Graph Assistant](https://thegraph.com/graph-assistant)
14+
15+
- Click Sign Up (or Log In if you already have an account).
16+
- Use your Google, GitHub, X, email or wallet credentials to log in.
17+
- No additional setup is required.
18+
19+
### Step 2. Open the Assistant Chat
20+
21+
After logging in:
22+
23+
- You'll see Graph Assistant's interface.
24+
- At the bottom of the page, you will find a chat input bar. This is where you will interact with the Assistant.
25+
26+
### Step 3: Ask Your First Question
27+
28+
> [!IMPORTANT] All users can process 10 free queries per user per hour.
29+
30+
In the input bar, type a natural-language query (everyday language).
31+
32+
Example:
33+
34+
```yaml
35+
Show me the 24-hour trading volume of XYZ token on Ethereum
36+
```
37+
38+
> [!NOTE] Disclaimer: By using Graph Assistant, you acknowledge that your requests may be logged and used to improve the performance of the AI interface. Do not share sensitive, personal, or private information.
39+
40+
The Assistant will:
41+
42+
- Digest your question
43+
- Fetch onchain data using Subgraphs or the Token API
44+
- Return a clean, formatted response with the data you need

website/src/pages/ar/token-api/mcp/_meta.js renamed to website/src/pages/ar/ai-suite/subgraph-mcp/_meta.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
export default {
2+
introduction: '',
23
claude: '',
34
cline: '',
45
cursor: '',

website/src/pages/cs/subgraphs/mcp/claude.mdx renamed to website/src/pages/ar/ai-suite/subgraph-mcp/claude.mdx

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,7 @@
22
title: Claude Desktop
33
---
44

5-
The Subgraph [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP) server enables Claude to interact directly with Subgraphs on The Graph Network. This integration allows you to find relevant Subgraphs for specific keywords and contracts, explore Subgraph schemas, and execute GraphQL queries—all through natural language conversations with Claude.
6-
7-
## What You Can Do
8-
9-
The Subgraph MCP integration enables you to:
10-
11-
- Access the GraphQL schema for any Subgraph on The Graph Network
12-
- Execute GraphQL queries against any Subgraph deployment
13-
- Find top Subgraph deployments for a given keyword or contract address
14-
- Get 30-day query volume for Subgraph deployments
15-
- Ask natural language questions about Subgraph data without writing GraphQL queries manually
5+
This guide walks you through the integration of Subgraph [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP) to access Subgraph data via natural language conversations with Claude.
166

177
## Prerequisites
188

0 commit comments

Comments
 (0)