Skip to main content
Glama

ChessGraph-MCP

Building a chess Agentic setup that bridges the gap between deterministic game-tree calculation and semantic coaching. Permit the agent to access on stockfish and additional graph knowledge to help it understand what moves are playable on differents positions.

System Architecture

  [Chess.com PGN Archives]        [Hugging Face Datasets (Parquet/CSV)]
     (1500+ ELO Games)              (ECO Openings & Endgame Theory)
             │                                     │
             └──────────────┬──────────────────────┘
                            ▼
                ┌───────────────────────┐
                │   ETL & Normalizer    │  (Python / Polars / python-chess)
                └───────────┬───────────┘
                            │
            ┌───────────────┴───────────────┐
            ▼                               ▼
┌───────────────────────┐       ┌───────────────────────┐
│      PostgreSQL       │       │         Neo4j         │
│  Game Telemetry & SQL │       │ Positional GraphRAG   │
│  • Game Type          │       │ • (:Position {fen})   │
│  • ELO & results      │       │ • [:PLAYED] edges     │
│  • ACPL / Blunder %   │       │ • [:THEORY] links     │
└───────────┬───────────┘       └───────────┬───────────┘
            │                               │
            └───────────────┬───────────────┘
                            ▼
                ┌───────────────────────┐       ┌───────────────────────┐
                │     Hermes-Agent      │◄─────►│  Stockfish MCP Server │
                │  Orchestration Layer  │  MCP  │  • MultiPV Eval       │
                │  (Cypher + SQL + MCP) │       │  • WDL Probabilities  │
                └───────────────────────┘       │  • Positional Motifs  │
                                                └───────────────────────┘

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables comprehensive chess analysis through Stockfish engine integration, positional evaluation, puzzle training, game review, and access to extensive chess databases. Provides visual board rendering, interactive game viewers, and tactical puzzle training with 3+ million problems from Lichess.
    34
    AGPL 3.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to perform professional-grade chess analysis using Stockfish and optionally Leela Chess Zero, including position analysis, full game review, opening lookup, and puzzle generation.
    11 npm
    2
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    MCP chess runtime that lets LLMs play, analyze, and adapt strength by exposing Stockfish, human move likelihood (Maia3), and Lichess statistics, with the LLM handling strategy and the server handling computation.
    13
    46 npm
    AGPL 3.0