Race Calendar MCP API

The Mcp API from Race Calendar — 3 operation(s) for mcp.

GitHub OpenAPI

Operations 3

GET /api/v2/mcp/history/search Search Formula 1 history #
GET /api/v2/mcp/updates List recent Formula 1 data updates #
GET /api/v2/mcp/comparisons Compare two Formula 1 competitors #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/racecalendar-app:racecalendar-app-mcp-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

racecalendar-app-mcp-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: 'Anonymous read-only Formula 1 schedules, standings, classifications, circuits, history, comparisons, updates, and spoiler-safe previews. All documented operations are synchronous GET requests under the versioned `/api/v2` path.


    ## Versioning

    This API uses URL path versioning at `/api/v2` and sends `API-Version: 2` on every `/api/v2` response. There is no published `/api/v1` surface. Breaking changes ship under a new path prefix such as `/api/v3` and a new `API-Version` value. Additive, backward-compatible fields may appear on `/api/v2` without a new prefix.

    The same GET/HEAD paths are also available on https://racecalendar.app/api/v2 through a transport-transparent website proxy.


    ## Deprecation

    When an operation is deprecated it remains on `/api/v2` until sunset. Deprecated operations send `Deprecation: true` and a `Sunset` HTTP-date. Clients should migrate before the Sunset date. No operations are deprecated at this document version.


    ## Errors

    4xx and 5xx responses use a typed JSON problem body that keeps the iOS-decoded fields `ok: false` and `error: string`, plus RFC 9457 members `type`, `title`, `status`, and a stable `code`. `type` is `https://api.racecalendar.app/problems/`. Bodies are served as `application/json` so existing Swift `JSONDecoder` clients keep working; the shape is problem-details compatible.


    ## Rate limits

    Every `/api/v2` response includes IETF `RateLimit` and `RateLimit-Policy` headers. Public calendar GET uses an informational ceiling of 1,000,000 requests per hour and does **not** currently return 429, so iOS season/track clients are not newly rate-limited. MCP cache-miss queries under `/api/v2/mcp/*` may return 429 with `Retry-After: 60`. Identity and referral routes keep their existing D1 budgets and now also emit RateLimit headers.


    Developer portal: https://racecalendar.app/developers'
  title: Race Calendar Formula 1 MCP API
  version: 2.0.0
servers:
- description: Production API host
  url: https://api.racecalendar.app
- description: Canonical website GET/HEAD proxy
  url: https://racecalendar.app
