# Thegraph Token API

> MCP server for The Graph Token API by Pinax. Provides token data access via ClickHouse backend with SSE and HTTP streaming support.

- Skill: `yejiming/thegraph-token-api` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add yejiming/thegraph-token-api`
- Raw SKILL.md: https://api.skillmd.com/api/skills/yejiming/thegraph-token-api/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: yejiming (https://skillmd.com/u/yejiming)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/yejiming/thegraph-token-api

---


# The Graph Token API MCP Server

Official MCP server from Pinax (The Graph ecosystem).

An MCP server for The Graph Token API providing token data access through ClickHouse backend. Supports SSE and HTTP streaming modes for real-time token data queries and analytics.

## Installation

Requires [Bun](https://bun.sh):

```bash
git clone https://github.com/pinax-network/mcp-token-api.git
cd mcp-token-api
bun run index.ts
```

Server runs on `http://localhost:8080/sse` (SSE) and `http://localhost:8080/stream` (HTTP streaming).

Configure with environment variables or CLI options:
- `--port`: HTTP port (default: 8080)
- `--url`: Database HTTP hostname
- `--database`: ClickHouse database name
- `--username` / `--password`: Database credentials

## Links

- **GitHub**: https://github.com/pinax-network/mcp-token-api

