MCP Server
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.
0
GitHub Stars
8/23/2025
Last Updated
No Configuration
Please check the documentation below.
README Documentation
mcp-token-api
Run with Bun:
$ bun run index.ts
Server will be running on http://localhost:8080/sse
for SSE and http://localhost:8080/stream
for HTTP streaming.
Usage: mcp-token-api [options]
MCP server for The Graph Token API
Options:
-V, --version output the version number
-p, --port <number> HTTP port on which to attach the MCP SSE server (default: "8080", env: PORT)
--url <string> Database HTTP hostname (default: "http://localhost:8123", env: URL)
--database <string> The database to use inside ClickHouse (default: "default", env: DATABASE)
--username <string> Database user for API (default: "default", env: USERNAME)
--password <string> Password associated with the specified API username (default: "", env: PASSWORD)
--pretty-logging <boolean> Enable pretty logging (default JSON) (choices: "true", "false", default: false, env: PRETTY_LOGGING)
-v, --verbose <boolean> Enable verbose logging (choices: "true", "false", default: false, env: VERBOSE)
-h, --help display help for command
Quick Actions
Key Features
Model Context Protocol
Secure Communication
Real-time Updates
Open Source