Lichess · Capability

Lichess API — Tablebase

Lichess API — Tablebase. 3 operations. Lead operation: Tablebase lookup. Self-contained Naftiko capability covering one Lichess business surface.

Lichess API — Tablebase is a Naftiko capability published by Lichess, one of 23 capabilities the APIs.io network indexes for this provider. It bundles 3 operations across the GET method.

The capability includes 3 read-only operations. Lead operation: Tablebase lookup. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Lichess and Tablebase.

Run with Naftiko LichessTablebase

What You Can Do

GET
Tablebasestandard — Tablebase lookup
/v1/standard
GET
Tablebaseatomic — Tablebase lookup for Atomic chess
/v1/atomic
GET
Antichessatomic — Tablebase lookup for Antichess
/v1/antichess

MCP Tools

lichess-tablebasestandard

Tablebase lookup

read-only
lichess-tablebaseatomic

Tablebase lookup for Atomic chess

read-only
lichess-antichessatomic

Tablebase lookup for Antichess

read-only

Capability Spec

tablebase.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Lichess API — Tablebase
  description: 'Lichess API — Tablebase. 3 operations. Lead operation: Tablebase lookup. Self-contained Naftiko capability covering one Lichess business surface.'
  tags:
  - Lichess
  - Tablebase
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    LICHESS_API_TOKEN: LICHESS_API_TOKEN
capability:
  consumes:
  - type: http
    namespace: tablebase
    baseUri: https://lichess.org
    description: Lichess Tablebase business capability. Self-contained, no shared references.
    resources:
    - name: standard
      path: /standard
      operations:
      - name: tablebasestandard
        method: GET
        description: 'Tablebase lookup'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fen
          in: query
          type: string
          required: false
        - name: dtc
          in: query
          type: string
          required: false
    - name: atomic
      path: /atomic
      operations:
      - name: tablebaseatomic
        method: GET
        description: 'Tablebase lookup for Atomic chess'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fen
          in: query
          type: string
          required: false
    - name: antichess
      path: /antichess
      operations:
      - name: antichessatomic
        method: GET
        description: 'Tablebase lookup for Antichess'
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: fen
          in: query
          type: string
          required: false
    authentication:
      type: bearer
      value: '{{env.LICHESS_API_TOKEN}}'
      placement: header
  exposes:
  - type: rest
    namespace: tablebase-rest
    port: 8080
    description: REST adapter for Lichess Tablebase. One Spectral-compliant resource per consumed operation.
    resources:
    - path: /v1/standard
      name: standard
      description: REST surface for standard.
      operations:
      - method: GET
        name: tablebasestandard
        description: 'Tablebase lookup'
        call: tablebase.tablebasestandard
        with:
          fen: rest.query.fen
          dtc: rest.query.dtc
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/atomic
      name: atomic
      description: REST surface for atomic.
      operations:
      - method: GET
        name: tablebaseatomic
        description: 'Tablebase lookup for Atomic chess'
        call: tablebase.tablebaseatomic
        with:
          fen: rest.query.fen
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/antichess
      name: antichess
      description: REST surface for antichess.
      operations:
      - method: GET
        name: antichessatomic
        description: 'Tablebase lookup for Antichess'
        call: tablebase.antichessatomic
        with:
          fen: rest.query.fen
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: tablebase-mcp
    port: 9090
    transport: http
    description: MCP adapter for Lichess Tablebase. One tool per consumed operation.
    tools:
    - name: lichess-tablebasestandard
      description: 'Tablebase lookup'
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: tablebase.tablebasestandard
      with:
        fen: tools.fen
        dtc: tools.dtc
      outputParameters:
      - type: object
        mapping: $.
    - name: lichess-tablebaseatomic
      description: 'Tablebase lookup for Atomic chess'
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: tablebase.tablebaseatomic
      with:
        fen: tools.fen
      outputParameters:
      - type: object
        mapping: $.
    - name: lichess-antichessatomic
      description: 'Tablebase lookup for Antichess'
      hints:
        readOnly: true
        destructive: false
        idempotent: false
      call: tablebase.antichessatomic
      with:
        fen: tools.fen
      outputParameters:
      - type: object
        mapping: $.