thegraph-mcp-skill

Discover subgraphs, retrieve schemas, and execute GraphQL queries via The Graph Subgraph MCP.

111|9|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/holon-run/uxc --skill thegraph-mcp-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: thegraph-mcp-skill
Source: https://github.com/holon-run/uxc/tree/main/skills/thegraph-mcp-skill
Command: npx skills add https://github.com/holon-run/uxc --skill thegraph-mcp-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and agents (resource) components.

What problem does it solve?

This Skill simplifies interacting with The Graph Subgraph MCP, enabling users to discover subgraphs, inspect their schemas, select deployments, and execute GraphQL queries without complex manual setup.

Core Features & Use Cases

  • Subgraph Discovery: Search for subgraphs using keywords.
  • Schema Inspection: Retrieve detailed schemas for deployments or subgraphs.
  • Query Execution: Run GraphQL queries against specific deployments.
  • Authentication Handling: Manages The Graph Gateway API key securely.
  • Use Case: A developer needs to find and query data from a specific Uniswap subgraph. They can use this skill to search for "uniswap" subgraphs, inspect the schema of a promising deployment, and then execute a GraphQL query to fetch token price data.

Quick Start

Use the thegraph-mcp-skill to search for subgraphs related to 'uniswap'.

Frequently Asked Questions about thegraph-mcp-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query a specific subgraph deployment using GraphQL without manual setup?

To query a subgraph deployment using GraphQL, you can use this Skill to discover subgraphs by keyword, inspect their schemas, select the target deployment, and execute the query directly. It handles The Graph Gateway API key authentication automatically.

How do I find the correct schema for a Uniswap subgraph before executing a query?

You can find the correct schema for a Uniswap subgraph by using the subgraph discovery feature to search for 'uniswap', then retrieving the detailed schema of the promising deployment to inspect available data fields before querying.

Does querying The Graph MCP require an API key for authentication?

Querying The Graph MCP requires a Gateway API key for authentication. This Skill manages the API key securely via a fixed linked command, ensuring authenticated access for subgraph discovery and GraphQL query execution.

Can I automate GraphQL queries against The Graph Subgraph MCP and get structured output?

You can automate GraphQL queries against The Graph Subgraph MCP and receive structured output. The Skill leverages UXC for protocol handling and SSE, supporting help-first inspection to facilitate seamless automation workflows.

What is the best way to discover subgraphs related to a specific protocol on The Graph?

The best way to discover subgraphs related to a specific protocol is to use the subgraph discovery feature with targeted keywords. This allows you to search The Graph MCP, inspect matching schemas, and select the correct deployment for your data needs.