vielhuber / chessmcp
Minimal PHP helper and MCP server for the official Chess API.
v0.2.0
2026-11-03 12:58 UTC
Requires
- php: ^8.5
- ext-curl: *
- ext-json: *
- vielhuber/simplemcp: ^1.1.7
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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.