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

@fazorboy/chess-mcp-server

v0.1.0

Published

MCP server for Chess.com — player profiles, ratings, game archives, leaderboards, clubs, puzzles

Readme

@fazorboy/chess-mcp-server

The core MCP server package that wraps the Chess.com Published Data API.

npm

Installation

npm install -g @fazorboy/chess-mcp-server

Or run directly:

npx @fazorboy/chess-mcp-server

Setup

VS Code / GitHub Copilot

Add the following to your VS Code settings.json (Cmd+Shift+P → "Preferences: Open User Settings (JSON)"):

{
  "mcp": {
    "servers": {
      "chess-mcp": {
        "type": "stdio",
        "command": "npx",
        "args": ["-y", "@fazorboy/chess-mcp-server"],
        "env": {
          "CHESS_MAX_GAMES": "50",
          "CHESS_TIMEOUT_MS": "15000"
        }
      }
    }
  }
}

Tip: Or install the Chess MCP VS Code Extension for zero-config setup.

Claude Desktop

Add the following to your Claude Desktop config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "chess-mcp": {
      "command": "npx",
      "args": ["-y", "@fazorboy/chess-mcp-server"],
      "env": {
        "CHESS_MAX_GAMES": "50",
        "CHESS_TIMEOUT_MS": "15000"
      }
    }
  }
}

Environment Variables

| Variable | Default | Description | |----------|---------|-------------| | CHESS_BASE_URL | https://api.chess.com | Chess.com API base URL | | CHESS_MAX_GAMES | 50 | Maximum games returned per query | | CHESS_TIMEOUT_MS | 15000 | Request timeout in milliseconds | | CHESS_USER_AGENT | Chess-MCP/0.1.0 | User-Agent header for API requests |

Tools Reference

gm_player_profile

Get a Chess.com player profile.

Input: { username: string }

gm_player_stats

Get player ratings and statistics across all game types.

Input: { username: string }

gm_player_games

Get recent games for a player.

Input: { username: string, year?: number, month?: number, limit?: number }

gm_game_details

Get details for a specific Chess.com game.

Input: { gameUrl: string }

gm_game_archives

List all available monthly game archives.

Input: { username: string }

gm_leaderboards

Get global Chess.com leaderboards.

Input: { category?: "daily" | "rapid" | "blitz" | "bullet" | "bughouse" | "chess960" | "tactics" }

gm_titled_players

List titled players by FIDE title.

Input: { title: "GM" | "WGM" | "IM" | "WIM" | "FM" | "WFM" | "NM" | "WNM" | "CM" | "WCM" }

gm_club_info

Get information about a Chess.com club.

Input: { clubId: string }

gm_club_members

List members of a Chess.com club.

Input: { clubId: string }

gm_player_tournaments

Get tournament history for a player.

Input: { username: string }

gm_compare_players

Compare two Chess.com players.

Input: { player1: string, player2: string }

gm_random_puzzle

Get the daily chess puzzle.

Input: (none)

API Mapping

| Tool | Chess.com API Endpoint | |------|----------------------| | gm_player_profile | GET /pub/player/{username} | | gm_player_stats | GET /pub/player/{username}/stats | | gm_player_games | GET /pub/player/{username}/games/{YYYY}/{MM} | | gm_game_archives | GET /pub/player/{username}/games/archives | | gm_leaderboards | GET /pub/leaderboards | | gm_titled_players | GET /pub/titled/{title} | | gm_club_info | GET /pub/club/{club-id} | | gm_club_members | GET /pub/club/{club-id}/members | | gm_player_tournaments | GET /pub/player/{username}/tournaments | | gm_random_puzzle | GET /pub/puzzle |

Example Prompts

  • "Show me Magnus Carlsen's chess profile"
  • "What are Hikaru's blitz stats in chess?"
  • "Compare MagnusCarlsen and Hikaru chess profiles"
  • "Show me today's chess puzzle"
  • "List the top blitz players in chess"

License

MIT