subgraph-explorer

Explore and query blockchain subgraphs via a Dockerized MCP server.

Updated Nov 6, 2025
One-click install
npx skills add https://github.com/nschwermann/claude-tools --skill subgraph-explorer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: subgraph-explorer
Source: https://github.com/nschwermann/claude-tools/tree/main/subgraph-explorer/skills/subgraph-explorer
Command: npx skills add https://github.com/nschwermann/claude-tools --skill subgraph-explorer

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the complex process of exploring and querying blockchain data stored in GraphQL subgraphs, making it accessible without deep technical expertise.

Core Features & Use Cases

  • Subgraph Exploration: Introspect schemas, query data, and discover patterns within blockchain subgraphs.
  • Dockerized Server Management: Easily start, stop, and manage the necessary MCP server for subgraph interaction.
  • Query Export: Save and export your discovered GraphQL queries in multiple formats for project integration.
  • Use Case: Analyze NFT transfer data, track DeFi swap volumes, or examine the structure of any blockchain subgraph.

Quick Start

Start the MCP server by running the command bash scripts/start_mcp_server.sh.

Frequently Asked Questions about subgraph-explorer

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

FAQPage Schema
How do I query blockchain subgraphs using GraphQL?

You can query blockchain subgraphs by running the Dockerized MCP server to execute GraphQL queries against registry or ad-hoc subgraphs. This allows direct schema introspection and data retrieval for NFTs and DeFi protocols.

What's the best way to introspect a GraphQL schema for blockchain data?

Introspecting a GraphQL schema for blockchain data is handled by the Dockerized MCP server, which enables schema discovery and pattern identification. Start the server via the provided shell script to explore subgraph structures.

Can I analyze DeFi swap volumes or NFT transfers without deep technical expertise?

Analyzing DeFi swap volumes or NFT transfers without deep technical expertise is possible through the Skill's guided subgraph exploration. It simplifies complex blockchain data queries into accessible schema introspection and execution.

Do I need Docker to run the subgraph MCP server?

Docker is required to run the MCP server for subgraph interaction. The Skill utilizes a Dockerized server environment, which you can start by executing the bash command in the scripts directory.

How do I export GraphQL queries for project integration?

Exporting GraphQL queries for project integration is supported natively by the Skill. After executing queries against your blockchain subgraphs, you can save and export the results in multiple formats for downstream use.

What are the limitations of querying ad-hoc subgraphs?

Querying ad-hoc subgraphs depends on the availability and structure of the target blockchain data source. The Skill facilitates interaction but is limited by the underlying GraphQL schema and the Dockerized server's operational state.