skills/clawhub.ai/subgraph-registry-mcp

subgraph-registry-mcp

Installation
SKILL.md

Subgraph Registry

Agent-friendly discovery of 15,293 classified subgraphs on The Graph Network. Search by domain, network, protocol type, or natural language goal — get reliability-scored results with x402-ready query URLs. Agents can go from question → answer without ever touching a Studio API key.

Tools

  • search_subgraphs — Filter by domain (defi, nfts, dao, gaming), network (ethereum, arbitrum, base), protocol type (dex, lending, bridge), entity type, or keyword
  • recommend_subgraph — Natural language goal like "find DEX trades on Arbitrum" returns the best matching subgraphs
  • get_subgraph_detail — Full classification, entities, reliability score, x402 + legacy query URLs, and step-by-step query instructions for both paths
  • list_registry_stats — Registry overview with available domains, networks, and protocol types
  • semantic_search_subgraphs — Embedding-based natural-language search over the registry. Uses a bundled ONNX model via @xenova/transformers; if the bundled model is missing it downloads it once from Hugging Face (see Network & Data Behavior). Skip this tool for a strictly offline runtime.
  • get_schema_changes — Report schema/entity changes for a subgraph across indexed versions

Query paths

Every result now ships with two URLs and a pricing manifest:

  • query_url_x402 (recommended)https://gateway.thegraph.com/api/x402/subgraphs/id/{id}. POST your GraphQL query; the gateway returns HTTP 402 with a payment manifest. Use an x402 client (@graphprotocol/client-x402, x402-fetch, or any generic wrapper) to sign $0.01 USDC on Base via EIP-3009 and retry. No signup, no Studio key, no GRT.
  • query_url (legacy)https://gateway.thegraph.com/api/[api-key]/subgraphs/id/{id}. Get an API key from thegraph.com/studio/apikeys and replace the placeholder.
Installs
1
First Seen
Aug 14, 2026
subgraph-registry-mcp from clawhub.ai