thegraph-mcp

thegraph-mcp

3

TheGraph MCP Server acts as an MCP server facilitating AI agents with indexed blockchain data from The Graph. It offers tools for fetching subgraph schemas and executing GraphQL queries, making it a valuable resource for blockchain data querying and analysis.

TheGraph MCP Server

An MCP server using The Graph's indexed blockchain data to assist AI agents. It features tools like:

  • getSubgraphSchema: Fetches the schema of a specified subgraph, useful for generating GraphQL queries.
  • querySubgraph: Executes GraphQL queries against a subgraph, supporting both AI and manual queries.

Installation

  1. Clone the repository.
  2. Configure the client as per instructions.

Example Prompts

  • Schema and data queries, plus analysis and combined tasks related to subgraphs.