subgraph-registry-mcp 0.9.5 → 0.9.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/data/openapi.json CHANGED
@@ -2,8 +2,8 @@
2
2
  "openapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "Subgraph Registry",
5
- "description": "Agent-friendly subgraph discovery on The Graph Network. 14,700+ classified subgraphs with semantic search, reliability scoring, schema-evolution tracking, and x402 query URLs ($0.01 USDC on Base, no API key).",
6
- "version": "0.9.5",
5
+ "description": "Agent-friendly subgraph discovery on The Graph Network. 15,330 classified subgraphs with semantic search, reliability scoring, 30-day query volume and schema-evolution tracking. Discovery only: returns subgraph ids and starter queries, which you run with a Graph Studio API key (Authorization: Bearer) or over x402 ($0.01 USDC on Base, no key).",
6
+ "version": "0.9.6",
7
7
  "license": {
8
8
  "name": "MIT"
9
9
  },
package/openapi.yaml CHANGED
@@ -4,8 +4,8 @@
4
4
  openapi: "3.1.0"
5
5
  info:
6
6
  title: "Subgraph Registry"
7
- description: "Agent-friendly subgraph discovery on The Graph Network. 14,700+ classified subgraphs with semantic search, reliability scoring, schema-evolution tracking, and x402 query URLs ($0.01 USDC on Base, no API key)."
8
- version: "0.9.5"
7
+ description: "Agent-friendly subgraph discovery on The Graph Network. 15,330 classified subgraphs with semantic search, reliability scoring, 30-day query volume and schema-evolution tracking. Discovery only: returns subgraph ids and starter queries, which you run with a Graph Studio API key (Authorization: Bearer) or over x402 ($0.01 USDC on Base, no key)."
8
+ version: "0.9.6"
9
9
  license:
10
10
  name: "MIT"
11
11
  contact:
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "subgraph-registry-mcp",
3
- "version": "0.9.5",
3
+ "version": "0.9.6",
4
4
  "mcpName": "io.github.PaulieB14/subgraph-registry-mcp",
5
- "description": "MCP server for agent-friendly subgraph discovery on The Graph Network. 15,330 classified subgraphs with x402 query URLs ($0.01 USDC on Base, no API key required), reliability scoring, and protocol classification.",
5
+ "description": "MCP server for agent-friendly subgraph discovery on The Graph Network. 15,330 classified subgraphs with reliability scoring, 30-day query volume, semantic search and protocol classification. Discovery only — returns subgraph ids and ready-to-run queries for you to run with a Graph Studio key or over x402.",
6
6
  "type": "module",
7
7
  "bin": {
8
8
  "subgraph-registry-mcp": "src/index.js"
package/src/index.js CHANGED
@@ -689,6 +689,7 @@ function recommendSubgraph({ goal, chain = "" }) {
689
689
  const sql = `
690
690
  SELECT id, display_name, description, auto_description, domain, protocol_type, network,
691
691
  reliability_score, ipfs_hash, canonical_entities, active_allocation_count, example_query,
692
+ query_volume_30d,
692
693
  (${goalScore}) AS goal_score
693
694
  FROM subgraphs
694
695
  ${where}
@@ -806,9 +807,13 @@ function getSubgraphDetail({ subgraph_id }) {
806
807
  client_libraries: ["@graphprotocol/client-x402", "x402-fetch"],
807
808
  example_query: exampleQuery,
808
809
  },
809
- api_key_legacy: {
810
+ // Not "legacy" — this is the route most callers should take, and the one
811
+ // some MCP hosts allow exclusively. The old text also told you to replace
812
+ // an `[api-key]` placeholder that no longer exists in the URL.
813
+ api_key: {
810
814
  url: endpoints.query_url,
811
- flow: "Get an API key from https://thegraph.com/studio/apikeys/, replace [api-key] in the url, then POST GraphQL.",
815
+ flow: "Get a key at https://thegraph.com/studio/apikeys/ (100K free queries/month), then POST GraphQL to url with header `Authorization: Bearer <STUDIO_API_KEY>`. The key goes in the header, not the path. A missing header returns HTTP 200 with a GraphQL error body, so read the body rather than trusting the status.",
816
+ example_query: exampleQuery,
812
817
  },
813
818
  schema_hint: result.example_query
814
819
  ? "example_query above was generated from this subgraph's actual schema. Adapt the entity name + field selection as needed."
@@ -1049,7 +1054,8 @@ async function semanticSearchSubgraphs({
1049
1054
  `SELECT id, display_name, description, auto_description, domain,
1050
1055
  protocol_type, network, reliability_score, ipfs_hash,
1051
1056
  entity_count, canonical_entities, powered_by_substreams,
1052
- active_allocation_count, example_query, denied_at, created_at, embedding
1057
+ active_allocation_count, example_query, denied_at, created_at,
1058
+ query_volume_30d, embedding
1053
1059
  FROM subgraphs
1054
1060
  ${where}`,
1055
1061
  )