Skip to main content

Overview

ChatGPT doesn’t use MCP — it uses GPT Actions, which are powered by OpenAPI specs. The good news: EventGraph already has a complete OpenAPI spec, so you can create a Custom GPT in minutes with no code.

Setup

1. Go to ChatGPT → Explore GPTs → Create

  1. Open chat.openai.com
  2. Click Explore GPTs in the left sidebar
  3. Click Create (top right)

2. Configure the GPT

In the Configure tab: Name: EventGraph — Prediction Market Intelligence Description:
Instructions:

3. Add the EventGraph Action

In the Configure tab, scroll to Actions and click Create new action. Authentication: Select API Key, header name: X-API-Key, value: eg_live_your_key_here OpenAPI schema: Paste this:

4. Save and test

Click Save, then test in the preview panel:
“What are the most traded prediction markets this week?”

What it looks like

Once live, your Custom GPT can answer questions like:

Share your GPT

Once tested, you can publish your Custom GPT publicly so others can use it — no API key management needed on their end (your key is embedded in the Action config, not visible to users).
If you publish publicly, your EventGraph API key is used for all queries. Monitor your usage at GET /api/v1/usage to avoid exceeding limits. Consider upgrading to Pro for higher rate limits before going public.

OpenAI Assistant API (for developers)

If you’re building programmatically, you can define EventGraph as a function tool in the Assistants API:
Then handle the tool call by proxying to https://app.eventgraph.ai/api/v1/markets with your X-API-Key header.