web3-graphql
Query Web3 and on-chain GraphQL endpoints using natural language via the Model Context Protocol.
skill install https://www.promptspace.in/skills/web3-graphqlWhat it does
The Ask GraphQL MCP skill enables your AI agent to interact natively with Web3 and on-chain data through GraphQL endpoints, such as SubGraph and SubQuery. It bridges the gap between natural language requests and complex blockchain schemas by leveraging a specialized Model Context Protocol (MCP) gateway.
Problem it solves
Querying blockchain data via GraphQL usually requires developers to manually inspect schemas, write complex nested queries, and manage endpoint connectivity. This skill automates that process: your agent can now answer questions like 'What is the current staking volume on this protocol?' or 'Analyze recent governance proposals' without the agent needing to manually draft every GraphQL query from scratch.
Why use this skill?
- Automated Discovery: Includes built-in endpoint discovery if you don't have the specific URL at hand.
- Reliability: Standardizes query execution through a dedicated MCP agent, reducing syntax errors and hallucinated schemas.
- Web3 Optimized: Specifically designed for on-chain metrics, pool activity, and protocol analysis.
- Seamless Workflow: Handles everything from free-tier exploration to authenticated, high-throughput production queries with built-in quota management.
Output overview
The skill returns structured interpretations of on-chain data, including assumptions made during the query, a concise answer summary, and the technical details or specific queries provided by the MCP for verification.
Use cases
- Retrieve real-time token prices and liquidity from decentralized exchanges
- Analyze validator performance and staking rewards across multiple networks
- Track NFT ownership history and transaction metadata via natural language
- Audit smart contract events and logs by querying indexed subgraphs
Example
Prompt
Output
Assumptions: Analyzing staking rewards for Lido on Ethereum. Summary: The current APR is 3.4%. Total staked ETH is 9.8M. Details: Data fetched from Lido Subgraph via graphql_agent. Next Step: Would you like a breakdown of validator performance?
Known limitations
- Max timeout of 120s for complex queries. - Free tier subject to rate limits (requires API key for high volume). - Requires an active GraphQL endpoint (or discovery) to function.