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
MCP Front
An OAuth 2.1 proxy for MCP servers that enables single sign-on with Google, domain validation, and per-user tokens.
DevCycle
Turn your favourite AI tool into a feature management assistant. DevCycle's MCP works with your favourite coding assistant so you can create and monitor feature flags using natural language right in your workflow.
NSAF MCP Server
An MCP server for the Neuro-Symbolic Autonomy Framework (NSAF), enabling AI assistants to interact with the framework.
Starwind UI
Provides tools to help developers work with Starwind UI components.
MCP LSP Go
An MCP server that connects AI assistants to Go's Language Server Protocol (LSP) for advanced code analysis.
Calva Backseat Driver
An MCP server for the Calva VS Code extension, allowing AI assistants to interact with a live Clojure REPL.
MCP Crypto Wallet EVM
Perform EVM crypto wallet operations using ethers.js v5. Supports a private key environment variable for wallet operations.
Terragrunt-Docs
Terragrunt documentation always up to date.
Kirha MCP Gateway
An MCP server that provides seamless access to Kirha AI tools.
Ghibli Video
Generates AI images and videos using the GPT4O Image Generator API.