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
Union - Unity MCP Server
An MCP server for managing and interacting with Unity projects.
Chromium Helper
Access Chromium and PDFium source code repositories using Google's official CodeSearch APIs, supporting advanced search, Gerrit integration, and issue tracking.
ProjectFlow
A workflow management system for AI-assisted development with MCP support, featuring flexible storage via file system or PostgreSQL.
Chrome Debug MCP Server
Control Chrome with debugging capabilities, userscript injection, and extension support.
BaseCreative MCP
A template for deploying a remote MCP server on Cloudflare Workers without authentication.
AgentOps MCP
An MCP server for AgentOps, providing observability and evaluation tools for AI agents.
Toolkit MCP Server
Provides system utilities and tools like IP geolocation, network diagnostics, system monitoring, crypto operations, and QR code generation.
CAD-Query MCP Server
A server for generating and verifying CAD models using the CAD-Query Python library.
Cloudflare MCP Server Example
A template for deploying a remote MCP server on Cloudflare Workers without authentication.
MCP Playground
A demonstration MCP server implementation in Go featuring real-time bidirectional file communication.