The Graph Token API MCP
@pinax-network
About The Graph Token API MCP
Official MCP server that turns The Graph’s Token API into a plug-and-play web3 data tool. Exposes ERC-20 & NFT metadata, balances, transfers, top-holder stats, prices, and more, allowing LLMs to run SQL queries on structured and indexed blockchain data.
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"token-api": {
"command": "npx",
"args": [
"@pinax/mcp",
"--sse-url",
"https://token-api.mcp.thegraph.com/sse"
],
"env": {
"ACCESS_TOKEN": "<https://thegraph.market JWT Access Token>"
}
}
}
}Tools
4List available databases
List available tables from a database
Describe the schema of a table from a database
Run a read-only SQL query
Overview
What is The Graph Token API MCP?
An MCP server that provides an interface to The Graph Token API, connecting to a ClickHouse database. It runs on Bun and exposes SSE and HTTP streaming endpoints for MCP communication.
How to use The Graph Token API MCP?
Run with bun run index.ts. Configure via CLI options or environment variables for port, ClickHouse URL, database name, username, password, and logging preferences. The server listens on http://localhost:8080/sse (SSE) and http://localhost:8080/stream (HTTP streaming) by default.
Key features of The Graph Token API MCP
- Runs with the Bun runtime
- Provides SSE and HTTP streaming endpoints
- Connects to a ClickHouse database
- Configurable via CLI flags and environment variables
- Supports pretty and verbose logging options
Use cases of The Graph Token API MCP
—
FAQ from The Graph Token API MCP
—
Basic information
More Developer Tools MCP servers
Altronis
sypherinMCP server + CLI for Altronis — Singapore AI consulting. Ask the Lyra consultant, generate a grant-matched AI transformation plan, pull curated SG AI events/news. Read-only, wraps altronis.sg.

Repo Test Architect
RepoAssayLocal-first, read-only MCP server for evidence-backed repository test architecture audits and test planning.

Codex Pets
astandrikPublic read-only MCP server for discovering, inspecting, installing, and sharing approved Codex-compatible animated pet packs.
OrangePro
Aamir SiddiquiOrangePro local-first CLI + MCP server for behavior mapping, grounded test generation, and dynamic proof.
LocalCan
LocalCanGives AI agents public URLs (tunnels) for localhost, live HTTP traffic inspection, snapshot publishing, and access control. Part of LocalCan, the ngrok alternative for Mac, Windows and Linux. Free plan.
Comments