GADUIN
Live flight, airport, train station, port and ship chokepoint status, plus transport prediction markets. Read-only; 28 tools work without a key.
Hosted MCP Server
npx add-mcp 'https://gaduin.com/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
Connect AI agents
Let an AI assistant read flight, airport, train-station and shipping-chokepoint status and prediction markets without an account, and your positions and balance with an API key. Any Model Context Protocol (MCP) client works.
What is MCP?
Model Context Protocol is an open standard for connecting AI assistants to outside data and tools. GADUIN has an MCP endpoint that any MCP client, such as Claude Desktop, Claude.ai or your own agent, can connect to. Every tool except positions and balance needs no key. Positions and balance need your API key, and those calls are limited to the account that issued it.
Available tools
All tools are read-only. Every tool works without a key except get_my_positions and get_balance, which need one. Each tool publishes its input schema, so your client sets it up automatically.
-
list_markets
List prediction markets on real-world transport outcomes (flight delays, train punctuality, ship arrivals, chokepoint ship counts). Optional inputs: status (OPEN by default; CLOSED, SETTLED or CANCELLED for past markets), category (FLIGHT, TRAIN, SHIP), query (free text such as AA1, JFK or Suez) and limit (1–100). Returns total (every market the filters match), returned (how many this answer lists: the first limit of them, earliest close time first) and each listed market's id, link, category, question, route, outcomes with current prices, volume, close time and, once settled, the outcome it settled on.
-
get_market
Fetch one market by id or slug: its question, the rule it settles on, outcomes with current prices, status and a link to its page.
-
get_market_price_history
Fetch a market's price history by id: up to 180 timestamped points, each with one price per outcome, for open, closed and settled markets. It reads the market's 2,000 most recent trades: when there are more, truncated is true and the series starts at starts_at, not at the market's open.
-
get_my_positions
List your open positions in all markets. No inputs. Returns the market, the outcome, the shares you hold and what you paid for them.
-
get_balance
Return your current balance. No inputs.
-
get_flight_status
Look up a flight by number, such as AA1, optionally for one service date. Returns the leg its flight page shows (today's, else the one in the air or next to depart, else the latest; or that date's), whether its outcome is unconfirmed, its delay and verdict, its departure and arrival times in UTC and local time, the last update, the takeoffs and landings seen under its callsign, and links to the flight page and to the open market that page links.
-
get_flight_history
Look up a flight's on-time record by number over the last 30 days, or any window up to 400 days. Returns on-time, late and cancelled counts, the sample size, the window and the rule used to count a flight as late.
-
search_flights
Find flights without their number: departures on record from an airport on its local today or another date (the flights this site has a record for, not the airport's full schedule), optionally only those to one destination (airport code, or a city matched as whole words) or flown by one airline. Returns how many departed, are past due with no departure recorded, are still to depart and were cancelled, and the flights still to depart, never a cancelled one (or, with scope day, every flight of the day): number, destination, scheduled and actual departure, status, delay and a link to the flight page.
-
get_airline_stats
Look up an airline by IATA or ICAO code. Returns its last 30 days of the flights on record that it operates itself: on-time share, sample size, cancellations, median and 90th-percentile arrival delay, its most and least delayed flights, and a link to its airline page.
-
list_flight_disruptions
List flights on record that are cancelled or late now, leaving today from airports whose own departures board this site reads (not every flight), worst first. Each flight appears once under its operating number, with every number it is sold under, its delay and a link to its page. Returns the total, how many are listed (up to 1,000) and whether an airport could not be read. Optional input: limit (1–1000).
-
get_flight_position
Look up where a flight is now by number. Returns the latest reported position of the one aircraft broadcasting its callsign, with altitude, speed and course, or no position and the reason when no single aircraft can be named. A position more than 180 seconds old is not marked live.
-
get_flight_track
Look up the path a flight flew by number and service date. Returns every recorded position from departure until its arrival was recorded, for the flights whose aircraft this site follows; the others say they were not tracked.
-
get_aircraft_position
Look up an aircraft by its ICAO 24-bit address, such as 4ca7b2. Returns its latest position on record, however old, and whether it is live (at most 180 seconds old).
-
get_aircraft_track
Look up every position recorded for an aircraft between two times at most 6 hours apart and within the last 90 days, oldest first.
-
list_aircraft_in_area
List the aircraft that reported a position in the last 180 seconds inside a box of up to 10 degrees a side, nearest its centre first. Inputs: bbox and an optional limit (1–500).
-
get_observed_flights
Look up the takeoffs and landings seen on one UTC date (within the last 89 days) under a flight number's callsign, read off the positions aircraft transponders report. Each is a window of time, not a gate time; no schedule, delay or verdict is given.
-
get_airport_status
Look up an airport by IATA or ICAO code. Returns how it is running today: its status and, for today's departures on record due so far (not the airport's full schedule), how many were on time, delayed or cancelled, with their shares once 20 have a known outcome. Delayed means leaving more than the delay threshold plus the airport's usual taxi time. For arrivals, only cancellations: arrival delays are not measured. Also a link to its airport page.
-
list_disrupted_airports
List today's airports rated disrupted or severe, worst first, each with the same reading as get_airport_status; total_disrupted counts every such airport and returned how many are listed. Optional input: limit (1–50).
-
get_airport_departures
Look up an airport's departures on record for one local day (not its full schedule), departed and cancelled ones included, each flight once with its codeshares, status, delay and verdict. Pages of up to 500 flights; call again with next_cursor to read the rest of the day.
-
get_airport_arrivals
Look up an airport's arrivals on record for one local day (not its full schedule), landed and cancelled ones included, each flight once with its codeshares and its recorded landing, never an estimate. Pages of up to 500 flights; call again with next_cursor to read the rest of the day.
-
list_airport_movements
List the landings or takeoffs seen at an airport in one local day (within the last 89 days), read off the positions aircraft transponders report: windows of time, not gate times, with callsign and aircraft address and no schedule, delay or verdict. Pages of up to 100; call again with next_cursor for the rest.
-
get_station_board
Look up a railway station by name or code, such as London Paddington or PAD. Returns its next departures and arrivals, or every train of a chosen day, with expected times, delays, cancellations and platforms, the coming hour's late and cancelled counts, and a link to its station page.
-
search_stations
Find railway stations by name or code, such as Zurich, among every station a stored train calls at, whether or not it has a station page. Returns each station's name, public code, network, country, location and time zone. Optional inputs: network and limit (1–50).
-
get_train_status
Look up a train by number and service date. Returns every run of that number on that date with each calling point: scheduled, expected and recorded times, platforms, cancellations and delays. Expected times only where the railway publishes them; up to 10 runs, never merged.
-
get_rail_punctuality
Look up arrival punctuality for one operator, station or route on Great Britain's national rail network only, summed over up to 90 settled days: calls, on time (under 5 minutes late), within 15 minutes and cancelled.
-
list_chokepoints
List every maritime chokepoint with a published daily ship count, furthest below normal first: status, recent traffic as a share of normal, and a link to its page.
-
get_chokepoint_status
Look up one chokepoint by slug, such as suez. Returns its recent daily ship count against normal, how many weeks it has been below normal, the latest weekly totals and daily counts, and a link to its page; with days, every published daily count of that window too.
-
list_ports
List every port whose own list of vessel arrivals and departures this site reads, by UN/LOCODE, with whether that list is current. Only these ports have a board and vessel port calls.
-
get_port_board
Look up one local day of a port's own movement list by UN/LOCODE, such as SEGOT: every vessel arrival and departure as the port lists it, and what a recorded arrival means there (port entry or berthing). Pages of up to 200; call again with next_cursor for the rest.
-
get_vessel_port_calls
Look up a vessel's calls by IMO number at the ports this site reads, newest first, over up to 365 days. No vessel positions; calls at other ports are absent. Pages of up to 100; call again with next_cursor for the rest.
Trading happens on the website
API and MCP access is read-only. Trades and withdrawals happen only on the website, by a person. Each API key is limited to 1 request per second, and access without a key to 30 requests a minute per address.
Connect a client
- For markets and flight, airport, station and chokepoint status, add https://gaduin.com/mcp to your client; no key is needed. For your positions and balance, sign up and verify your account.
- Create an API key in your account settings.
- Paste the snippet below into your MCP client and replace the key with yours.
Endpoint
https://gaduin.com/mcp
Authorization
Bearer YOUR_API_KEY
Claude Desktop config
{
"mcpServers": {
"gaduin": {
"url": "https://gaduin.com/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
Paste into ~/Library/Application Support/Claude/claude_desktop_config.json on macOS, swap in your API key, then restart Claude.
Endpoint reference
To connect directly, use the MCP endpoint or the read-only REST API below. The REST API takes your API key as a token; the MCP endpoint needs it only for positions and balance. Both return the same markets and prices as the site.
MCP endpoint
https://gaduin.com/mcp
REST read API (base URL)
https://gaduin.com/api/v1
-
GET /marketsList markets in all statuses. Filter by category (FLIGHT, TRAIN, SHIP) and status, and page through results with limit and offset.
-
GET /markets/{id}Fetch a single market by id, including its settlement rule and evidence.
-
GET /markets/{id}/activityRecent trades for a market, newest first.
-
GET /markets/{id}/price-historyHistorical price snapshots for a market.
-
GET /markets/configMinimum and maximum trade amounts.
Transport data as a REST API
The same flight, airport, rail and shipping data is sold as a keyed REST API on RapidAPI, with a free plan to try it. It is separate from the MCP endpoint and from your GADUIN account.
-
Flight status by number, on-time history, departures on record at an airport, airline punctuality and airport disruption readings.
-
Departures and arrivals at a station, with live times where the railway publishes them.
-
Daily ship counts through 28 straits and canals against each one's normal level.
Machine-readable discovery
Everything above is also described in standard documents at the site root, so MCP and OpenAPI clients can find the markets, the API and how to authenticate on their own.
-
/.well-known/mcp/server-card.jsonMCP Server Card (SEP-1649): the MCP endpoint, its transport and how to authenticate.
-
/.well-known/openapi.jsonOpenAPI 3.1 description of the read-only REST API, including how to authenticate.
-
/.well-known/api-catalogAPI Catalog (RFC 9727): links to every machine-readable document.
-
/.well-known/oauth-protected-resourceOAuth 2.0 Protected Resource Metadata (RFC 9728): which issuer to ask for access and the scopes it can grant.
-
/.well-known/oauth-authorization-serverOAuth 2.0 Authorization Server Metadata (RFC 8414): the issuer and how an API key is exchanged for short-lived access.
-
/.well-known/agent-skills/index.jsonAgent Skills index: SKILL.md guides for working with GADUIN, each pinned to an exact version.
-
/api/mdMarkdown rendering of any public page, via content negotiation (send Accept: text/markdown).
-
/auth.mdGuide to authenticating and creating a read-only API key.