360 Secure SkillHub
360 安全技能中心

Subgraph Registry

该 Skill 以 MCP 服务器形式提供 The Graph 子图发现能力,支持按领域、网络、协议类型、实体或自然语言目标检索一万五千余个子图,返回分类、可靠性评分与查询 URL;首次运行下载 SQLite 注册表并本地缓存,此后查询只访问本地数据库,也可通过 HTTP 传输在本机端口提供服务。

分类:搜索
PaulieB14
PaulieB14
热度 8.98
最近更新 2026-05-11 17:31:09

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add PaulieB14/subgraph-registry-mcp
兼容性
通用兼容
联网要求
需要联网
数据出网
数据不出本机
Metadata
name
subgraph-registry-mcp
description
Discover and filter 15,500+ The Graph subgraphs by domain, network, protocol type, or natural language goal with reliability scores and query URLs.
metadata
{"openclaw":{"requires":{"bins":["node"]},"homepage":"https://github.com/PaulieB14/subgraph-registry"}}

Subgraph Registry

Agent-friendly discovery of 15,500+ classified subgraphs on The Graph Network. Search by domain, network, protocol type, or natural language goal — get reliability-scored results with query URLs.

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, and query instructions for a specific subgraph
  • list_registry_stats — Registry overview with available domains, networks, and protocol types

Requirements

  • Runtime: Node.js >= 18 (runs via npx)
  • Environment variables: None required. The registry is pre-built and bundled — no API key needed for read-only use.

Install

npx subgraph-registry-mcp

Network & Data Behavior

  • On first run, the server downloads a pre-built registry.db (SQLite) from the GitHub repository (~5 MB). This is cached locally and reused on subsequent runs.
  • All tool queries run against this local database — no external API calls are made at query time.
  • The SSE transport (--http / --http-only) starts a local HTTP server on port 3848 (configurable via MCP_HTTP_PORT env var).

Use Cases

  • Discover the right subgraph before querying The Graph
  • Find high-reliability DeFi, NFT, DAO, or governance subgraphs by chain
  • Get query URLs and entity schemas without manual exploration
  • Compare subgraphs by reliability score (query fees, curation signal, indexer stake)