@pipeworx/the-graph
Connect: https://pipeworx.io/mcp — every tool in the catalog, including @pipeworx/the-graph’s. Install: one-click buttons
Connect to just the @pipeworx/the-graph pack
https://gateway.pipeworx.io/the-graph/mcp — only @pipeworx/the-graph’s own tools, nothing else in the catalog.
No MCP client? Skip the connection: POST https://gateway.pipeworx.io/v1/tools/search_packs {"query":"..."} to find a tool below, GET /v1/tools/<name> for its schema, POST the same URL with arguments for the data — see For AI agents.
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. Requires your own The Graph API key, passed as _
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. Requires your own The Graph API key, passed as _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