# SubQuery Network

Query SubQuery’s indexed blockchain data to get precise answers and insights fast. Accelerate analytics, monitoring, and research with powerful, flexible queries. Integrate results into your workflow…

## Quick Start

```bash
# Connect this server (installs CLI if needed)
npx -y @smithery/cli@latest mcp add SubQuery-Network/subquery-network

# Browse available tools
npx -y @smithery/cli@latest tool list SubQuery-Network/subquery-network

# Get full schema for a tool
npx -y @smithery/cli@latest tool get SubQuery-Network/subquery-network graphql_agent

# Call a tool
npx -y @smithery/cli@latest tool call SubQuery-Network/subquery-network graphql_agent '{}'
```

## Direct MCP Connection

Endpoint: `https://subquery-network--subquery-network.run.tools`

**Required config:**
- `api_key` (query) — Ask SubQuery API Key

## Tools (1)

- `graphql_agent` — Ask questions about SubQuery Network Indexer; the agent will inspect the schema, validate and execute GraphQL queries, …

```bash
# Get full input/output schema for a tool
npx -y @smithery/cli@latest tool get SubQuery-Network/subquery-network <tool-name>
```

## Prompts (10)

- `suggested_question_1` — What is the current total stake and delegation amount for indexer 0x1234...?
- `suggested_question_2` — Show me all active service agreements for deployment QmHash...
- `suggested_question_3` — What is the APY for delegators staking with indexer 0xabcd... in the latest era?
- `suggested_question_4` — List all unclaimed rewards for delegator 0x5678...
- `suggested_question_5` — How much SQT has been claimed from airdrop round 1?
- `suggested_question_6` — What are the total rewards earned by deployment QmHash... in era 100?
- `suggested_question_7` — Show me all open state channels for consumer 0x9876...
- `suggested_question_8` — Which indexers have allocation overflow in the current era?
- `suggested_question_9` — What is the boost allocation ratio for project with deployment QmHash...?
- `suggested_question_10` — Track the voting activity for subnet project 0xabcdef...
