@pipeworx/the-graph
Connect: https://gateway.pipeworx.io/the-graph/mcp · Install: one-click buttons
Tools: 2
The Graph MCP — GraphQL queries against blockchain subgraphs.
Tools
query_subgraph(subgraph_id, query, variables?)— run an arbitrary GraphQL query.introspect_schema(subgraph_id)— fetch the subgraph schema for query construction.
Auth
- Platform key: gateway env
PLATFORM_THEGRAPH_KEY. - BYO:
?_apiKey=<key>after signing up at https://thegraph.com/studio/apikeys (free 100k queries/month).
The legacy hosted service is gone; everything routes through the decentralized network gateway at gateway-arbitrum.network.thegraph.com.
Finding subgraph IDs
Browse https://thegraph.com/explorer. Each subgraph’s “Query URL” ends in /subgraphs/id/<the-id-you-want>.
Tools
- query_subgraph — Run a GraphQL query against a subgraph on The Graph network. subgraph_id is the deployment hash (starts with “Qm…” or the new “0x…” subgraph ID from thegraph.com/explorer). Returns the GraphQL
data - introspect_schema — Fetch a subgraph’s GraphQL schema via standard introspection. Returns types, fields, and arguments so an agent can build queries without external docs.
Tools
-
introspect_schema— Fetch a subgraph's GraphQL schema via standard introspection. Returns types, fields, and arguments so an agent can build queries without external docs. -
query_subgraph— Run a GraphQL query against a subgraph on The Graph network. subgraph_id is the deployment hash (starts with Qm… or the new 0x… subgraph ID from thegraph.com/explorer). Returns the GraphQL `data` bloc