tags:
- name: MCP
paths:
  /api/v2/mcp/history/search:
    get:
      operationId: searchF1History
      summary: Search Formula 1 history
      description: Bounded prefix/substring search over historical drivers, teams, circuits, and races from the F1DB web dataset. Cache hits skip the miss limiter; cache misses share a route-family budget and may return 429 with Retry-After.
      parameters:
      - schema:
          type: string
          maxLength: 1000
          description: Opaque pagination cursor from a previous response.
        required: false
        description: Opaque pagination cursor from a previous response.
        name: cursor
        in: query
      - schema:
          type: string
          pattern: ^\d+$/u
          description: Maximum number of matches to return.
        required: false
        description: Maximum number of matches to return.
        name: limit
        in: query
      - schema:
          type: string
          minLength: 2
          maxLength: 80
          description: Search query of at least two characters.
        required: true
        description: Search query of at least two characters.
        name: q
        in: query
      - schema:
          type: string
          maxLength: 100
          description: Optional comma-separated list of driver, team, circuit, or race.
        required: false
        description: Optional comma-separated list of driver, team, circuit, or race.
        name: types
        in: query
      responses:
        '200':
          description: Bounded search over historical drivers, teams, circuits, and races
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpHistorySearchPayload'
        '400':
          description: 'Invalid request. Keeps `ok: false` and `error` for existing JSON clients.'
          headers:
            RateLimit:
              description: IETF RateLimit remaining quota. MCP cache-miss 429s use `"mcp-miss";r=0;t=60`.
              schema:
                example: '"mcp-miss";r=0;t=60'
                type: string
            RateLimit-Policy:
              description: IETF RateLimit-Policy. MCP cache-miss denials use `"mcp-miss";q=120;w=60`.
              schema:
                example: '"mcp-miss";q=120;w=60'
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: MCP data query rate limit exceeded after a cache miss. Includes Retry-After and RateLimit headers.
          headers:
            RateLimit:
              description: IETF RateLimit remaining quota. MCP cache-miss 429s use `"mcp-miss";r=0;t=60`.
              schema:
                example: '"mcp-miss";r=0;t=60'
                type: string
            RateLimit-Policy:
              description: IETF RateLimit-Policy. MCP cache-miss denials use `"mcp-miss";q=120;w=60`.
              schema:
                example: '"mcp-miss";q=120;w=60'
                type: string
            Retry-After:
              description: Seconds to wait before retrying a denied MCP cache-miss query.
              schema:
                example: 60
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: 'Feature query failed. Keeps `ok: false` and `error` for existing JSON clients.'
          headers:
            RateLimit:
              description: IETF RateLimit remaining quota. MCP cache-miss 429s use `"mcp-miss";r=0;t=60`.
              schema:
                example: '"mcp-miss";r=0;t=60'
                type: string
            RateLimit-Policy:
              description: IETF RateLimit-Policy. MCP cache-miss denials use `"mcp-miss";q=120;w=60`.
              schema:
                example: '"mcp-miss";q=120;w=60'
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - MCP
  /api/v2/mcp/updates:
    get:
      operationId: listF1Updates
      summary: List recent Formula 1 data updates
      description: Lists recent public schedule, standings, and classification snapshot updates. Cache hits skip the miss limiter; cache misses share a route-family budget and may return 429 with Retry-After.
      parameters:
      - schema:
          type: string
          maxLength: 1000
          description: Opaque pagination cursor from a previous response.
        required: false
        description: Opaque pagination cursor from a previous response.
        name: cursor
        in: query
      - schema:
          type: string
          pattern: ^\d+$/u
          description: Maximum number of update items to return.
        required: false
        description: Maximum number of update items to return.
        name: limit
        in: query
      - schema:
          type: string
          maxLength: 100
          description: Optional ISO-8601 timestamp; only return updates after this time.
        required: false
        description: Optional ISO-8601 timestamp; only return updates after this time.
        name: since
        in: query
      responses:
        '200':
          description: Recent public schedule, standings, and classification snapshot updates
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpUpdatesPayload'
        '400':
          description: 'Invalid request. Keeps `ok: false` and `error` for existing JSON clients.'
          headers:
            RateLimit:
              description: IETF RateLimit remaining quota. MCP cache-miss 429s use `"mcp-miss";r=0;t=60`.
              schema:
                example: '"mcp-miss";r=0;t=60'
                type: string
            RateLimit-Policy:
              description: IETF RateLimit-Policy. MCP cache-miss denials use `"mcp-miss";q=120;w=60`.
              schema:
                example: '"mcp-miss";q=120;w=60'
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: MCP data query rate limit exceeded after a cache miss. Includes Retry-After and RateLimit headers.
          headers:
            RateLimit:
              description: IETF RateLimit remaining quota. MCP cache-miss 429s use `"mcp-miss";r=0;t=60`.
              schema:
                example: '"mcp-miss";r=0;t=60'
                type: string
            RateLimit-Policy:
              description: IETF RateLimit-Policy. MCP cache-miss denials use `"mcp-miss";q=120;w=60`.
              schema:
                example: '"mcp-miss";q=120;w=60'
                type: string
            Retry-After:
              description: Seconds to wait before retrying a denied MCP cache-miss query.
              schema:
                example: 60
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: 'Feature query failed. Keeps `ok: false` and `error` for existing JSON clients.'
          headers:
            RateLimit:
              description: IETF RateLimit remaining quota. MCP cache-miss 429s use `"mcp-miss";r=0;t=60`.
              schema:
                example: '"mcp-miss";r=0;t=60'
                type: string
            RateLimit-Policy:
              description: IETF RateLimit-Policy. MCP cache-miss denials use `"mcp-miss";q=120;w=60`.
              schema:
                example: '"mcp-miss";q=120;w=60'
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - MCP
  /api/v2/mcp/comparisons:
    get:
      operationId: compareF1Competitors
      summary: Compare two Formula 1 competitors
      description: Compares two drivers or constructors in one season using sourced championship data. Cache hits skip the miss limiter; cache misses share a route-family budget and may return 429 with Retry-After.
      parameters:
      - schema:
          type: string
          enum:
          - driver
          - constructor
          description: Whether left and right identify drivers or constructors.
        required: true
        description: Whether left and right identify drivers or constructors.
        name: kind
        in: query
      - schema:
          type: string
          minLength: 1
          maxLength: 100
          description: Left competitor id or name.
        required: true
        description: Left competitor id or name.
        name: left
        in: query
      - schema:
          type: string
          minLength: 1
          maxLength: 100
          description: Right competitor id or name.
        required: true
        description: Right competitor id or name.
        name: right
        in: query
      - schema:
          type: string
          pattern: ^\d{4}$/u
          description: Four-digit championship year for the comparison.
        required: true
        description: Four-digit championship year for the comparison.
        name: year
        in: query
      responses:
        '200':
          description: Sourced comparison of two drivers or constructors in one season
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpCompetitorComparisonPayload'
        '400':
          description: 'Invalid request. Keeps `ok: false` and `error` for existing JSON clients.'
          headers:
            RateLimit:
              description: IETF RateLimit remaining quota. MCP cache-miss 429s use `"mcp-miss";r=0;t=60`.
              schema:
                example: '"mcp-miss";r=0;t=60'
                type: string
            RateLimit-Policy:
              description: IETF RateLimit-Policy. MCP cache-miss denials use `"mcp-miss";q=120;w=60`.
              schema:
                example: '"mcp-miss";q=120;w=60'
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: MCP data query rate limit exceeded after a cache miss. Includes Retry-After and RateLimit headers.
          headers:
            RateLimit:
              description: IETF RateLimit remaining quota. MCP cache-miss 429s use `"mcp-miss";r=0;t=60`.
              schema:
                example: '"mcp-miss";r=0;t=60'
                type: string
            RateLimit-Policy:
              description: IETF RateLimit-Policy. MCP cache-miss denials use `"mcp-miss";q=120;w=60`.
              schema:
                example: '"mcp-miss";q=120;w=60'
                type: string
            Retry-After:
              description: Seconds to wait before retrying a denied MCP cache-miss query.
              schema:
                example: 60
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: 'Feature query failed. Keeps `ok: false` and `error` for existing JSON clients.'
          headers:
            RateLimit:
              description: IETF RateLimit remaining quota. MCP cache-miss 429s use `"mcp-miss";r=0;t=60`.
              schema:
                example: '"mcp-miss";r=0;t=60'
                type: string
            RateLimit-Policy:
              description: IETF RateLimit-Policy. MCP cache-miss denials use `"mcp-miss";q=120;w=60`.
              schema:
                example: '"mcp-miss";q=120;w=60'
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - MCP
components:
  schemas:
    McpUpdateItem:
      type: object
      properties:
        id:
          type: string
        kind:
          type: string
          enum:
          - result
          - schedule
          - standings
        meetingKey:
          type:
          - number
          - 'null'
        modifiedAt:
          type: string
        sessionKey:
          type:
          - number
          - 'null'
        sourceLabel:
          type: string
        sourceUrl:
          type: string
          format: uri
        summary:
          type: string
        title:
          type: string
        url:
          type: string
          format: uri
        year:
          type: integer
      required:
      - id
      - kind
      - meetingKey
      - modifiedAt
      - sessionKey
      - sourceLabel
      - sourceUrl
      - summary
      - title
      - url
      - year
    McpCompetitorSummary:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        nationality:
          type:
          - string
          - 'null'
        points:
          type: number
        position:
          type: integer
        teams:
          type: array
          items:
            type: string
        wins:
          type:
          - number
          - 'null'
      required:
      - id
      - name
      - nationality
      - points
      - position
      - teams
      - wins
    McpUpdatesPayload:
      type: object
      properties:
        generatedAt:
          type: string
        items:
          type: array
          items:
            $ref: '#/components/schemas/McpUpdateItem'
          maxItems: 50
        nextCursor:
          type:
          - string
          - 'null'
        since:
          type:
          - string
          - 'null'
      required:
      - generatedAt
      - items
      - nextCursor
      - since
    McpCompetitorComparisonPayload:
      type: object
      properties:
        comparison:
          type: object
          properties:
            pointsDifference:
              type: number
            positionAdvantage:
              type: number
            winsDifference:
              type:
              - number
              - 'null'
          required:
          - pointsDifference
          - positionAdvantage
          - winsDifference
        generatedAt:
          type: string
        kind:
          type: string
          enum:
          - driver
          - constructor
        leader:
          type: string
          enum:
          - left
          - right
          - tie
        left:
          $ref: '#/components/schemas/McpCompetitorSummary'
        methodology:
          type: string
        right:
          $ref: '#/components/schemas/McpCompetitorSummary'
        source:
          type: object
          properties:
            label:
              type: string
            updatedAt:
              type: string
            url:
              type: string
              format: uri
          required:
          - label
          - updatedAt
          - url
        year:
          type: integer
      required:
      - comparison
      - generatedAt
      - kind
      - leader
      - left
      - methodology
      - right
      - source
      - year
    ErrorResponse:
      type: object
      properties:
        code:
          type: string
          description: Stable machine-readable code such as bad_request, not_found, or rate_limited.
          example: not_found
        error:
          type: string
          description: Human-readable detail. Existing iOS clients decode this string field and ignore unknown keys.
          example: Season data not available.
        ok:
          type: boolean
          enum:
          - false
          description: Always false on error responses. Existing iOS clients decode this field.
        status:
          type: integer
          description: HTTP status copied into the RFC 9457 problem body.
          example: 404
        title:
          type: string
          description: Short RFC 9457 title for the problem class.
          example: Not Found
        type:
          type: string
          format: uri
          description: RFC 9457 type URI of the form https://api.racecalendar.app/problems/<code>. Responses use application/json so iOS JSONDecoder keeps working; the body remains problem-details compatible.
          example: https://api.racecalendar.app/problems/not_found
      required:
      - code
      - error
      - ok
      - status
      - type
    McpHistorySearchItem:
      type: object
      properties:
        bestChampionshipPosition:
          type:
          - integer
          - 'null'
          exclusiveMinimum: 0
        firstYear:
          type: integer
        id:
          type: string
        label:
          type: string
        lastYear:
          type: integer
        match:
          type: string
          enum:
          - exact
          - prefix
          - substring
        metadata:
          type: string
        sourceUrl:
          type: string
          format: uri
        type:
          type: string
          enum:
          - driver
          - team
          - circuit
          - race
        url:
          type: string
          format: uri
      required:
      - bestChampionshipPosition
      - firstYear
      - id
      - label
      - lastYear
      - match
      - metadata
      - sourceUrl
      - type
      - url
    McpHistorySearchPayload:
      type: object
      properties:
        generatedAt:
          type: string
        items:
          type: array
          items:
            $ref: '#/components/schemas/McpHistorySearchItem'
          maxItems: 20
        nextCursor:
          type:
          - string
          - 'null'
        query:
          type: string
        sourceUpdatedAt:
          type:
          - string
          - 'null'
        types:
          type: array
          items:
            type: string
            enum:
            - driver
            - team
            - circuit
            - race
      required:
      - generatedAt
      - items
      - nextCursor
      - query
      - sourceUpdatedAt
      - types
externalDocs:
  description: Race Calendar developer portal
  url: https://racecalendar.app/developers