thegraph-mcp-skill

thegraph-mcp-skill is a skill for Codex from holon-run/uxc. It costs 49 tokens per session (1,062 once invoked), scanned A, original, MIT.

A guide for using The Graph’s Subgraph MCP, a service for discovering blockchain data schemas and querying indexed blockchain data with GraphQL.

In plain words
What is it for?
Use it to discover subgraphs, retrieve their schemas, choose deployments, and run GraphQL queries through UXC.
Why use it?
It defines the endpoint, authentication, discovery steps, and help-first workflow needed to use the service reliably.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to discover subgraphs, retrieve their schemas, choose deployments, and run GraphQL queries through UXC.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/holon-run/uxc/thegraph-mcp-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add holon-run/uxc --skill thegraph-mcp-skill
Clone the repo
git clone --depth 1 https://github.com/holon-run/uxc

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for thegraph-mcp-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/holon-run/uxc/thegraph-mcp-skill/github.svg)](https://agentmods.dev/skills/holon-run/uxc/thegraph-mcp-skill)
Your own site
<a href="https://agentmods.dev/skills/holon-run/uxc/thegraph-mcp-skill"><img src="https://agentmods.dev/badge/skills/holon-run/uxc/thegraph-mcp-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for thegraph-mcp-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/holon-run/uxc/thegraph-mcp-skill"><img src="https://agentmods.dev/badge/skills/holon-run/uxc/thegraph-mcp-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,062 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.01062
Opus 5 $0.00024 $0.00531
Sonnet 5 $0.00010 $0.00212
Haiku 4.5 $0.00005 $0.00106

Measured 9d ago against content hash 9d54960e05cb, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

thegraph-mcp-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/validate.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/thegraph-mcp-skill/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

The Graph MCP Skill

Use this skill to run The Graph Subgraph MCP operations through uxc using the native SSE MCP endpoint.

Reuse the uxc skill for generic protocol discovery, envelope parsing, and error handling rules.

Prerequisites

  • uxc is installed and available in PATH.
  • Network access to https://subgraphs.mcp.thegraph.com/sse.
  • The Graph Gateway API key is available for authenticated calls.

Core Workflow (The Graph-Specific)

Endpoint candidate inputs before finalizing:

  • Official remote MCP endpoint:
    • https://subgraphs.mcp.thegraph.com/sse
  1. Verify protocol/path from official source and probe:
    • Official source: https://thegraph.com/docs/en/ai-suite/subgraph-mcp/introduction/
    • probe candidate endpoint with:
      • uxc https://subgraphs.mcp.thegraph.com/sse -h
    • Confirm protocol is MCP (protocol == "mcp" in envelope).
  2. Detect auth requirement explicitly:
    • Run host help or a minimal read call and inspect envelope.
    • This endpoint requires a The Graph Gateway API key sent as Authorization: Bearer <key>.
  3. Register credential and use fixed link command by default:
    • uxc auth credential set thegraph --secret-env THEGRAPH_API_KEY
    • uxc auth binding add --id thegraph-sse --host subgraphs.mcp.thegraph.com --path-prefix /sse --scheme https --credential thegraph --priority 100
    • command -v thegraph-mcp-cli
    • If missing, create it:
      • uxc link thegraph-mcp-cli https://subgraphs.mcp.thegraph.com/sse
    • thegraph-mcp-cli -h
    • If command conflict is detected and cannot be safely reused, stop and ask skill maintainers to pick another fixed command name.
  4. Inspect operation schema before execution:
    • thegraph-mcp-cli -h
    • thegraph-mcp-cli <operation> -h
  5. Prefer discovery/schema operations first:
    • find candidate subgraphs or deployments
    • inspect schema
    • execute query only after identifier and schema are understood

Capability Map

  • Discovery:
    • search subgraphs by keyword
    • find top deployments for a contract
    • inspect deployment popularity / 30-day query volume
  • Schema:
    • get schema by deployment ID
    • get schema by subgraph ID
    • get schema by IPFS hash
  • Query execution:
    • execute GraphQL query by deployment ID
    • execute GraphQL query by subgraph ID
    • execute GraphQL query by IPFS hash

Read the full file on GitHub · 111 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 111 lines · 49 tokens per session scan A 9d54960e05cb

Subscribe to this mod's changes

thegraph-mcp-skill is a skill published in the GitHub repository holon-run/uxc (113 stars, last pushed today), licensed MIT. It adds 49 tokens to every session and 1,062 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

lap

LAP CLI -- compile, search, and manage API specs for AI agents. Use when working with API specifications (OpenAPI, GraphQL, AsyncAPI, Protobuf, Postman), compiling specs to LAP format, searching the LAP registry, generating skills from API specs, or publishing APIs. Commands: init, compile, search, get, skill…

Lap-Platform/LAP · 89 tokens

lap

LAP CLI -- compile, search, and manage API specs for AI agents. Use when working with API specifications (OpenAPI, GraphQL, AsyncAPI, Protobuf, Postman), compiling specs to LAP format, searching the LAP registry, generating skills from API specs, or publishing APIs. Commands: init, compile, search, get, skill…

Lap-Platform/LAP · 89 tokens

linear

Linear project management — issues, cycles, and projects via GraphQL API.

furkangonel/cowrangler · 17 tokens

system-prompts

Write system prompts, tool docs, and agent definitions. Project tag conventions + RFC 2119 keywords + dense compression. Use when authoring or editing any prompt the model reads.

can1357/oh-my-pi · 40 tokens

vs-crawler

Crawl websites (news, blogs, papers, GitHub, product docs, RSS feeds) into a fixed-schema JSONL file, then create a dataset and a searchable application in Viking AI Search. Supports one-time crawl and scheduled recurring crawl with automatic incremental sync.

volcengine/SearchCLI · 57 tokens

vs-search-tuning

Use when a user asks an agent to evaluate or tune text search similarity for an existing Viking AI Search application and dataset.

volcengine/SearchCLI · 29 tokens