Chess.com MCP Server

io.github.udarrr由 GitHub 帳號 udarrr 發布v0.8.8更新於 Oct 25, 2026

MCP server for Chess.com player profiles, games, stats, puzzles, clubs, and tournaments

已驗證STDIO僅桌面位置與生活資料與分析

概覽

AI 產生的概覽

在本機執行的 MCP 伺服器,讓助理以唯讀方式存取 Chess.com 公開資料:棋手檔案、對局、統計、謎題、俱樂部和錦標賽。

可以做什麼
查詢棋手檔案、統計、線上狀態、有頭銜棋手和排行榜,並列出棋手的俱樂部、比賽和錦標賽。取得目前對局、即時對局、待走棋對局和每月對局,並可下載棋手的 PGN 對局。瀏覽俱樂部檔案、成員和對局,以及錦標賽輪次和小組。查看團隊比賽和即時團隊比賽棋盤。取得國家檔案及其棋手和俱樂部、每日或隨機謎題,以及實況主清單。以 chess:// 資源形式提供棋手、有頭銜棋手和俱樂部資料。
適用情境
適合讓助理回答關於 Chess.com 棋手、對局或戰績的問題,分析某位棋手近期的對局,或在對話中追蹤俱樂部、錦標賽和團隊比賽。
執行需求
透過 npx 從 npm 套件 chess-mcp-node 在本機執行,需要 Node.js 20.9 或更新版本。不需要身分驗證、API 金鑰或環境變數。需要能連線到 Chess.com 公開 API 的網路;選用設定包括 SSE 傳輸埠和 API 基礎位址覆寫。
安裝前請注意
所有工具只讀取 Chess.com 公開資料,所列工具不會變更帳戶內容。請求會送往 Chess.com 公開 API,因此你查詢的使用者名稱和內容會傳送給該第三方。選用的 SSE 傳輸會在本機連接埠監聽,不應對外公開。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Chess.com MCP Server,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

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:

bash
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:

json
{  "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:

json
{  "mcpServers": {    "chess": {      "command": "npx",      "args": ["-y", "chess-mcp-node@latest"]    }  }}

Run from source

Requirements: Node.js 20.9 or newer.

bash
npm cinpm run buildnpm start

The default source-run transport is stdio. To run the optional SSE transport:

bash
# macOS/LinuxMCP_TRANSPORT=sse npm start
powershell
# 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:

bash
npm testnpm run typecheck

Create a coverage report with:

bash
npm run test:coverage

Available tools

  • get_player_profile
  • get_titled_players
  • get_player_stats
  • is_player_online
  • get_player_current_games
  • get_player_games_to_move
  • get_player_game_archives
  • get_player_games_by_month
  • get_player_live_games
  • download_player_games_pgn
  • get_player_clubs
  • get_player_matches
  • get_player_tournaments
  • get_club_profile
  • get_club_members
  • get_club_matches
  • get_tournament
  • get_tournament_round
  • get_tournament_round_group
  • get_team_match
  • get_team_match_board
  • get_live_team_match
  • get_live_team_match_board
  • get_country_profile
  • get_country_players
  • get_country_clubs
  • get_daily_puzzle
  • get_random_puzzle
  • get_streamers
  • get_leaderboards

Available resources

  • chess://player/{username}
  • chess://player/{username}/stats
  • chess://player/{username}/games/current
  • chess://player/{username}/games/{year}/{month}
  • chess://player/{username}/games/{year}/{month}/pgn
  • chess://titled/{title}
  • chess://club/{url_id}

License

MIT

來源:README.md,提交 ff972bf

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.8.8最新Sep 22, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分