Search by

vielhuber / chessmcp

vielhuber

Minimal PHP helper and MCP server for the official Chess API.

Package info

github.com/vielhuber/chessmcp

pkg:composer/vielhuber/chessmcp

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.2.0 2026-11-03 12:58 UTC

This package is auto-updated.

Last update: 2026-11-03 13:01:13 UTC


README

php

composer require vielhuber/chessmcp
use vielhuber\chessmcp\chessmcp;

$chess = new chessmcp();
$chess->profile(username: 'hikaru');
$chess->stats(username: 'hikaru');
$chess->games(username: 'hikaru');
$chess->archives(username: 'hikaru');
$chess->monthlyGames(username: 'hikaru', year: 2026, month: 10);
$chess->gamesPgn(username: 'hikaru', year: 2026, month: 10);
$chess->recentGames('hikaru', limit: 10);

read-only; no authentication.

mcp

{
    "mcpServers": {
        "chess": {
            "command": "php",
            "args": ["/absolute/path/to/vendor/bin/mcp-server.php"]
        }
    }
}

stdio is private. http requires https and MCP_TOKEN.

api documentation