Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
Your own AI agent, running 24/7 with QwikClaw logoYour own AI agent, running 24/7 with QwikClaw

QwikClaw sets up and runs an always-on OpenClaw agent for you. One click, no config files, no server setup.

Deploy now
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 47,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Enables querying Chess.com player profiles and stats using the Chess.com API.

README.md

Setting Up MCP server

This is for windows setup . You need python and uv installed on machine.If uv not installed then install using


Make a ```demo``` folder in windows

mkdir demo cd demo ``` Initialized virtual environment

demo>uv init
demo>uv venv
demo>.venv\Scripts\activate
(demo) c:\demo>uv add mcp[cli] requests

open the folder in code `` `bash (demo) demo>code . ``

Add Folder src and chess

With in VS code , click on folder icon and add folder named `` src` Inside the src folder add another folder named ` chess``

Add File __init__.py

Add empty file inside chess folder ``__init__.py``

Add chess_api.py

Add file named ``chess_api.py`` inside chess folder and add below code

import requests

CHESS_API_BASE = "https://api.chess.com/pub"
headers = {
    "accept": "application/json",
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) Python/3.10"
}

def get_player_profile(username):
    url = f"{CHESS_API_BASE}/player/{username}"
    response = requests.get(url, headers=headers)
    response.raise_for_status()
    return response.json()

def get_player_stats(username):
    url = f"{CHESS_API_BASE}/player/{username}/stats"
    response = requests.get(url, headers=headers)
    response.raise_for_status()
    return response.json()

Add file server.py

Add another file named ``server.py`` inside chess folder and add below code

from mcp.server.fastmcp import FastMCP
mcp =  FastMCP("chess.com")

from .chess_api import get_player_profile, get_player_stats

@mcp.tool()
def get_chess_player_profile(username: str):
    """Get the public profile for a Chess.com player by username."""
    return get_player_profile(username)

@mcp.tool()
def get_chess_player_stats(username: str):
    """Get the stats for a Chess.com player by username."""
    return get_player_stats(username)

def main():
    mcp.run(transport="stdio")

if __name__ == "__main__":
    main()

Update the pyproject.toml file

The ``chess.server:main` indicates there is `chess` folder inside `src` and call main method in file `server.py` ``toml

[project.scripts] chess = "chess.server:main"

[build-system] requires = ["setuptools"] build-backend = "setuptools.build_meta"

[tool.setuptools] package-dir = {"" = "src"}

[tool.setuptools.packages.find] where = ["src"] ```

Run with MCP

demo>uv run chess

Note the command ``chess` match `[project.scripts]``

There will be no output , if you get any syntax errors it will show. Just exit out of server console using ``Ctrl+C``

Install Claude Desktop from official website

Add configuration file for Claude

Go to the folder ``C:\Users\{yourname}\AppData\Roaming`. Or In run command type `%APPDATA%` .Verify that the folder contains a subfolder named `Claude``.

create a new file name ``claude_desktop_config.json``

add following contents into it . Update the driectory path based on your computer eg ``C:\\temp\\AI\\MCP_ORL3\\demo``


{
  "mcpServers": {
    "kannan-server": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\temp\\AI\\MCP_ORL3\\demo",
        "run",
        "chess"
      ]
    }
  }
}

Restart Claude Desktop ,start a new chat

Look for icon SearchAndTools below prompt textbox

You will be able to see the mcp server agent named ``kannan-server`` ,based on the name you provided in the configuration file.

Note to disable websearch. Now you can start searching for profile info and stats for Chess.com players using the commands you defined.

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Files & Docs servers.