Chess FEN MCP Server
Validate and visualize chess positions using FEN notation.
Chess FEN MCP Server
A Model Context Protocol (MCP) server that provides chess FEN notation validation and visualization capabilities.
Features
- Convert FEN (Forsyth-Edwards Notation) strings to ASCII chess board visualizations
- Easy integration with MCP-compatible AI assistants allowing them to validate their generated FEN strings
- Installable via npx
Installation
npx chess-fen-mcp
Or install globally:
npm install -g chess-fen-mcp
Usage
As MCP Server
Add to your MCP client configuration (Claude Desktop, etc.):
{
"mcpServers": {
"chess-fen": {
"command": "npx",
"args": ["chess-fen-mcp"]
}
}
}
If installed globally, you can also use:
{
"mcpServers": {
"chess-fen": {
"command": "chess-fen-mcp"
}
}
}
Available Tools
visualize_fen
Converts a FEN string to an ASCII chess board visualization.
Parameters:
fen_string(string, required): FEN notation string
Example Input:
fen_string: "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"
Example Output:
Fen {
rows: 8,
columns: 8,
board: [
a b c d e f g h
8 ♜ ♞ ♝ ♛ ♚ ♝ ♞ ♜ 8
7 ♟ ♟ ♟ ♟ ♟ ♟ ♟ ♟ 7
6 . . . . . . . . 6
5 . . . . . . . . 5
4 . . . . . . . . 4
3 . . . . . . . . 3
2 ♙ ♙ ♙ ♙ ♙ ♙ ♙ ♙ 2
1 ♖ ♘ ♗ ♕ ♔ ♗ ♘ ♖ 1
a b c d e f g h
],
toMove: 'white',
castlingRights: {
white: { queenside: true, kingside: true },
black: { queenside: true, kingside: true }
},
enPassantSquare: '-',
halfMoves: 0,
fullMoves: 1
}
Development
git clone
cd chess-fen-mcp
npm install
npm run dev
License
MIT
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
DocGen MCP Server
Automated documentation generator from source files on Google Drive and GitHub.
Unity3d Game Engine
MCP Server to control and interact with Unity3d Game Engine for game development
MCP Demo Server
A reference implementation of a Model Context Protocol (MCP) server with example tools, prompts, and resources.
MCP Server Automation CLI
A command-line tool to automate the deployment of MCP servers to AWS ECS.
BlenderMCP
Connects Blender to Claude AI via the Model Context Protocol (MCP), enabling direct interaction and control for prompt-assisted 3D modeling, scene creation, and manipulation.
Hashkey MCP Server
Provides onchain tools for AI applications to interact with the Hashkey Network.
MCP Code Sandbox Server
Execute code securely in isolated sandbox environments using the E2B API.
Flame MCP Server
Provides live, up-to-date documentation for the Flame game engine.
Nuanced MCP Server
Provides call graph analysis for LLMs using the nuanced library.
HAL (HTTP API Layer)
An MCP server that enables Large Language Models to make HTTP requests and interact with web APIs. It supports automatic tool generation from OpenAPI/Swagger specifications.