# Uniswap

Explore Uniswap v4 data to analyze pools, tokens, swaps, and positions. Track TVL, volume, fees, prices, and liquidity with daily or hourly snapshots. Find top pools, drill into transaction histories…

## Quick Start

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

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

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

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

## Direct MCP Connection

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

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

## Tools (1)

- `graphql_agent` — Ask questions about Uniswap V4; the agent will inspect the schema, validate and execute GraphQL queries, then summarize…

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

## Prompts (5)

- `suggested_question_1` — What is the total value locked (TVL) in USDC/WETH pool?
- `suggested_question_2` — Show me the daily trading volume for the last 30 days.
- `suggested_question_3` — Find the most active pools by transaction count in the last 24 hours.
- `suggested_question_4` — What is the current price of token X in USD?
- `suggested_question_5` — Get all swaps for a specific transaction hash.
