Chess.com MCP Server
MCP server for Chess.com player profiles, games, stats, puzzles, clubs, and tournaments
ماذا يمكنك أن تفعل مع Chess.com MCP Server؟
get_player_profileget_titled_playersget_player_statsis_player_onlineget_player_current_gamesget_player_games_to_moveget_player_game_archivesget_player_games_by_month
التثبيت
أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: .cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).
chess-mcp-nodeclaude mcp add chess-com-mcp-server -- npx -y chess-mcp-node@0.8.8
{
"mcpServers": {
"chess-com-mcp-server": {
"command": "npx",
"args": [
"-y",
"chess-mcp-node@0.8.8"
]
}
}
}
التوثيق
مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.
المحتويات
Chess.com MCP Server
A Model Context Protocol server written in TypeScript for Chess.com's public API. It exposes the complete documented Chess.com PubAPI through 30 tools and seven resources without authentication.
Install from npm
Requirements: Node.js 20.9 or newer.
Run the latest published package directly:
npx -y chess-mcp-node@latest
The default transport is stdio. The package is distributed through npm and can also be installed from the VS Code MCP gallery after its registry metadata is published.
For VS Code, create or open .vscode/mcp.json in your workspace:
{
"servers": {
"chess": {
"command": "npx",
"args": ["-y", "chess-mcp-node@latest"]
}
}
}
After publication, search for @mcp chess in VS Code and select Install to add the server from the MCP gallery.
For Claude Desktop, add the server to its MCP configuration:
{
"mcpServers": {
"chess": {
"command": "npx",
"args": ["-y", "chess-mcp-node@latest"]
}
}
}
Run from source
Requirements: Node.js 20.9 or newer.
npm ci
npm run build
npm start
The default source-run transport is stdio. To run the optional SSE transport:
# macOS/Linux
MCP_TRANSPORT=sse npm start
# Windows PowerShell
$env:MCP_TRANSPORT = "sse"
npm start
The SSE server listens on port 8000 by default and provides /sse, /messages, and /health. Set PORT and HOST to override those defaults.
Set CHESS_API_BASE_URL to override the Chess.com API base URL for development or testing.
Development
Run the test suite and type checker:
npm test
npm run typecheck
Create a coverage report with:
npm run test:coverage
Available tools
get_player_profileget_titled_playersget_player_statsis_player_onlineget_player_current_gamesget_player_games_to_moveget_player_game_archivesget_player_games_by_monthget_player_live_gamesdownload_player_games_pgnget_player_clubsget_player_matchesget_player_tournamentsget_club_profileget_club_membersget_club_matchesget_tournamentget_tournament_roundget_tournament_round_groupget_team_matchget_team_match_boardget_live_team_matchget_live_team_match_boardget_country_profileget_country_playersget_country_clubsget_daily_puzzleget_random_puzzleget_streamersget_leaderboards
Available resources
chess://player/{username}chess://player/{username}/statschess://player/{username}/games/currentchess://player/{username}/games/{year}/{month}chess://player/{username}/games/{year}/{month}/pgnchess://titled/{title}chess://club/{url_id}
License
MIT
الأسئلة الشائعة
ما هو Chess.com MCP Server؟
MCP server for Chess.com player profiles, games, stats, puzzles, clubs, and tournaments
كيف أثبّت Chess.com MCP Server؟
يعمل على جهازك. في Claude Code: claude mcp add chess-com-mcp-server -- npx -y chess-mcp-node@0.8.8. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.
هل يحتاج Chess.com MCP Server إلى مفتاح API؟
لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.
هل Chess.com MCP Server مفتوح المصدر؟
نعم. شيفرته متاحة على GitHub بترخيص MIT.
من يصون Chess.com MCP Server؟
ينشره udarrr. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.
من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.