Back to Browse

Graph Advocate MCP Server

Developer ToolsUse Caution4.4MCP RegistryRemote
Free

Server data from the Official MCP Registry

Routes plain-English onchain data questions to the right subgraph or API, with a query.

About

Routes plain-English onchain data questions to the right subgraph or API, with a query.

Remote endpoints: streamable-http: https://graphadvocate.com/mcp

Security Report

4.4
Use Caution4.4High Risk

Graph Advocate is a paid blockchain data API with a clean MCP wrapper in mcp/src/index.ts that holds no private key and only calls graphadvocate.com, and its x402 payments are verified by default in strict mode. The main concerns are code-quality and operational issues: hardcoded user-specific absolute paths and a .env loader in mcp_server.py, a partial CDP key ID written to logs, and a graceful-fallback payment path that accepts payments on trust when strict=False. The visible code is truncated, so the full a2a_server.py and advocate.py were not reviewed. Supply chain analysis found 17 known vulnerabilities in dependencies (0 critical, 12 high severity).

7 files analyzed · 24 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Found in Source Code

Found by scanning the linked source code. This listing connects to a hosted endpoint, so none of this runs on your machine: it describes what the server software does where it is hosted.

HTTP Network Access

Connects to external APIs or services over the internet.

env_vars

Applies to the server that hosts this plugin, not to your machine.

File System Read

Reads files on the server that hosts it, not on your machine.

database

Applies to the server that hosts this plugin, not to your machine.

How to Connect

Remote Plugin

No local installation needed. Your AI client connects to the remote endpoint directly.

Add this to your MCP configuration to connect:

{
  "mcpServers": {
    "io-github-paulieb14-graph-advocate": {
      "url": "https://graphadvocate.com/mcp"
    }
  }
}

Documentation

View on GitHub

From the project's GitHub README.

Graph Advocate

Onchain data router for The Graph

Ask a blockchain data question in plain English. Get live rows and the working GraphQL or REST query.

CDP Bazaar x402scan ERC-8004 mcptry

Docs · Live site · Dashboard · Chat · Agent card · llms.txt

npx skills add PaulieB14/graph-advocate · npx -y graph-advocate-mcp

Try it

Start with the free live preview — no key, no wallet, no signup:

curl -s "https://graphadvocate.com/preview?q=top+uniswap+v3+pools+by+volume"

That returns the top 3 live rows. For the full list, other chains, filters, or a follow-up, POST /route is $0.01 USDC on Base via x402. Unpaid calls return HTTP 402 with the same free top-3 plus how_to_pay snippets (x402-fetch, Python, curl, MCP). A browser opening /route shows those snippets; the status stays 402 so agents still see a payment challenge.

# Unpaid call — 402 + free preview + how_to_pay
curl -s -X POST https://graphadvocate.com/route \
  -H "Content-Type: application/json" \
  -d '{"request":"top Uniswap V3 pools on Base"}'

A paid response includes result (formatted rows), executed.data, and query_ready.

Pricing

All paid calls settle in USDC on Base (eip155:8453) through the Coinbase CDP facilitator. No API key and no signup.

PathPriceWhat you get
GET /preview?q=...FreeLive top-3 rows (plain 200)
POST / (A2A, metadata.sender = your 0x wallet)3 full answers/day, then $0.01Routed answer + live rows
POST /route$0.01 every callLive rows + the query that produced them
POST /ask$0.05Natural-language Q&A over x402 settlements on Base
/chatFreeThe subgraph and GraphQL to run yourself (not the data)
Other paid endpoints$0.01–$0.10Hyperliquid, Polymarket, Kalshi, Uniswap, and agent-score APIs — see docs or /llms.txt

Pay with any x402 client (x402-fetch, x402 for Python). The 402 body includes copy-paste snippets.

Protocols

ProtocolHow to call
HTTPGET /preview, POST /route
A2APOST / — JSON-RPC 2.0 message/send
MCPPOST /mcp (streamable HTTP) or npx -y graph-advocate-mcp
Skillnpx skills add PaulieB14/graph-advocate
x402USDC on Base; payTo is in the 402 payTo field, not the identity wallet
ERC-8004Agent #41034 on Base, #734 on Arbitrum · graphadvocate.eth

Identity wallet (ERC-8004 / ENS): 0x575267eED09c338FAE5716A486A7B58A5749A292. Payments go to the payTo in the 402 challenge, never to that identity address.

What it routes

Plain-English questions across 15,500+ subgraphs and Token API / Substreams: Uniswap, Aave, Compound, ENS, Polymarket, Hyperliquid, wallet balances, holders, swaps, and more. Also protocol MCP packages (Aave, Uniswap, Polymarket, lending, Limitless, Predict.fun).

Repo layout

Runtime stays at the repo root — Railway starts python a2a_server.py (site) and python outreach.py (daily outreach cron). Do not move those entrypoints.

PathRole
a2a_server.py, advocate.pyHTTP / A2A / x402 server and router
*_intel.py, kalshi.py, agent_score.pyPaid intelligence endpoints
mcp_server.py, mcp/Python MCP server and the graph-advocate-mcp npm package
outreach.py, x402_outreach.pyInbound conversion cron and outbound x402 client
docs/Mintlify docs (published to docs.graphadvocate.com on push to main)
skills/, plugins/, openclaw-skill/Skill listings (npx skills add)
scripts/Operator tools (self-pay, preflight, audits) — not imported by the server
notes/Internal launch logs and drafts, not the public docs site
test_*.pyTest suite: python -m pytest -q test_*.py

Development

git clone git@github.com:PaulieB14/graph-advocate.git && cd graph-advocate
pip install -r requirements.txt
cp .env.example .env   # add ANTHROPIC_API_KEY for local routing
python3 a2a_server.py
python -m pytest -q test_*.py

Production is Railway (auto-deploy on push to main). Required env: ANTHROPIC_API_KEY, CDP_API_KEY_ID, CDP_API_KEY_SECRET, GRAPH_API_KEY.

License

MIT

Reviews

No reviews yet

Be the first to review this server!