npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

chess-mcp-node

v0.8.8

Published

MCP server for Chess.com API integration

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:

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_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